<?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>488736</bug_id>
          
          <creation_ts>2024-06-19 13:41:30 +0000</creation_ts>
          <short_desc>&quot;Adaptive&quot; opacity mode does not work anymore</short_desc>
          <delta_ts>2024-06-27 08:06:41 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>Panel</component>
          <version>6.1.0</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>regression</keywords>
          <priority>HI</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hanabishi">i.r.e.c.c.a.k.u.n+bugs.kde.org</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>dimitri.code</cc>
    
    <cc>eamonnrea</cc>
    
    <cc>eierajat.roy</cc>
    
    <cc>miren_radia</cc>
    
    <cc>nate</cc>
    
    <cc>niccolo.venerandi</cc>
    
    <cc>qydwhotmail</cc>
    
    <cc>test</cc>
    
    <cc>tromzy</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-desktop/-/commit/dc62acf008ef0a48f00d57f6d163663a73edff7d</cf_commitlink>
          <cf_versionfixedin>6.1.1</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2329259</commentid>
    <comment_count>0</comment_count>
    <who name="Hanabishi">i.r.e.c.c.a.k.u.n+bugs.kde.org</who>
    <bug_when>2024-06-19 13:41:30 +0000</bug_when>
    <thetext>SUMMARY

In 6.1.0, &quot;Adaptive&quot; opacity mode does not work. The panel always remains transparent as in &quot;Translucent&quot; mode.

STEPS TO REPRODUCE
1. Set &quot;Panel Configuration &gt; Opacity &gt; Adaptive&quot;.
2. Maximize any window.

OBSERVED RESULT

The panel always remains transparent.

EXPECTED RESULT

The panel should became opaque.

SOFTWARE/OS VERSIONS

KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION

Wayland session.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2329395</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-06-19 19:56:45 +0000</bug_when>
    <thetext>Is the panel at the top screen edge?

Does the issue reproduce in a new clean user account on the same machine?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2329411</commentid>
    <comment_count>2</comment_count>
    <who name="Hanabishi">i.r.e.c.c.a.k.u.n+bugs.kde.org</who>
    <bug_when>2024-06-19 20:14:24 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #1)
&gt; Is the panel at the top screen edge?
&gt; 
&gt; Does the issue reproduce in a new clean user account on the same machine?

Yes. I tested it on a fresh user account to exclude configuration issues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2329672</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-06-20 14:27:13 +0000</bug_when>
    <thetext>Thanks. What GPU are you using?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2329690</commentid>
    <comment_count>4</comment_count>
    <who name="Hanabishi">i.r.e.c.c.a.k.u.n+bugs.kde.org</who>
    <bug_when>2024-06-20 15:01:54 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #3)
&gt; Thanks. What GPU are you using?

OpenGL core profile renderer: AMD Radeon RX 580 Series (radeonsi, polaris10, LLVM 17.0.6, DRM 3.57, 6.10.0-rc4)
OpenGL core profile version: 4.6 (Core Profile) Mesa 24.1.2-arch1.1

Btw, switching to software rendering does not change the behavior. So I don&apos;t think this is a rendering issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2329710</commentid>
    <comment_count>5</comment_count>
    <who name="Fushan Wen">qydwhotmail</who>
    <bug_when>2024-06-20 15:59:22 +0000</bug_when>
    <thetext>*** Bug 488797 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2329711</commentid>
    <comment_count>6</comment_count>
    <who name="Fushan Wen">qydwhotmail</who>
    <bug_when>2024-06-20 15:59:44 +0000</bug_when>
    <thetext>https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2323</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2329725</commentid>
    <comment_count>7</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-06-20 16:23:14 +0000</bug_when>
    <thetext>*** Bug 487227 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2329750</commentid>
    <comment_count>8</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-06-20 17:23:09 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2324</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2329793</commentid>
    <comment_count>9</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-06-20 18:28:59 +0000</bug_when>
    <thetext>*** Bug 488811 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2329900</commentid>
    <comment_count>10</comment_count>
    <who name="cwo">cwo.kde</who>
    <bug_when>2024-06-20 21:48:42 +0000</bug_when>
    <thetext>*** Bug 488834 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2330082</commentid>
    <comment_count>11</comment_count>
    <who name="Filip">filip.kendes1</who>
    <bug_when>2024-06-21 06:34:09 +0000</bug_when>
    <thetext>*** Bug 488867 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2330125</commentid>
    <comment_count>12</comment_count>
    <who name="">tromzy</who>
    <bug_when>2024-06-21 08:49:18 +0000</bug_when>
    <thetext>I can confirm this bug.

OS : Arch Linux 
KDE Plasma : 6.1.0
KDE Frameworks : 6.3.0
Qt : 6.7.1

Wayland</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2330129</commentid>
    <comment_count>13</comment_count>
    <who name="Miren Radia">miren_radia</who>
    <bug_when>2024-06-21 08:57:03 +0000</bug_when>
    <thetext>I also have the same problem for my top non-floating panel. This isn&apos;t a problem for my bottom, always visible, floating panel.

Here are my software version:
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.9.4-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × 12th Gen Intel® Core™ i7-1260P
Memory: 31.1 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: Framework
Product Name: Laptop (12th Gen Intel Core)
System Version: A6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2330489</commentid>
    <comment_count>14</comment_count>
    <who name="Fushan Wen">qydwhotmail</who>
    <bug_when>2024-06-22 01:00:54 +0000</bug_when>
    <thetext>Git commit 08637d603162f2ac595ff904c4a97aef386e7897 by Fushan Wen.
Committed on 22/06/2024 at 01:00.
Pushed by fusionfuture into branch &apos;master&apos;.

Panel: fix adaptive opacity not reacting to maximized windows

The mode &quot;TaskManager.RegionFilterMode.Intersect&quot; checks if two regions
overlap, so the additional +1 is required.
FIXED-IN: 6.1.1

M  +1    -1    desktoppackage/contents/views/Panel.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/08637d603162f2ac595ff904c4a97aef386e7897</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2330490</commentid>
    <comment_count>15</comment_count>
    <who name="Fushan Wen">qydwhotmail</who>
    <bug_when>2024-06-22 01:02:15 +0000</bug_when>
    <thetext>Git commit dc62acf008ef0a48f00d57f6d163663a73edff7d by Fushan Wen.
Committed on 22/06/2024 at 01:01.
Pushed by fusionfuture into branch &apos;Plasma/6.1&apos;.

Panel: fix adaptive opacity not reacting to maximized windows

The mode &quot;TaskManager.RegionFilterMode.Intersect&quot; checks if two regions
overlap, so the additional +1 is required.
FIXED-IN: 6.1.1


(cherry picked from commit 08637d603162f2ac595ff904c4a97aef386e7897)

Co-authored-by: Fushan Wen &lt;qydwhotmail@gmail.com&gt;

M  +1    -1    desktoppackage/contents/views/Panel.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/dc62acf008ef0a48f00d57f6d163663a73edff7d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2330492</commentid>
    <comment_count>16</comment_count>
    <who name="Fushan Wen">qydwhotmail</who>
    <bug_when>2024-06-22 01:11:52 +0000</bug_when>
    <thetext>Git commit d65f5b04775df2eb0a3c8a4133584d4449025f08 by Fushan Wen.
Committed on 22/06/2024 at 01:01.
Pushed by fusionfuture into branch &apos;master&apos;.

appiumtests: test adaptive panel opacity

1. Open a maximized window
2. Take screenshot
3. Close the window
4. Take another screenshot
5. Compare the panel background colors

M  +6    -0    appiumtests/desktop/CMakeLists.txt
A  +172  -0    appiumtests/desktop/bug488736_adaptive_opacity.py

https://invent.kde.org/plasma/plasma-desktop/-/commit/d65f5b04775df2eb0a3c8a4133584d4449025f08</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2332495</commentid>
    <comment_count>17</comment_count>
    <who name="Dimitri">dimitri.code</who>
    <bug_when>2024-06-27 08:06:41 +0000</bug_when>
    <thetext>I can confirm the fix.

Operating System: KDE neon 6.0
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-41-generic (64-bit)
Graphics Platform: Wayland</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>