Bug 487959

Summary: Brightness no longer working since 6.0.90
Product: [Plasma] plasmashell Reporter: Nico <nico>
Component: Brightness and ColorAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gigastarcraft2, jpetso, natalie_clarius, nate
Priority: NOR Keywords: regression
Version: 6.1.1   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Brightness slider showing nan%
Brightness slider showing inf%

Description Nico 2024-06-03 13:29:57 UTC
Created attachment 170087 [details]
Brightness slider showing nan%

SUMMARY
The brightness applet no longer functions correctly

STEPS TO REPRODUCE
Sadly, I can't provide any reproduction steps because I'm not sure what triggers it.
But generally it's not functional, even after a reboot.

OBSERVED RESULT
The brightness slider is not functional.
Yesterday it still showed the percent.
The day before yesterday it was completely missing
Now it says "nan%" when it's set to 100 and "inf%" otherwise

EXPECTED RESULT
Behave like in Plasma 6. I could control the brightness of my primary monitor with this

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.90
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.9.3-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: AMD Radeon RX 6900 XT

ADDITIONAL INFORMATION
I can provide some relevant logs if you tell me how to get them :)
Comment 1 Nico 2024-06-03 13:30:17 UTC
Created attachment 170088 [details]
Brightness slider showing inf%
Comment 2 Nate Graham 2024-06-11 23:30:07 UTC
Haven't seen this myself.
Comment 3 Nico 2024-06-19 15:38:12 UTC
Still an issue on 6.1 release
Comment 4 gigastarcraft2 2024-06-25 23:51:47 UTC
(In reply to Nico from comment #3)
> Still an issue on 6.1 release

Same issue here but normally it does work. For some reason it breaks and instead of 0 and 100% it shows nan% and inf%.
Comment 5 Nate Graham 2024-06-26 21:51:13 UTC
A few fixes went into Plasma 6.1.1; can you check that version and see if the issue is fixed now?
Comment 6 Nico 2024-06-26 21:53:56 UTC
I will check on Friday and report back :)
Comment 7 Nico 2024-06-28 22:42:48 UTC
Fixed in 6.1.1
Comment 8 Nico 2024-06-28 22:44:06 UTC
Oh wait, it worked before but not it's broken again. It now shows the correct percentage value from the slider but it doesn't control the brightness
Comment 9 Nico 2024-06-29 10:37:43 UTC
Now it's back to "nan%" and "inf%" so I assume nothing relevant has been changed between 6.0.90 and 6.1.1.
I'm still wondering if I can provide any logs to help here because I can think about how hard to debug this would be without them
Comment 10 gigastarcraft2 2024-07-27 10:56:19 UTC
In my case this option simply disappears when a power management crashes. This happens usually when logging out and then in.
Comment 11 Nate Graham 2024-07-27 12:58:53 UTC

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