Bug 397160

Summary: Task manager don’t take Fitt’s law into account
Product: [Plasma] plasmashell Reporter: ariasuni <aria>
Component: Task Manager and Icons-Only Task ManagerAssignee: Eike Hein <hein>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, plasma-bugs
Priority: NOR    
Version: 5.13.3   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description ariasuni 2018-08-04 20:32:59 UTC
Vertically, task manager icons aren’t clickable on the last left/right pixel of the screen.
Comment 1 Nate Graham 2018-08-09 22:40:14 UTC
Do you experience the same problem with the Icons-Only Task Manager too, or only with the regular Task Manager?
Comment 2 ariasuni 2018-08-10 22:09:06 UTC
Since a few months/years, Icons-only Task Manager is an alias to Task Manager, see here: https://phabricator.kde.org/source/plasma-desktop/browse/master/applets/icontasks/
Comment 3 Nate Graham 2018-08-12 04:51:41 UTC
I know, but they can still have different behavior. I use a vertical Icons-Only Task Manager (on the left size) and it works fine. That's why I'd like to know if the problem persists with an Icons-Only Task Manager for you.
Comment 4 ariasuni 2018-08-12 10:03:11 UTC
I have the exact same problem for both. There is exactly one pixel between screen edge and the icon with my setup.
Comment 5 Nate Graham 2018-08-13 08:57:15 UTC
Do you have compositing off? And can you take a screenshot?
Comment 6 ariasuni 2018-08-14 01:13:14 UTC
OK so apparently, I can’t reproduce this problem on my work computer running the same OS (Arch Linux) (Compositing is on for both). It may have something to do with DPI (92x91 dots per inch at work, 96x96 on my personal computer).
Comment 7 Nate Graham 2018-08-14 08:29:19 UTC
So your personal computer uses the standard 96 DPI in System Settings > Fonts > Force Fonts DPI, and it's broken there, but your work computer uses 92 DPI in System Settings > Fonts > Force Fonts DPI and it does work there?
Comment 8 ariasuni 2018-08-14 23:43:59 UTC
I didn’t force anything, it’s the values I get when I do `xdpyinfo | grep dots`.
Comment 9 Nate Graham 2018-08-15 11:36:54 UTC
Thanks. Can you provide a screenshot? Is there a visible line where the desktop shows through?
Comment 10 Nate Graham 2018-08-15 11:38:15 UTC
FWIW, for me `xdpyinfo | grep dots` shows 96x96 and it works fine.
Comment 11 ariasuni 2018-08-15 18:25:06 UTC
OK so:

– I can reproduce the problem with a fresh new panel
– The problem happens when the panel is on the left, not on the right, despite being identical in appearance
– I can’t see the wallpaper on the left
– The problem happens with Plasma themes Breeze Light, Breeze Dark, Air, Oxygen
– I can reproduce it with all the screen resolutions I can use, up to 1366×768
– Size of the panel doesn’t affect the issue
– Compositor being enable or disabled doesn’t affect the issue
– Settings of the widget don’t affect the issue

I can’t see anything else that could alter the behavior or layout of the widget…
Comment 12 Nate Graham 2018-08-15 18:26:48 UTC
Thanks for all the information. Quite an odd issue.
Comment 13 ariasuni 2018-08-22 00:08:13 UTC
It’s fixed for me since the last KDE Frameworks update (5.49.0).
Comment 14 ariasuni 2019-02-17 21:57:46 UTC
Well, I have this problem again on another computer (also Arch Linux and DPI: 96x96).
Comment 15 ariasuni 2019-05-22 21:39:32 UTC
I still have this issue… Is there any way I can investigate that myself? I might be able to edit some QML to see if I can find the issue, if that’s possible.
Comment 16 ariasuni 2019-05-26 16:00:35 UTC
I noticed quite an odd behavior:

- I set Plasmashell or Latte-dock to the left (respectively right) of the screen
- I put my mouse on the line of pixel to the left (resp. right) edge of the screen, on the task manager
- The Plasmashell/Latte-dock panel appears, putting my cursor one pixel to the right (resp. left)
- If I put my cursor to the left (resp. right) edge again, the panel disappear without animating and reappears with animation, putting again my cursor one pixel to the right (resp. left)

Also, at the left (resp. right) edge of the screen, right-clicking on the task manager (or the systray) doesn’t work, but it works at 1 pixel to the right (resp. left), even for systray who doesn’t react to single click there.

So there is at least three “types” of widgets I can identify:

- Task Manager: 1 pixel line doesn’t work for single and right-click, works otherwise.
- Systray: 1 pixel line doesn’t work for right-click, a few pixel lines doesn’t work for single click (because the click area for those items is so small).
- Menu or clock: clicks works everywhere
Comment 17 Nate Graham 2019-05-26 16:30:36 UTC
For anyone experiencing this, does it go away if you turn off the default KWin touch screen edge at System Settings > Desktop behavior > Touch Screen?
Comment 18 ariasuni 2019-05-26 17:50:22 UTC
I disabled it and restarted Plasma and I still have this problem.
Comment 19 Nate Graham 2019-05-26 18:30:11 UTC
Can you reboot as well?
Comment 20 ariasuni 2019-05-26 18:38:22 UTC
Holy shit that’s working! I’m not sure what should be done about it but at least it fixes the problem for me :)
Comment 21 Nate Graham 2019-05-26 19:10:22 UTC
I had a feeling. :)

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