<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>503829</bug_id>
          
          <creation_ts>2025-05-06 07:54:18 +0000</creation_ts>
          <short_desc>If I rotate the screen, the brightness becomes super bright for few milliseconds in HDR.</short_desc>
          <delta_ts>2025-10-17 20:26:25 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>colour-management</component>
          <version>6.3.4</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>laichiaheng</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>nate</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/kwin/-/commit/2867f094893ff5797f10b406e173710cd8c93b44</cf_commitlink>
          <cf_versionfixedin>6.5.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2421396</commentid>
    <comment_count>0</comment_count>
    <who name="">laichiaheng</who>
    <bug_when>2025-05-06 07:54:18 +0000</bug_when>
    <thetext>SUMMARY
If I rotate my screen, my monitor becomes super bright for few milliseconds, and then turns back to normal.
It only happens in HDR mode.
I&apos;m aware that it may hurt my back light of my monitor.

STEPS TO REPRODUCE
1. Rotate the screen via kscreen-doctor or System Settings.

OBSERVED RESULT
The screen turns super bright for a short moment, and then turns back to normal.

EXPECTED RESULT
Just like SDR mode, the brightness shouldn&apos;t change.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 6.3.4
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2423111</commentid>
    <comment_count>1</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2025-05-12 07:20:45 +0000</bug_when>
    <thetext>The screentransform effect ignores color description stuff.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2461892</commentid>
    <comment_count>2</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2025-10-14 15:07:31 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/8250</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2462172</commentid>
    <comment_count>3</comment_count>
    <who name="Zamundaaa">xaver.hugl</who>
    <bug_when>2025-10-15 11:51:08 +0000</bug_when>
    <thetext>Git commit 1b967a881e8a010af4056c637ba65205575c87b9 by Xaver Hugl.
Committed on 15/10/2025 at 10:54.
Pushed by zamundaaa into branch &apos;master&apos;.

plugins/screentransform: support color management

This simply makes sure that both previous and current textures of the screen
are rendered with the color description of the screen.

M  +6    -5    src/plugins/screentransform/screentransform.cpp

https://invent.kde.org/plasma/kwin/-/commit/1b967a881e8a010af4056c637ba65205575c87b9</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2462202</commentid>
    <comment_count>4</comment_count>
    <who name="Zamundaaa">xaver.hugl</who>
    <bug_when>2025-10-15 14:39:34 +0000</bug_when>
    <thetext>Git commit 2867f094893ff5797f10b406e173710cd8c93b44 by Xaver Hugl.
Committed on 15/10/2025 at 14:05.
Pushed by zamundaaa into branch &apos;Plasma/6.5&apos;.

plugins/screentransform: support color management

This simply makes sure that both previous and current textures of the screen
are rendered with the color description of the screen.


(cherry picked from commit 1b967a881e8a010af4056c637ba65205575c87b9)

Co-authored-by: Xaver Hugl &lt;xaver.hugl@kde.org&gt;

M  +6    -5    src/plugins/screentransform/screentransform.cpp

https://invent.kde.org/plasma/kwin/-/commit/2867f094893ff5797f10b406e173710cd8c93b44</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>