Bug 479469 - unnecessary scrollbar on "Power and Battery" applet
Summary: unnecessary scrollbar on "Power and Battery" applet
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Battery Monitor (show other bugs)
Version: 5.91.0
Platform: NixOS Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-01-06 15:46 UTC by Alper Çelik
Modified: 2024-03-04 21:23 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
scrollbar (40.23 KB, image/png)
2024-01-06 15:46 UTC, Alper Çelik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alper Çelik 2024-01-06 15:46:30 UTC
Created attachment 164708 [details]
scrollbar

SUMMARY
there is an unnecessary scrollbar on "Power and Battery" applet that dissapears when applet is enlarged .
see the attachment for how it looks.

also note it looks like scrollbar dissapears when the text "your laptop configured to not sleep when closing the lid while an external monitor is connected" stops overflowing to the next line


STEPS TO REPRODUCE
1. open Power and Battery applet
2. see the scrollbar on the bottom


OBSERVED RESULT
there is a scrollbar in default size of the applet

EXPECTED RESULT
there shouldn't be a scrollbar

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Nixos unstable, kde2nix / kde plasma 6.0 beta 2
KDE Plasma Version: 5.91.0
KDE Frameworks Version: 5.247.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
Comment 1 Patrick Silva 2024-01-07 15:25:04 UTC
Same with Clipboard applet and popup that shows the hidden system tray icons on neon unstable.
Comment 2 Nate Graham 2024-01-11 20:55:02 UTC
Cannot reproduce any of those with Qt 6.6.0. In Plasma 5 times, we disabled the horizontal scrollbars to work around a Qt issue that was causing them to inappropriately appear. Maybe it's back in some form...
Comment 3 Alper Çelik 2024-01-27 12:45:01 UTC
(In reply to Nate Graham from comment #2)
> Cannot reproduce any of those with Qt 6.6.0. In Plasma 5 times, we disabled
> the horizontal scrollbars to work around a Qt issue that was causing them to
> inappropriately appear. Maybe it's back in some form...

looks like it only comes with "your laptop configured to not sleep when closing the lid while an external monitor is connected" message not from "x is currently blocking sleep and screen locking" message
Comment 4 Nate Graham 2024-01-29 17:11:36 UTC
I still don't see it even with that message shown because I have an external screen connected. Maybe this regressed in Qt 6.6.1?
Comment 5 Alper Çelik 2024-02-29 19:46:10 UTC
seems to be fixed on plasma 6 and qt 6.6.2
Comment 6 Patrick Silva 2024-03-04 21:23:12 UTC
This bug persists on my system, but I can't reproduce consistently.
Clipboard and plasma-nm applets are also affected.

Operating System: Arch Linux 
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Graphics Platform: Wayland