https://bugs.kde.org/show_bug.cgi?id=510650
--- Comment #11 from Méven <[email protected]> --- And adding: std::optional<std::tuple<OutputConfiguration, QList<Output *>, OutputConfigurationStore::ConfigType>> OutputConfigurationStore::queryConfig(const QList<Output *> &outputs, bool isLidClosed, QOrientationReading *orientation, bool isTabletMode) { + if (isLidClosed) { + return std::nullopt; + } Solves my issue. It seems the kwinoutputconfig.json does not match my two screens setup with isLidClosed. I am guessing it is because of the generation step or kscreen. The setup that seems to be used is: { "lidClosed": true, "outputs": [ { "enabled": false, "outputIndex": 0, "position": { "x": 0, "y": 0 }, "priority": -1 }, { "enabled": true, "outputIndex": 5, "position": { "x": 1920, "y": 0 }, "priority": 0 }, { "enabled": false, "outputIndex": 4, "position": { "x": 4115, "y": 0 }, "priority": -1 } ] } The positions are off for some reason. Compared to the correct one: { "lidClosed": false, "outputs": [ { "enabled": false, "outputIndex": 0, "position": { "x": 0, "y": 0 }, "priority": -1 }, { "enabled": true, "outputIndex": 5, "position": { "x": 0, "y": 0 }, "priority": 0 }, { "enabled": true, "outputIndex": 4, "position": { "x": 2195, "y": 0 }, "priority": 1 } ] }, This is 4 and 5 outputs: { "allowDdcCi": true, "allowSdrSoftwareBrightness": true, "autoRotation": "InTabletMode", "brightness": 0.42, "colorPowerTradeoff": "PreferEfficiency", "colorProfileSource": "sRGB", "connectorName": "DP-6", "detectedDdcCi": false, "edidHash": "f3cdc9793f255fe073669fe4679f2330", "edidIdentifier": "DEL 53362 809059148 35 2016 0", "edrPolicy": "always", "highDynamicRange": false, "iccProfilePath": "", "maxBitsPerColor": 0, "mode": { "height": 1080, "refreshRate": 60000, "width": 1920 }, "mstPath": "-2\u0000", "overscan": 0, "rgbRange": "Automatic", "scale": 1, "sdrBrightness": 200, "sdrGamutWideness": 0, "transform": "Rotated270", "uuid": "7e59c927-2841-469d-82fa-24dbc89e4ef9", "vrrPolicy": "Never", "wideColorGamut": false }, { "allowDdcCi": true, "allowSdrSoftwareBrightness": true, "autoRotation": "InTabletMode", "brightness": 0.44, "colorPowerTradeoff": "PreferEfficiency", "colorProfileSource": "EDID", "connectorName": "DP-5", "detectedDdcCi": false, "edidHash": "6fa8612cf012e30cc46c75d1ce190271", "edidIdentifier": "DEL 41430 811161420 49 2021 0", "edrPolicy": "always", "highDynamicRange": false, "iccProfilePath": "", "maxBitsPerColor": 10, "mode": { "height": 2160, "refreshRate": 60000, "width": 3840 }, "mstPath": "-1\u0000", "overscan": 0, "rgbRange": "Automatic", "scale": 1.75, "sdrBrightness": 200, "sdrGamutWideness": 0, "uuid": "e82b174e-9dcc-4ab4-8db9-09ea74fee52a", "vrrPolicy": "Never", "wideColorGamut": false }, -- You are receiving this mail because: You are watching all bug changes.
