Bug 515533 - [Feature request] Option to set offset time for Day-Night Cycle
Summary: [Feature request] Option to set offset time for Day-Night Cycle
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_nighttime (other bugs)
Version First Reported In: 6.5.5
Platform: unspecified All
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-05 03:58 UTC by kde.levitator555
Modified: 2026-02-07 14:23 UTC (History)
4 users (show)

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


Attachments
patch to increase twilight duration after sunrise and before sunset, resp. (2.61 KB, patch)
2026-02-07 09:47 UTC, Walter von Entferndt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kde.levitator555 2026-02-05 03:58:50 UTC
SUMMARY
Currently, Day/Night Cycle tooling is only limited to dynamically changing the day/night theme based on Sunrise and Sunset time.
I would like an option to be able to switch to Day/Night theme based on -/+ minutes from the current Sunrise/Sunset time. 

A use case is that I would like to change to Night theme 30 minutes earlier than Sunset time. And I want to change to Day theme 1 hour after the Sunrise time.  I would like to avoid setting them manually in the custom times since the Sunrise and Sunset times are changing constantly throughout the year. 

An example is the Windows 3rd party app AutoDarkMode that has this exact option.
Comment 1 Walter von Entferndt 2026-02-05 16:47:39 UTC
Me too!

The request could also be called: "Adjust better for twilight in day-night cycle", and it also affects the smooth adjustment of display color temperature and optionally (the additionally feature request) to smoothly adjust the display brightness.

This is a reasonable feature request, since currently the start of changing the display color temperature is much too late at sunset and too early at sunrise.  You have to adjust better for the  twilight, which is short near the equator and long towards the poles, and the duration of twilight is longer in winter than in summer.

Related is my wish to optionally dim the display brightness at night by a configurable amount, default could be 70% of current daylight brightness (I go from 95% slowly to 65% in steps of 5% and back during sunrise).
Comment 2 TraceyC 2026-02-05 16:49:25 UTC
Thanks for the suggestion, I'll pass this along for consideration.

Related: bug 515558
Comment 3 Walter von Entferndt 2026-02-07 09:47:18 UTC
Created attachment 189322 [details]
patch to increase twilight duration after sunrise and before sunset, resp.

This is a simple solution to increase the twilight duration.
IMHO it matches (more or less) the durations proposed by the genuine bug reporter.
The patch increases the end of dawn (morning) after sunrise by the duration from civil dawn to sunrise, and decreases the start of dusk (evening) before sunset by the duration from sunset to civil dusk.
These values were plain (astronomical, IIUC) sunrise and sunset before, and do not fit human's perception of daylight, twilight and night.
Comment 4 Walter von Entferndt 2026-02-07 14:23:10 UTC
merge request is pending on invent.kde.org (GitLab)