Created attachment 166615 [details] Screenshot of issue and system information SUMMARY *** After enabling HDR on a supported graphics driver then downgrading to a graphics driver version without HDR support, the HDR checkbox disappears, but the SDR Brightness and SDR Color Intensity sliders are still present. Additionally, the Color Profile option is remains greyed out (was not greyed out before HDR was enabled). *** STEPS TO REPRODUCE 1. Install the NVIDIA 550 proprietary graphics driver 2. Update KDE to 6.0.1 3. In KDE System Settings --> Display & Monitor, enable HDR 4. Downgrade NVIDIA driver to 535 5. Open KDE System Settings and view results OBSERVED RESULT HDR checkbox disappears, SDR Brightness slider remains, SDR Color Intensity slider remains, Color Profile is greyed out. EXPECTED RESULT HDR checkbox disappears, SDR Brightness slider disappears, SDR Color Intensity slider disappears, Color Profile is accessible. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux (available in About System) KDE Plasma Version: 6.0.1 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 ADDITIONAL INFORMATION Graphics Card: NVIDIA GeForce GTX 1080 Graphics Driver Versions: 550 --> 535 (bug involves version change)
I forgot to mention: This was performed on Wayland for both driver versions.
Whoops, I guess we forgot to hide those UI controls as well, based on the assumption that this exact use case wouldn't happen.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kscreen/-/merge_requests/291
Git commit ef143b4096fd07716de89bd61370cba7f1fc23fd by Nate Graham. Committed on 08/03/2024 at 00:54. Pushed by ngraham into branch 'master'. KCM: Make sure HDR UI elements aren't shown when HDR isn't available Right now we're assuming that HDR can only be enabled when available, but that's actually not the case, as HDR can become unavailable later after having previously enabled it. This can cause the KCM to display inappropriate UI elements. Fix that by also adding an "Is HDR available?" check to the visibility conditions that currently only check whether HDR is currently enabled. FIXED-IN: 6.0.2 M +8 -6 kcm/ui/OutputPanel.qml https://invent.kde.org/plasma/kscreen/-/commit/ef143b4096fd07716de89bd61370cba7f1fc23fd
Git commit 9780e2c9cb5669d5816985eb520cfeb5e750a769 by Nate Graham. Committed on 08/03/2024 at 00:55. Pushed by ngraham into branch 'Plasma/6.0'. KCM: Make sure HDR UI elements aren't shown when HDR isn't available Right now we're assuming that HDR can only be enabled when available, but that's actually not the case, as HDR can become unavailable later after having previously enabled it. This can cause the KCM to display inappropriate UI elements. Fix that by also adding an "Is HDR available?" check to the visibility conditions that currently only check whether HDR is currently enabled. FIXED-IN: 6.0.2 (cherry picked from commit ef143b4096fd07716de89bd61370cba7f1fc23fd) bdb731c1 KCM: Make sure HDR UI elements aren't shown when HDR isn't available b8892082 Apply 2 suggestion(s) to 1 file(s) M +8 -6 kcm/ui/OutputPanel.qml https://invent.kde.org/plasma/kscreen/-/commit/9780e2c9cb5669d5816985eb520cfeb5e750a769