Bug 487617 - Night Light System Tray toggle does not function after Night Light has been turned off with a keyboard shortcut
Summary: Night Light System Tray toggle does not function after Night Light has been t...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Brightness and Color widget (show other bugs)
Version: 6.0.5
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-27 10:53 UTC by kde-bugs
Modified: 2024-12-13 10:39 UTC (History)
5 users (show)

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


Attachments
System Tray toggle labelled as "Not running" in Off position and "Off" in On position (33.37 KB, image/png)
2024-05-27 10:53 UTC, kde-bugs
Details
New behaviour after Plasma 6.1.0 update: toggle stuck in "Suspend" position (22.05 KB, image/png)
2024-06-20 09:40 UTC, kde-bugs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kde-bugs 2024-05-27 10:53:34 UTC
Created attachment 169872 [details]
System Tray toggle labelled as "Not running" in Off position and "Off" in On position

SUMMARY
Night Light System Tray toggle does not function after Night Light has been turned off with a keyboard shortcut

STEPS TO REPRODUCE
1. Enable "Always on night light" in System Settings
2. EITHER
    a. Run command "/usr/lib/qt6/bin/qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut "Toggle Night Color" OR
    b. Set a keyboard shortcut to toggle night light System Settings and enter that shortcut
3. Open Brightness and Color widget in System Tray
4. Attempt to use Night Light toggle switch

OBSERVED RESULT
Night Light toggles between "Not running" in Off position of switch, and "Off" in On position of switch [see screenshot]. The night light does not turn back on unless you enter the command or keyboard shortcut again, after which the system tray toggle works as expected.

EXPECTED RESULT
Night light toggles between "Off" in Off position and "On" in On position, allowing night light to be turned back on.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.05
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.9.2-arch1-1 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Output of "lspci -k | grep -A 3 -E "(VGA|3D)"
09:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] (rev c3)
        Subsystem: Tul Corporation / PowerColor Device 2407
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu
Comment 1 kde-bugs 2024-06-20 09:38:07 UTC
This is still reproducible after updating to Plasma 6.1.0

However, the toggle instead gets stuck in the "Suspend" position. Clicking on it has no effect, but it still functions normally after being disabled by a keyboard shortcut.

Please see new screenshot that demonstrates this.
Comment 2 kde-bugs 2024-06-20 09:40:20 UTC
Created attachment 170667 [details]
New behaviour after Plasma 6.1.0 update: toggle stuck in "Suspend" position
Comment 3 Nate Graham 2024-11-19 18:34:36 UTC
I can't reproduce any of this. Is it still happening in Plasma 6.2.3 or later?
Comment 4 TraceyC 2024-11-20 17:52:34 UTC
Moving to Brightness and Color
Comment 5 kde-bugs 2024-11-23 14:43:29 UTC
(In reply to Nate Graham from comment #3)
> I can't reproduce any of this. Is it still happening in Plasma 6.2.3 or
> later?

Yes, the behaviour changed as described with 6.1.0 and has remained the same up to and including 6.2.3. If you toggle it off with the shortcut, the widget gets stuck in the suspend position and clicking it has no effect.
Comment 6 TraceyC 2024-12-10 20:25:06 UTC
I am able to reproduce the toggle being stuck on git-master

1. Enable "Always on night light" in System Settings
2. Set a keyboard shortcut to suspend/resume night light and then enter that shortcut
3. Open Brightness and Color widget in System Tray
4. Attempt to use Night Light toggle switch

The toggle cannot be toggled
If I unsuspend Night Light, the toggle works normally