Bug 413822 - Option to not change layout by scrolling
Summary: Option to not change layout by scrolling
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Keyboard Layout widget (show other bugs)
Version: 5.21.3
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2019-11-04 23:16 UTC by sedrubal
Modified: 2023-09-20 17:17 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
butirsky: Wayland?
butirsky: X11+


Attachments
Screen record of scrolling over keyboard layout switching indicator by mistake (694.93 KB, video/mp4)
2019-11-04 23:16 UTC, sedrubal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sedrubal 2019-11-04 23:16:45 UTC
Created attachment 123726 [details]
Screen record of scrolling over keyboard layout switching indicator by mistake

SUMMARY
When you scroll over the kayboard layout switcher in the system tray the keyboard layout changes automatically even if it is not intended.

STEPS TO REPRODUCE
1. Configure more than one keyboard layout
2. Configure the keyboard indicator to be hidden in system tray
3. Have enough elements in the system tray in order you are able to scroll the collapsed list
4. Scroll over the keyboard indicator

OBSERVED RESULT
The layout switches

EXPECTED RESULT
The layout should not be switched if it is not inteded.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 31
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.61.0
Qt Version: 5.12.5
Comment 1 Andrey 2021-03-20 21:20:09 UTC
Could you check behavior on Wayland session? I suspect the applet just can't occur in Status and Notifications pane there (I'm sorry I have broken setup ATM so can't check it myself).
Comment 2 Nate Graham 2021-03-21 02:21:19 UTC
It appears in the system tray just fine in the wayland session and still changes the layout when scrolling.
Comment 3 Andrey 2021-03-21 09:55:11 UTC
What I meant it should always appear visible in systray and not in Status and Notifications pane as in the video.
But OK I'll check it when I get a chance.
Comment 4 Nate Graham 2021-03-21 11:13:46 UTC
Status and Notifications is the title given to the System Tray's expanded popup. So if it's in there, it's in the System Tray--just as a hidden applet rather than as a visible one. :)
Comment 5 Andrey 2021-03-21 12:34:11 UTC
So can an applet in Active state (not hidden) be in the System Tray's expanded popup? Note new applet is always active or not visible at all.
Comment 6 Nate Graham 2021-03-21 14:27:02 UTC
Hmm good question
Comment 7 Andrey 2021-04-15 20:42:35 UTC
sedrubal, could you try to reproduce on Wayland?
I'm setting it to X11 only meanwhile
Comment 8 sedrubal 2021-04-16 15:10:27 UTC
Yes it behaves similar under wayland.
In the meantime the issue is less worse as there are tiles used instead of a list for the items in the tray and you don't have to scroll all the time to see all items.
Comment 9 Andrey 2021-04-16 15:19:21 UTC
Thank you. Then it behaves differently than I expected, as I supposed this particular applet is always visible on Wayland.
I'll need to reproduce myself, yet.
Comment 10 Andrey 2021-04-17 19:13:18 UTC
(In reply to sedrubal from comment #0)
> 2. Configure the keyboard indicator to be hidden in system tray
I didn't try it yet just curious why hide the indicator?
The new indicator was not intended to be hidden at all, if it's not needed it can be disabled instead. And old indicator can be disabled in Keyboard KCM also.
Comment 11 Nate Graham 2023-09-20 17:17:07 UTC
Not sure this behavior is worth disabling. Many other widgets react to scroll and this isn't disable-able. In all cases I think the answer is the same:
1. Don't scroll over it if you don't want to trigger the scroll behavior
2. If you do, scroll in the other direction to get back to where you were before