| Summary: | Night Color KCM resets "switching times" to "Always Off" on open | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | Patrick Silva <bugseforuns> |
| Component: | kcm_nightcolor | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bednarczyk.pawel, bharadwaj.raju777, isma.af, kwin-bugs-null, nate, nicolas.fella, qydwhotmail |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | master | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/d61b7eb4af3ba1092c106eac9df10f3e62aa1e1b | Version Fixed/Implemented In: | 6 |
| Sentry Crash Report: | |||
|
Description
Patrick Silva
2023-06-17 13:16:07 UTC
Can confirm. The problem appears to be that the "Switching times" combobox gets reset at launch, changing its value and causing the KCM to enter a dirty state immediately. Looks like the currentIndexChanged() on the combobox gets called too early For some reason, this problem doesn't appear in kcmshell6. Only in systemsettings. When running under systemsettings, the onActiveChanged connection on kcm.nightColorSettings never gets called, while it does happen under kcmshell6. I have no idea why (yet). I have a hack solution for this, but I don't feel good about ignoring such a perplexing underlying problem. Do you think it's worth making an MR for the hack? Depending on how difficult it would be to fix in a way you consider more correct, it might be worth submitting your hack patch as an RFC to stimulate discussion around the subject. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3050 (In reply to Bharadwaj Raju from comment #3) > For some reason, this problem doesn't appear in kcmshell6. Only in > systemsettings. > > When running under systemsettings, the onActiveChanged connection on > kcm.nightColorSettings never gets called, while it does happen under > kcmshell6. I have no idea why (yet). This looks like https://invent.kde.org/plasma/systemsettings/-/merge_requests/258 The signal/slot is broken in systemsettings *** Bug 476927 has been marked as a duplicate of this bug. *** |