Bug 462035 - Toggling Night Color Control via keyboard shortcut opens an empty Plasma popup
Summary: Toggling Night Color Control via keyboard shortcut opens an empty Plasma popup
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Night Color (show other bugs)
Version: 5.26.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-19 20:08 UTC by Nico Dorn
Modified: 2024-03-25 02:42 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Dorn 2022-11-19 20:08:37 UTC
STEPS TO REPRODUCE
1.  Assign a shortcut to Night Color Control (System Settings > Shortcuts > Plasma > Activate Night color Control Widget), I used Meta + Shift + R.
2. Enable the widget's tray icon, choose "always shown" (this is important).
3. Use the shortcut.

OBSERVED RESULT
The toggle works, but it also opens an empty plasma module (?) window.

EXPECTED RESULT
The module window should not pop up.

SOFTWARE/OS VERSION
Operating System: KDE neon 5.26
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 5.15.0-53-generic (64-bit)
Graphics Platform: X11
Graphics Processor: Mesa Intel® UHD Graphics
Comment 1 Nate Graham 2022-11-29 20:29:27 UTC
Yeah. It's not ideal.
Comment 2 Bharadwaj Raju 2022-12-06 13:27:25 UTC
Better would be to not expose the shortcut in Plasma, and let users use the KWin shortcut "Toggle Night Color" instead.
Comment 3 andy 2023-11-11 22:50:21 UTC
I'm trying the kwin shortcut and I don't get a empty window popping up over here (KDE Plasma 5.27.9, Wayland).

But it is confusing since it is an independent switch from the tray icon, but also shows the same popups:

- Set night color to "always on"
- toggle tray icon to "on" state. see the "Night Color On" popup
- use kwin night color shortcut to toggle to "off". see the "Night Color Off" popup
- now try toggling tray icon - nothing happens
- use kwin night color shortcut to toggle to "on". see the "Night Color On" popup
- now try toggling tray icon - it works and shows the "Night Color On" and "Off" popups
Comment 4 Nate Graham 2024-03-25 02:42:14 UTC
This is fixed in Plasma 6.