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
Yeah. It's not ideal.
Better would be to not expose the shortcut in Plasma, and let users use the KWin shortcut "Toggle Night Color" instead.
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
This is fixed in Plasma 6.