Bug 434726 - Can't drag brightness slider to 100%
Summary: Can't drag brightness slider to 100%
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power and Battery widget (other bugs)
Version First Reported In: 5.21.3
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-21 17:32 UTC by guimarcalsilva
Modified: 2021-03-23 03:22 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description guimarcalsilva 2021-03-21 17:32:12 UTC
SUMMARY


STEPS TO REPRODUCE
1. On a laptop, open the Battery and Brightness applet.
2. Use your touchpad to move the slider to 100%.

OBSERVED RESULT

While moving the slider with the cursor you can only go to 99%. You can reach 100% if you scroll on the slider instead.

EXPECTED RESULT

The user should be able to drag the slider to 100%.

SOFTWARE/OS VERSIONS

Operating System: KDE neon 5.21
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Kernel Version: 5.4.0-67-generic
OS Type: 64-bit
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520
Comment 1 Nate Graham 2021-03-22 01:24:17 UTC
Works for me. What font and font size are you using? And does this affect the sliders in the Volume applet too, or just the Battery & Brightness applet?
Comment 2 guimarcalsilva 2021-03-22 01:46:39 UTC
(In reply to Nate Graham from comment #1)
> Works for me. What font and font size are you using? And does this affect
> the sliders in the Volume applet too, or just the Battery & Brightness
> applet?

I'm using the default Noto Sans 10 with the default Breeze theme. Screen is at 1x scale with a 1366x768 resolution. The only modification I made to Plasma was shrinking the default panel to 28px.

All other sliders work as intended, it's only the brightness slider that doesn't go all the way to 100%.

One thing I noticed is that if I click on the slider and move it with the arrow keys I can go to 100%, but if I press left to go back to 99% it instead jumps straight to 98%, if I keep pressing left it moves by 1% as it should.

I also tried moving the panel just in case it was caused by a lack of drag space for the cursor but the same happens.

It's a very insignificant bug, so don't worry much about it :P
Comment 3 Nate Graham 2021-03-22 03:39:23 UTC
How very strange.
Comment 4 guimarcalsilva 2021-03-22 21:32:10 UTC
(In reply to Nate Graham from comment #3)
> How very strange.

Very strange indeed. 

I asked on Reddit and apparently no one could reproduce the bug, however, I booted up the Neon live image I used to install and I the problem is there. The iso is neon-user-20210311-0944.iso so it's pretty recent. :|
Comment 5 Nate Graham 2021-03-22 21:33:13 UTC
FWIW I have everything built from git master on openSUSE Tumbleweed, so I don't think it's a matter of recency. I wonder if it could be somehow Neon-specific.
Comment 6 guimarcalsilva 2021-03-22 22:36:39 UTC
Yeah, I think you can close this bug. I used the same Neon image on another laptop and it worked fine there. It must be some kind of driver problem. It's really odd it would only happen when dragging with the cursor but since it only happens on this machine it most likely isn't a bug in Plasma. Thanks a lot. :)
Comment 7 Nate Graham 2021-03-23 03:22:55 UTC
Okay. :)