SUMMARY Currently night color expects "begin" time to appear one day before "end" time, not allowing for them to be on the same day. This restriction makes no sense to user and takes away from the flexibility which "Custom time" option is intended to provide. STEPS TO REPRODUCE 1. Open system settings -> Display and Monitor -> Night color 2. Set "Activation time" to "Custom time" 3. Try setting "Turn on at" to 00:01, and "Turn off at" to 7:00 OBSERVED RESULT Settings utility does not allow to do that, showing Error: Morning is before evening EXPECTED RESULT User should be able to set any time slot he/she wants. I would say there should be no date check at all. But if it should be there for some reason, then it must figure out on it's own that 00:01-07:00 is a totally fine time period. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE neon 5.23 KDE Plasma Version: 5.23.3 KDE Frameworks Version: 5.87.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION
Created attachment 143737 [details] screenshot of error
Yeah, this is a silly limitation that we should remove. *** This bug has been marked as a duplicate of bug 390021 ***
Same as https://bugs.kde.org/show_bug.cgi?id=447987: Not a duplicate of bug 39002. Merge request started: https://invent.kde.org/plasma/kwin/-/merge_requests/2868
(In reply to Natalie Clarius from comment #3) > Same as https://bugs.kde.org/show_bug.cgi?id=447987: Not a duplicate of bug > 39002. Typo; I meant to say: Not a duplicate of bug 390021 https://bugs.kde.org/show_bug.cgi?id=390021. This bug report is about being unable to set certain night time ranges; the other is a request to additionally set a day color value.
Git commit ae05d5e654752e3cced8b8f3818bd278c12a2196 by Vlad Zahorodnii, on behalf of Natalie Clarius. Committed on 29/08/2022 at 09:17. Pushed by vladz into branch 'master'. plugins/nightcolor: change time handling to allow for arbitrary morning and evening times M +17 -21 src/plugins/nightcolor/nightcolormanager.cpp M +3 -0 src/plugins/nightcolor/nightcolormanager.h https://invent.kde.org/plasma/kwin/commit/ae05d5e654752e3cced8b8f3818bd278c12a2196
Git commit 07c79d088f7dbedace595f1b25296adc4a70f358 by Vlad Zahorodnii, on behalf of Natalie Clarius. Committed on 29/08/2022 at 10:19. Pushed by vladz into branch 'Plasma/5.25'. plugins/nightcolor: change time handling to allow for arbitrary morning and evening times (cherry picked from commit ae05d5e654752e3cced8b8f3818bd278c12a2196) M +17 -21 src/plugins/nightcolor/nightcolormanager.cpp M +3 -0 src/plugins/nightcolor/nightcolormanager.h https://invent.kde.org/plasma/kwin/commit/07c79d088f7dbedace595f1b25296adc4a70f358