Bug 412527 - KScreenlocker does not resize the UI appropriately when moving between displays of different resolutions
Summary: KScreenlocker does not resize the UI appropriately when moving between displa...
Status: RESOLVED WORKSFORME
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 436590 440639 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-10-02 06:39 UTC by Jan Przybylak
Modified: 2024-05-06 09:32 UTC (History)
7 users (show)

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


Attachments
KScreenlocker is bigger than the display (347.62 KB, image/jpeg)
2019-10-02 06:41 UTC, Jan Przybylak
Details
KScreenlocker is too small for the display (474.74 KB, image/jpeg)
2019-10-02 06:42 UTC, Jan Przybylak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Przybylak 2019-10-02 06:39:46 UTC
SUMMARY
It seems that KScreenlocker only queries the display resolution once at lock time and never again.
It doesn't matter if the display changes while KScreenlocker is shown or the device is on standby (where all screens are off)

Example:
I lock my laptop while an external display is connected an acting as the primary display, so KScreenlocker adjusts to that displays resolution. If I then unplug that display to switch to the laptop's internal one, KScreenlocker moves to the internal display too, which is correct of course. However, it doesn't adjust to the new, lower resolution so only the top left corner will be visible.
Something similar happens when switching from a smaller to a bigger display, where KScreenlocker will be too small.

STEPS TO REPRODUCE
1. Lock screen while using a big display
2. Switch to smaller display

OBSERVED RESULT
KScreenlocker doesn't adjust to the new resolution

EXPECTED RESULT
KScreenlocker does adjust to the new resolution
Comment 1 Jan Przybylak 2019-10-02 06:41:26 UTC
Created attachment 122973 [details]
KScreenlocker is bigger than the display
Comment 2 Jan Przybylak 2019-10-02 06:42:54 UTC
Created attachment 122974 [details]
KScreenlocker is too small for the display
Comment 3 Nate Graham 2021-06-21 22:13:44 UTC
There were some multi-screen fixes recently; can you test again with Plasma 5.22? Thanks!
Comment 4 Bug Janitor Service 2021-07-06 04:33:53 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Jan Przybylak 2021-07-06 17:43:54 UTC
Nope, sorry, the bugs is not solved. I locked the laptop while the external display was connected, then closed the lid and then disconnected the monitor. When I opened the lid again, I only saw the upper left corner of the lock screen.
Comment 6 Bug Janitor Service 2021-07-21 04:33:31 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Aldoo 2021-10-11 07:25:09 UTC
Likely duplicates: Bug #440639 and Bug #436590 (different manifestations of what looks like the inability of kscreenlocker to realize that display configuration has changed).

Also the bug is still present (at least on my computer, running Plasma 5.22.5 on KDE Neon).
Comment 8 Aldoo 2021-10-11 07:30:07 UTC
Also, is there something Is can do to help with the resolution of this bug? (I would rather use my time for helping than losing it uselessly several times a day, every time I switch to a VT to kill kscreenlocker!)
Comment 9 Nate Graham 2021-10-11 20:25:07 UTC
*** Bug 440639 has been marked as a duplicate of this bug. ***
Comment 10 Nate Graham 2021-10-11 20:25:10 UTC
*** Bug 436590 has been marked as a duplicate of this bug. ***
Comment 11 Nate Graham 2021-10-11 20:25:21 UTC
Thanks for finding those.
Comment 12 Ilya Bizyaev 2024-03-16 16:16:57 UTC
I haven't had this problem in a while (at least since Plasma 5.27), do others still have it?
Comment 13 Ilya Bizyaev 2024-05-06 09:32:46 UTC
There has been no response, I'll close it as obsolete. Please re-open if you're still affected.