Created attachment 149354 [details] Battery applet - horizontally scrollable SUMMARY Pressing Right key on a focused «Battery & Brightness» applet (e.g. immediately after it is opened in system tray before touching anything else) causes it to scroll horizontally, even though the horizontal scroll bar is forced to be hidden. STEPS TO REPRODUCE 1. Click on a battery applet's icon in system tray, or (if hidden) open the system tray popup and click it there. 2. Press Right OBSERVED RESULT Empty applet, because it has scrolled right by an amount of an entire view port width. GammaRay inspector shows that before scrolling the batteryList's ListView::contentX was -8, and after pressing Right it has become -304. EXPECTED RESULT Shouldn't be scrollable horizontally. Something is very wrong with positioning there, if in idle state it is already negative 8 logical pixels. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.25.80 KDE Frameworks Version: 5.95.0 Qt Version: 5.15.4 Kernel Version: 5.18.0-arch1-1 (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz Memory: 15.6 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2
Not reproducible on stable. This is a recent regression, probably caused by the porting the whole content into a ScrollView.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1789
Clipboard applet is also affected. When you focus on a search field and it is empty, key events are forwarded to the list view instead.
Clipboard applet is still affected. Battery & Brightness has been auto-fixed by refactoring all its content into ItemDelegates which "eat" key press events and won't let the scrollview scroll away, I guess.
Hello! Couldn't reproduce this on Plasma 6.3.1, either battery or clpiboard widgets (also tried the bright applet, since it was splitted from the battery one). I believe this issue can be closed.