Bug 484254 - Scrolling quickly on system tray icon for brightness will have incorrect brightness compared to value reported
Summary: Scrolling quickly on system tray icon for brightness will have incorrect brig...
Status: RESOLVED DUPLICATE of bug 481003
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 6.0.2
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-22 15:50 UTC by Ben Hutchinson
Modified: 2024-04-12 01:22 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Hutchinson 2024-03-22 15:50:00 UTC
SUMMARY
When quickly scrolling on the system tray icon for brightness going to 100% as example the popup for brightness will show 100% however when clicking the system tray it will either show a lower value or will report an incorrect value (showing 100% but not being max brightness)


STEPS TO REPRODUCE
1. Start on a value not 0% or 100%
2. Quickly scroll to either maximum or minimum brightness
3. Observe in the panel for brightness being incorrect

OBSERVED RESULT
When scrolling quickly to max brightness on system tray icon  will show 100% in popup and actually be another value in panel when system tray icon is clicked.
or
When scrolling quickly to max brightness panel will show 100% but brightness will be not maximum

EXPECTED RESULT
When scrolling quickly to max brightness the screen should be set to max brightness and should display so in the panel as it is in the popup for scrolling

SOFTWARE/OS 
Linux/KDE Plasma: Kernel: 6.8.1-arch1-1 (64-bit)
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0 
Qt Version: 6.6.2
Graphics: Wayland
Comment 1 Nick 2024-03-22 17:02:27 UTC
Hi - I'm not able to duplicate this on my Thinkpad X390 with Plasma 6.0.2 / Wayland on Neon. Any more details on how this might be reliably reproduced would be appreciated. Thanks, Nick
Comment 2 Ben Hutchinson 2024-03-22 17:47:56 UTC
(In reply to Nick from comment #1)
> Hi - I'm not able to duplicate this on my Thinkpad X390 with Plasma 6.0.2 /
> Wayland on Neon. Any more details on how this might be reliably reproduced
> would be appreciated. Thanks, Nick

Hi, i should have mentioned what my laptop is. I'm using a framework 13 with a Intel i7-1360P,

As for reproducing I tested after a reboot and also on X11 and it still occurs. I would just start from 100% brightness and scroll to minimum and it almost always would have an incorrect brightness or value. I can record a video to demonstrate, what's the best way to link a video here?
Comment 3 Nick 2024-03-22 19:07:47 UTC
Hey - I just duplicated it! Your instructions were spot-on. Just to confirm:

I'm on a Thinkpad X390 / Neon / Wayland / Intel graphics.
Hover mouse over the brightness system tray icon.
Use two-finger scroll on touchpad to increase brightness to 100%
Quickly swipe down with two fingers and see the brightness indicate 0%

However, at this point the screen is not completely dim. Confirm this by using the laptop brightness down button. One press of this and the screen goes immediately dark (i.e. 0% brightness).

So it seems Plasma is reacting quickly to a fast scroll from the user, but the physical backlight is not keeping up.

Thanks for reporting this bug. Marking as confirmed. Thanks, Nick.
Comment 4 Ben Hutchinson 2024-03-22 19:52:09 UTC
(In reply to Nick from comment #3)
> Hey - I just duplicated it! Your instructions were spot-on. Just to confirm:
> 
> I'm on a Thinkpad X390 / Neon / Wayland / Intel graphics.
> Hover mouse over the brightness system tray icon.
> Use two-finger scroll on touchpad to increase brightness to 100%
> Quickly swipe down with two fingers and see the brightness indicate 0%
> 
> However, at this point the screen is not completely dim. Confirm this by
> using the laptop brightness down button. One press of this and the screen
> goes immediately dark (i.e. 0% brightness).
> 
> So it seems Plasma is reacting quickly to a fast scroll from the user, but
> the physical backlight is not keeping up.
> 
> Thanks for reporting this bug. Marking as confirmed. Thanks, Nick.

Great! I also reproduced on my other laptop running on Nvidia graphics. I followed instructions for running Nvidia only but I'm not sure if having integrated Intel graphics affects it 😅
Comment 5 Nate Graham 2024-04-12 01:22:22 UTC

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