https://bugs.kde.org/show_bug.cgi?id=508780

            Bug ID: 508780
           Summary: Feature Request: Shortcut to switch between SDR and
                    HDR, including notification
    Classification: Plasma
           Product: plasmashell
      Version First 6.4.4
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Brightness and Color widget
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

It would be nice to have default keyboard shortcut for toggling between HDR and
SDR display mode as well as an on-screen prompt to alert a user which mode
they're using. Currently, users have to open display settings to change modes
and refer back to it if it's not immediately obvious which mode is being used.

I personally created a Meta+Alt+B (same as Windows) shortcut that launches a
bash script that relies on ansifilter, kdialog, and kscreen-doctor to execute
the following for switching between modes, but it requires editing when I
change ports:

kdialog --title "Enabling HDR" --passivepopup "HDR has been enabled" 6 ;
kscreen-doctor output.HDMI-A-1.hdr.enable output.HDMI-A-1.brightness.100 ;
kscreen-doctor output.HDMI-A-2.hdr.enable output.HDMI-A-2.brightness.100 ;

The 6 second timeout is important for displays that blank for several seconds
when switching between modes. Windows' ~2 second prompt is completely useless
for one of my monitors. I've personally not noticed a difference when enabling
or disabling wide colour gamut with HDR enabled so I also include
output.HDMI-A-1.wcg.disable


Is this a trivial feature to include in KDE Plasma itself? Adding a GUI toggle
to the Brightness and Colour widget would also seem like a good idea.

Thank you!

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to