Bug 370640

Summary: Single screen locker button doesn't honor Fitts' law
Product: [Plasma] plasmashell Reporter: Roman Lebedev <lebedev.ri>
Component: Lock/logoutAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bhush94, cfeck, justin.zobel, kde, lebedev.ri, mgraesslin, nate, notmart, notuxius
Priority: NOR    
Version: 5.8.0   
Target Milestone: 1.0   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: A screenshot, the bottom sidepanel only
The Screen Edges params

Description Roman Lebedev 2016-10-13 11:18:17 UTC
Hi.
Please don't get me wrong :)
I place screen locker button on panel, located at the bottom of the screen, at the very right corner.
Previously, i was able to just move the mouse all the way to bottom-right corner of the screen, left-click and the screenlocker would engage.
Now, it no longer works :(
If i move the mouse ll the way to bottom-right corner of the screen, the screenlocker button no longer captures the focus.
Instead, i have to actually take care to place the mouse on top of screenlocker button, and only then left-click...

Reproducible: Always

Steps to Reproduce:
1. add panel to the bottom of the screen
2. add screenlocker button to the very right edge/corner of the panel
3. move mouse all the way to bottom-right corner of the screen, left-click

Actual Results:  
screenlocker button does not capture the focus and does not lock the screen

Expected Results:  
screenlocker button should capture the focus and lock the screen
That is what it used to do before.
Comment 1 David Edmundson 2016-10-13 13:01:19 UTC
Can you include a screenshot of your setup please.
Comment 2 Roman Lebedev 2016-10-13 13:10:41 UTC
Created attachment 101556 [details]
A screenshot, the bottom sidepanel only

Or do you want the whole screen?
Comment 3 Christoph Feck 2016-10-14 00:59:43 UTC
Reproduced on master. The org.kde.plasma.lock_logout widget has a bottom margin, which does not react to clicks.
Comment 4 Marco Martin 2016-10-18 11:34:21 UTC
can't reproduce in either 5.8.0 or master
Comment 5 David Edmundson 2016-10-21 00:56:39 UTC
It could be this: https://bugs.kde.org/show_bug.cgi?id=370413
Comment 6 Alexander Mentyu 2018-03-02 15:47:04 UTC
Can't repeat in:

Plasma: 5.12.2
Apps: 17.12.2
Frameworks: 5.43.0
Qt: 5.10.1
Kernel: 4.14.22-1-MANJARO
OS: Netrunner Rolling
Video: Intel 4400
xf86-video-intel 1:2.99.917+812+g75795523-1
Screen: 1600x900

With or without compositor enabled
Comment 7 Roman Lebedev 2018-03-02 15:49:44 UTC
Still happens with current debian sid.
It's really pixel-perfect sensitivity problem.
It seems you need to point basically at the very edge of the screen. If you are off by at least one pixel, it will get focus and will lock.
Comment 8 Alexander Mentyu 2018-03-02 15:53:19 UTC
Maybe you have some actions set for screen corners in Screen Edges system settings?
Comment 9 Roman Lebedev 2018-03-02 15:56:22 UTC
Created attachment 111146 [details]
The Screen Edges params
Comment 10 Alexander Mentyu 2018-03-02 16:05:33 UTC
Could you please also try to change Compositor settings - disable or enable it - and try to reproduce the problem
Comment 11 Roman Lebedev 2018-03-02 16:28:52 UTC
(In reply to Alexander Mentyu from comment #10)
> Could you please also try to change Compositor settings - disable or enable
> it - and try to reproduce the problem

Do have to re-login after changing the setting?
Without re-login, the issue remains after i enable the compositor.
Comment 12 Justin Zobel 2020-11-30 00:32:44 UTC
I've tried the lock/logout applet and I can flick my mouse to the bottom right of my screen and click it and I get the logout window.

Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I've set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 13 Roman Lebedev 2020-11-30 07:28:22 UTC
(In reply to Justin Zobel from comment #12)
> I've tried the lock/logout applet and I can flick my mouse to the bottom
> right of my screen and click it and I get the logout window.
> 
> Can you please test and confirm if this issue is still occurring or if this
> bug report can be marked as resolved.
This is still happening with debian sid
ii  libkscreenlocker5:amd64                                     5.19.5-3                                                     amd64        Secure lock screen architecture

> I've set the bug status to "needsinfo" pending your response, please change
> back to "reported" or "resolved" when you respond, thanks.
Comment 14 Nate Graham 2023-09-18 17:28:15 UTC
Aha, I know what this is: a bug I just fixed for Plasma 6. See the duplicate.

*** This bug has been marked as a duplicate of bug 474083 ***