| Summary: | Password entry field one one screen has focus stolen when a different slow screen turns on | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Nicolas F. <kdebugs> |
| Component: | Screen locking | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | fanzhuyifan, kdedev, nate, postix |
| Priority: | NOR | Keywords: | usability |
| Version First Reported In: | 6.2.4 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| See Also: |
https://bugs.kde.org/show_bug.cgi?id=409226 https://bugreports.qt.io/browse/QTBUG-133204 |
||
| Latest Commit: | Version Fixed/Implemented In: | 6.4.0 | |
| Sentry Crash Report: | |||
|
Description
Nicolas F.
2023-02-10 23:59:48 UTC
> An alternative solution would be an option to restrict the password entry for the lock screen > to a specific monitor, so that the secondary monitor does not interfere. Yep, see Bug 409226. The current code is supposed to always put focus on the screen with cursor, but an upstream bug in Qt is preventing this. https://bugreports.qt.io/browse/QTBUG-133204 I think there might be some additional Qt bug here -- QCursor::pos is not correctly updated after the screen configuration changes. Git commit 305d88e050ffe4018544e6d4b7c5c6730ca5c0d4 by Yifan Zhu. Committed on 25/03/2025 at 16:03. Pushed by fanzhuyifan into branch 'master'. lockscreen: only show UI on screen with mouse Otherwise one appears on every screen, which is awkward. However, forcing it to be on a particular screen is undesirable, since if that screen is turned off but not unplugged, it may still be sending a signal to the OS and show up as a valid screen to show things on. To alleviate that concern, always show the UI on the screen with pointer. Test plan: - use multiscreen setup and lock screen - move mouse across screens, verify that only screen with pointer shows controls - type some password without pressing enter, and repeat previous point Related: bug 409226 M +4 -1 desktoppackage/contents/lockscreen/LockScreenUi.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/305d88e050ffe4018544e6d4b7c5c6730ca5c0d4 The fix has been merged to master and will be available in 6.4.0 (In reply to TraceyC from comment #5) > The fix has been merged to master and will be available in 6.4.0 I think my MR was only a CCBUG and did not fully resolve this issue. |