Summary: | plasma-redshift-control manual mouse wheel control broken with recent redshift version | ||
---|---|---|---|
Product: | [Plasma] kdeplasma-addons | Reporter: | grmat |
Component: | General | Assignee: | Martin Kostolný <clearmartin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | asturm, bugseforuns, mail, nate, shalokshalom |
Priority: | NOR | ||
Version: | 5.13.1 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/plasma-redshift-control/898c3a4cfc6c317915f1e664078d8606497c4049 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | patch to add -P parameter to one-shot redshift call |
Unfortunately, there seems to be no plasma-redshift-control product to correctly assign to. Code contributions are best done via phabricator.kde.org. Its still not applied. Submitted a patch to Phabricator: https://phabricator.kde.org/D23330 Git commit 898c3a4cfc6c317915f1e664078d8606497c4049 by Nate Graham, on behalf of Melvin Vermeeren. Committed on 16/10/2019 at 17:39. Pushed by ngraham into branch 'master'. Make manual control compatible with redshift >= 1.12 Summary: Redshift version >= 1.12 requires the -P option to clear the existing gamma ramps for one-shot mode. Without it the screen gets darker and darker until it is impossible to see anything. Quoting from the redshift 1.12 manual page: > -O TEMP One-shot manual mode (set color temperature). Use this with the -P option to clear the existing gamma ramps before applying the new color temperature. > -P Reset existing gamma ramps before applying new color effect. Reviewers: martinkostolny, #plasma, mart Reviewed By: #plasma, mart Subscribers: mart, ltoscano, ngraham, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D23330 M +22 -1 package/contents/ui/CompactRepresentation.qml https://commits.kde.org/plasma-redshift-control/898c3a4cfc6c317915f1e664078d8606497c4049 |
Created attachment 113454 [details] patch to add -P parameter to one-shot redshift call redshift changed its default behaviour for one-shot changes, long story short: it now requires an additional parameter for the method used in the applet for mouse wheel scrolling or it will mess up the gamma up to a point where the user can't see anything on the screen. People have already opened bug reports on github for this in both, your deprecated(?) applet repo and the upstream repo of redshift. This trivial patch adds the missing parameter to get the familiar behaviour working for redshift versions since 1.12. I'm not familiar with KDE contributions and Phabricator, and didn't found a suiting category on bugs.kde.org, I hope this is addressed anyways.