Bug 447528 - When the logout screen is invoked via krunner, the item under the mouse cursor should not be initially highlighted.
Summary: When the logout screen is invoked via krunner, the item under the mouse curso...
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Theme - Breeze (show other bugs)
Version: 5.23.4
Platform: Arch Linux Linux
: VLO minor
Target Milestone: 1.0
Assignee: visual-design
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-26 08:35 UTC by Kishore Gopalakrishnan
Modified: 2023-05-17 18:48 UTC (History)
2 users (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 Kishore Gopalakrishnan 2021-12-26 08:35:51 UTC
SUMMARY
If the user invokes the logout screen through krunner, it can sometimes happen that the mouse cursor is coincidentally on top of an item other than the one they have invoked though krunner. When this happens, both the items are highlighted, which is very confusing.

STEPS TO REPRODUCE
1. In Settings > Startup and Shutdown > Desktop Session, enable 'confirm logout'
2. Invoke the logout confirmation screen
3. Place the mouse cursor above, say, the 'sleep' item (do not move the mouse cursor in the steps after this)
4. Press Esc (to cancel the countdown)
5. Type 'shut down' in krunner
6. Use the arrow keys to select the 'Shut down' option in krunner
7. Press enter 

OBSERVED RESULTS
Both 'shut down' and the other item under the cursor are highlighted during the countdown, which is confusing.

EXPECTED RESULTS
If the user has invoked the logout confirmation screen through krunner, the mouse pointer position should be initially ignored. It might make sense to start highlighting the item under the cursor once the user moves the mouse during the countdown.

SOFTWARE VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Kernel Version: 5.15.11-arch2-1 (64-bit)
Graphics Platform: X11
Comment 1 Nate Graham 2022-01-12 00:19:00 UTC
Effort-to-reward ratio here seems quite low given how small the buttons are relative to the screen size. You have to be really lucky (or unlucky?) for the popup to open such that your cursor is over one of them
Comment 2 Nate Graham 2023-05-17 18:48:01 UTC
Not sure we'll do this absent a patch from a volunteer, sorry!