Bug 485199 - After upgrade to Debian12, a smaller lockscreen is shown above a larger one due to a second enabled powered-off display device
Summary: After upgrade to Debian12, a smaller lockscreen is shown above a larger one d...
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Screen locking (show other bugs)
Version: 6.2.4
Platform: Debian stable Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-07 19:37 UTC by myndstream
Modified: 2024-12-18 19:03 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description myndstream 2024-04-07 19:37:30 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
I could click on both password boxes to enter the password and login. The problem was solved by going to Display Configuration -> selecting the other monitor and disabling it. I will have to see whether the device always needs to be manually enabled after powered on or if it's enough to have it powered on only once when enabled.

STEPS TO REPRODUCE
1. A second display is configured but powered off (it was probably disabled at the time and the upgrade seems to have enabled the device)
2. Upgrade to Debian12/KDE from Deb11/KDE
3. Show the lockscreen by waking from standby or by Log Out

OBSERVED RESULT
One small lockscreen above the other.

EXPECTED RESULT
Only one lockscreen even if mutliple display device are connected

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-04-08 20:51:03 UTC
Are you using X11 or Wayland? Does it reproduce on both, or only one?

Can you attach a phone photo that shows what it looks like when this happens?
Comment 2 myndstream 2024-04-09 22:16:36 UTC
I think X11 because Wayland had these problems where it turned to gray which solved themselves now and I intended to use Wayland and do use it now. I think I can't reproduce it now because the problem disappeared once disabling the other display in the Display Configuration.

I can describe how it looked like: exactly the same lockscreen just smaller and in the left corner of the larger lockscreen without any borders. Entering the password or clicking something on one also does it on the other lockscreen. I tried reproducing it by enabling the other display again but the lockscreen is as it should be. I tried Wayland in Debian11 before with both screens before switching back to X11 after a while so maybe that created some configs that then caused problems,
Comment 3 Nate Graham 2024-04-11 15:20:41 UTC
So you're unable to reproduce the problem anymore?
Comment 4 myndstream 2024-04-11 16:10:20 UTC
Yes, I tried reenabling the powered-off second display and locking the screen as well as reenabling and resuming from Sleep (for the second try I had to move the mouse to make it enter the password in the password box). If it happens again, I'll comment here. I also mentioned this problem here https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068780
Comment 5 Nate Graham 2024-04-12 16:50:36 UTC
Ok, thanks!
Comment 6 myndstream 2024-04-17 15:12:14 UTC
Okay it's occurring again now. I enabled the second screen again and this time after waking from sleep there were two lockscreens again.

I think I tried resume from sleep with the other powered-off screen enabled before. Back then this didn't occur but it did occur now. Now I also tried locking the screen: it shows only one lockscreen. After resuming from sleep and moving the mouse in the larger lockscreen, the smaller lockscreen that showed in the upper corner on top of the bigger one disappears. I'm using Wayland now. I can also enter the password in the smaller lockscreen.

I had plasmashell running from the kstart5 plasmashell command in the konsole and this is the output in the console that could be useful:

> file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/PipeWireThumbnail.qml:11:1: module "org.kde.pipewire" is not installed
> Could not find the Plasmoid for Plasma::FrameSvgItem(0x55be4a604ee0) QQmlContext(0x55be4763e640) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
> Could not find the Plasmoid for Plasma::FrameSvgItem(0x55be4a604ee0) QQmlContext(0x55be4763e640) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
> qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
> qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
> Checking screens: available: (QScreen(0xid1, name="HDMI-A-1")) redundant: QHash((QScreen(0xid2, name="HDMI-A-2"), QScreen(0xid1, name="HDMI-A-1"))) fake: QSet() all: (QScreen(0xid1, name="HDMI-A-1"), QScreen(0xid2, name="HDMI-A-2"))
Initializing  "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
> file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:20: TypeError: Cannot read property 'pluginName' of null
> file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:75: TypeError: Cannot read property 'configuration' of null
> file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:78: TypeError: Cannot read property 'pluginName' of null
> file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:80: TypeError: Cannot read property 'configuration' of null
> file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:81: TypeError: Cannot read property 'configuration' of null
> file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:82: TypeError: Cannot read property 'configuration' of null
> file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:83: TypeError: Cannot read property 'configuration' of null
> file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:84: TypeError: Cannot read property 'configuration' of null
> file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:16: TypeError: Cannot read property 'configuration' of null
> file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:17: TypeError: Cannot read property 'configuration' of null
> file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:18: TypeError: Cannot read property 'configuration' of null

This seems to happen at every resume from sleep but if the mouse is located on the larger lockscreen once it is moved just slightly the smaller lockscreen disappears. Also it would be useful if the two displays have different resolutions and Unify screen rather than Extend screen is used (as now) the larger resolution is kept on the display with the larger resolution. If there's something I should test or some logs I should check, please let me know.
Comment 7 myndstream 2024-04-17 16:10:13 UTC
Now it also shows two lockscreens when I lock the screen. Maybe I moved the mouse a bit the last times I tried (if it's not in the corner of the small lockscreen the small lockscreen disappears once the mouse is moved)