Bug 465741 - unpredictable behavior of desktop layout and wallpaper (breeze dark) when switching between external and internal screens
Summary: unpredictable behavior of desktop layout and wallpaper (breeze dark) when swi...
Status: RESOLVED FIXED
Alias: None
Product: KScreen
Classification: Plasma
Component: common (other bugs)
Version First Reported In: 5.26.90
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-15 03:37 UTC by Andres Cimmarusti
Modified: 2023-02-21 18:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Breeze dark bottom panel in middle of the screen in external screen (388.13 KB, image/png)
2023-02-15 03:37 UTC, Andres Cimmarusti
Details
Breeze dark bottom panel missing when switching to laptop screen (430.89 KB, image/png)
2023-02-15 03:46 UTC, Andres Cimmarusti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andres Cimmarusti 2023-02-15 03:37:01 UTC
Created attachment 156253 [details]
Breeze dark bottom panel in middle of the screen in external screen

SUMMARY
The bottom panel of the breeze dark theme gets placed either in the middle of the screen or dissappears entirely when switching to external or from external to internal screens (while disabling the other).
The wallpaper placement is all wrong when I leave my external monitor plugged in and I reboot and log back into my system.


STEPS TO REPRODUCE
1. Plug in external 4k monitor
2. Select external monitor ONLY
3. Wrong desktop layout (not always)
OR
1. While using external monitor ONLY
2. Switch back to ONLY laptop screen (or unplug external monitor)
3. Bottom panel missing

OBSERVED RESULT
Bottom panel or bottom panel right hand side icons missing or misplaced completely

EXPECTED RESULT
Desktop layout should adapt to different screen

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.1.8 / X11
KDE Plasma Version: 5.25.90
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
The workaround that reliably fixes the problem is to "reload" the breeze dark theme in System Settings > Apperance
Comment 1 Andres Cimmarusti 2023-02-15 03:44:03 UTC
(sorry had a typo in the original report, version of plasma is 5.26.90)
This is the output  of kscreen-doctor, when external monitor is enabled ONLY.

$ kscreen-doctor -o
Output: 65 eDP-1 disabled connected priority 0 Panel Modes: 70:3200x1800@60! 71:3200x1800@60 72:3200x1800@60 73:3200x1800@48 74:2880x1620@60 75:2880x1620@60 76:2560x1600@60 77:2560x1600@60 78:2560x1440@60 79:2560x1440@60 80:2560x1440@60 81:2560x1440@60 82:2048x1536@60 83:1920x1440@60 84:1856x1392@60 85:1792x1344@60 86:2048x1152@60 87:2048x1152@60 88:2048x1152@60 89:2048x1152@60 90:1920x1200@60 91:1920x1200@60 92:1920x1080@60 93:1920x1080@60 94:1920x1080@60 95:1920x1080@60 96:1600x1200@60 97:1680x1050@60 98:1680x1050@60 99:1400x1050@60 100:1600x900@60 101:1600x900@60 102:1600x900@60 103:1600x900@60 104:1280x1024@60 105:1400x900@60 106:1400x900@60 107:1280x960@60 108:1440x810@60 109:1440x810@60 110:1368x768@60 111:1368x768@60 112:1280x800@60 113:1280x800@60 114:1280x800@60 115:1280x800@60 116:1280x720@60 117:1280x720@60 118:1280x720@60 119:1280x720@60 120:1024x768@60 121:1024x768@60 122:960x720@60 123:928x696@60 124:896x672@60 125:1024x576@60 126:1024x576@60 127:1024x576@60 128:1024x576@60 129:960x600@60 130:960x600@60 131:960x540@60 132:960x540@60 133:960x540@60 134:960x540@60 135:800x600@60 136:800x600@60 137:800x600@56 138:840x525@60 139:840x525@60 140:864x486@60 141:864x486@60 142:700x525@60 143:800x450@60 144:800x450@60 145:640x512@60 146:700x450@60 147:700x450@60 148:640x480@60 149:640x480@60 150:720x405@60 151:720x405@59 152:684x384@60 153:684x384@60 154:640x400@60 155:640x400@60 156:640x360@60 157:640x360@60 158:640x360@60 159:640x360@59 160:512x384@60 161:512x288@60 162:512x288@60 163:480x270@60 164:480x270@60 165:400x300@60 166:400x300@56 167:432x243@60 168:432x243@60 169:320x240@60 170:360x202@60 171:360x202@59 172:320x180@60 173:320x180@59 Geometry: 0,0 3200x1800 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 66 DP-1 enabled connected priority 1 DisplayPort Modes: 90:1920x1200@60 97:1680x1050@60 104:1280x1024@60 114:1280x800@60 121:1024x768@60 136:800x600@60 149:640x480@60 2104:3840x2160@60*! 2105:3840x2160@60 2106:3840x2160@60 2107:3840x2160@30 2108:3840x2160@30 2109:3840x2160@30 2110:1920x1080@60 2111:1920x1080@50 2112:1920x1080@60 2113:1920x1080@60 2114:1920x1080@50 2115:1920x1080@60 2116:1600x900@60 2117:1440x900@60 2118:1280x720@60 2119:1280x720@50 2120:1280x720@60 2121:720x576@50 2122:720x480@60 2123:720x480@60 2124:640x480@60 2125:720x400@70 Geometry: 0,0 3840x2160 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 67 HDMI-1 disabled disconnected priority 0 HDMI Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 68 HDMI-2 disabled disconnected priority 0 HDMI Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Comment 2 Andres Cimmarusti 2023-02-15 03:46:01 UTC
Created attachment 156254 [details]
Breeze dark bottom panel missing when switching to laptop screen
Comment 3 Andres Cimmarusti 2023-02-15 03:52:40 UTC
I guess I should also mention that I run any of these screens with 200% scaling (since support for different scaling for different screens in X11 is not easily set up in KDE plasma, nor any other open source desktop environment)
And I'm also using the environment variable: PLASMA_USE_QT_SCALING=1 (for my user account only: ~/.bash_profile)
Comment 4 Nate Graham 2023-02-16 23:08:21 UTC
Can you try Wayland? Does it happen there?
Comment 5 Andres Cimmarusti 2023-02-18 05:17:40 UTC
Finally had a chance to test this. The panel placement issue is not present when using wayland.
There are other little glitches there, but less important
Comment 6 Andres Cimmarusti 2023-02-18 05:18:50 UTC
(In reply to Nate Graham from comment #4)
> Can you try Wayland? Does it happen there?

Finally had a chance to test this. The panel placement issue is not present when using wayland.
There are other little glitches there, but less important. And as a boon, in Wayland, different scaling per monitor is supported!