<?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>448420</bug_id>
          
          <creation_ts>2022-01-14 00:10:04 +0000</creation_ts>
          <short_desc>When screen configuration changes, hidden Panel in &quot;Auto-hide&quot; or &quot;Dodge Windows&quot; mode inappropriately becomes shown until clicked again</short_desc>
          <delta_ts>2024-02-03 05:23:19 +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>5.23.5</version>
          <rep_platform>Neon</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.kde.org/show_bug.cgi?id=478256</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>multiscreen</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          <blocked>478797</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Edlund">ericedlund2017</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>andrej.halv</cc>
    
    <cc>boredsquirrel</cc>
    
    <cc>bugs.7ng0x</cc>
    
    <cc>fanzhuyifan</cc>
    
    <cc>kim-kdebug</cc>
    
    <cc>nate</cc>
    
    <cc>ostroffjh</cc>
    
    <cc>peter</cc>
    
    <cc>qydwhotmail</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-workspace/-/commit/d7617f5f62408b83ad5433cd4fa464c30278c6b4</cf_commitlink>
          <cf_versionfixedin>6.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2093408</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Edlund">ericedlund2017</who>
    <bug_when>2022-01-14 00:10:04 +0000</bug_when>
    <thetext>SUMMARY
When I put my 2-in-1 in tablet mode and rotate the screen, the panel is shown. The panel is set to &quot;auto hide&quot; and the target behavior, I believe, is not to have it always visible in tablet mode.

STEPS TO REPRODUCE
0. Panel set to &quot;autohide&quot;
1. Fold to tablet mode
2. Rotate

OBSERVED RESULT
Panel is shown

EXPECTED RESULT
It isn&apos;t

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Neon 5.23 User Edition
(available in About System)
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Using wayland</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2093438</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-01-14 01:33:24 +0000</bug_when>
    <thetext>Can confirm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2093982</commentid>
    <comment_count>2</comment_count>
    <who name="kim">kim-kdebug</who>
    <bug_when>2022-01-15 10:11:03 +0000</bug_when>
    <thetext>The same happens also:
* after lockscreen  ends.
* energy save ends

I would guess that it has to do with multi-screen discovery, but it is annoying with only one screen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2094031</commentid>
    <comment_count>3</comment_count>
    <who name="Fushan Wen">qydwhotmail</who>
    <bug_when>2022-01-15 14:24:57 +0000</bug_when>
    <thetext>It&apos;s reproducible on both X11 and Wayland.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2094243</commentid>
    <comment_count>4</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2022-01-16 03:34:36 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1887</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2118902</commentid>
    <comment_count>5</comment_count>
    <who name="kim">kim-kdebug</who>
    <bug_when>2022-04-23 08:21:29 +0000</bug_when>
    <thetext>It seen this bug came back in 5.24 - it is present i Fedora 35 packages</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2119253</commentid>
    <comment_count>6</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-04-25 15:45:32 +0000</bug_when>
    <thetext>*** Bug 452798 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2275000</commentid>
    <comment_count>7</comment_count>
    <who name="">fanzhuyifan</who>
    <bug_when>2023-12-19 04:35:26 +0000</bug_when>
    <thetext>Marking as confirmed since the MR was closed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2275402</commentid>
    <comment_count>8</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-12-20 21:29:21 +0000</bug_when>
    <thetext>*** Bug 470760 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2275412</commentid>
    <comment_count>9</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-12-20 21:45:06 +0000</bug_when>
    <thetext>*** Bug 471482 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2276908</commentid>
    <comment_count>10</comment_count>
    <who name="Andrej Halveland">andrej.halv</who>
    <bug_when>2023-12-28 11:22:46 +0000</bug_when>
    <thetext>This has been bugging me for some time now. It is especially annoying when you setup automatic switching between refresh rates when on a battery and when plugged in.

Can be easily reproduced via simply changing the refresh rate either through System Settings or through kscreen-doctor.

This is on Plasma 6 Beta 2.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.91.0
KDE Frameworks Version: 5.247.0
Qt Version: 6.7.0 (beta)
Kernel Version: 6.7.0-rc6
Graphics Platform: Wayland
Graphics Drivers: mesa 23.3.1
Processors: AMD Ryzen 9 4900HS
Memory:  24GB of RAM
Graphics Processor: Integrated: Vega 8
Manufacturer: ASUS (Zephyrus G15 GA502IV)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2281972</commentid>
    <comment_count>11</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-01-20 17:13:24 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5010</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2283468</commentid>
    <comment_count>12</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-01-26 16:11:09 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5049</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2283478</commentid>
    <comment_count>13</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-01-26 16:46:42 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3831</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2284024</commentid>
    <comment_count>14</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2024-01-29 09:33:30 +0000</bug_when>
    <thetext>Git commit 2d399e93f0301c43174dc2f35c67c24ee4216b9e by Vlad Zahorodnii.
Committed on 29/01/2024 at 09:14.
Pushed by vladz into branch &apos;master&apos;.

Relax constraints for screen edges reserved by windows

At the moment, if the workspace extends or shrinks by an output, the
hidden panel will be shown. It doesn&apos;t make sense in all cases.

Furthermore, no screen edge will be reserved if the layer surface has
some margins.

To address that, allow &quot;floating&quot; panels reserve screen edges and also
make kwin try harder to preserve window edges if the output layout
changes.

M  +11   -0    autotests/integration/layershellv1window_test.cpp
M  +7    -2    autotests/integration/screenedges_test.cpp
M  +21   -21   src/screenedge.cpp

https://invent.kde.org/plasma/kwin/-/commit/2d399e93f0301c43174dc2f35c67c24ee4216b9e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2284026</commentid>
    <comment_count>15</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2024-01-29 09:37:28 +0000</bug_when>
    <thetext>Git commit 80cd4bdbb5a21c364f5ab1818214e928af84bceb by Vlad Zahorodnii.
Committed on 29/01/2024 at 09:37.
Pushed by vladz into branch &apos;Plasma/6.0&apos;.

Relax constraints for screen edges reserved by windows

At the moment, if the workspace extends or shrinks by an output, the
hidden panel will be shown. It doesn&apos;t make sense in all cases.

Furthermore, no screen edge will be reserved if the layer surface has
some margins.

To address that, allow &quot;floating&quot; panels reserve screen edges and also
make kwin try harder to preserve window edges if the output layout
changes.


(cherry picked from commit 2d399e93f0301c43174dc2f35c67c24ee4216b9e)

M  +11   -0    autotests/integration/layershellv1window_test.cpp
M  +7    -2    autotests/integration/screenedges_test.cpp
M  +21   -21   src/screenedge.cpp

https://invent.kde.org/plasma/kwin/-/commit/80cd4bdbb5a21c364f5ab1818214e928af84bceb</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2284029</commentid>
    <comment_count>16</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2024-01-29 10:08:32 +0000</bug_when>
    <thetext>Git commit bf0b5574368e3b1997be42dc8a9f85db97369766 by Vlad Zahorodnii.
Committed on 29/01/2024 at 09:49.
Pushed by vladz into branch &apos;master&apos;.

shell: Don&apos;t show the panel temporarily on new screen

Screen edge constraints have been relaxed so the panel doesn&apos;t need
to issue a hide request on new output anymore.
Related: bug 474699

M  +0    -1    shell/panelview.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/bf0b5574368e3b1997be42dc8a9f85db97369766</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2284035</commentid>
    <comment_count>17</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2024-01-29 10:23:31 +0000</bug_when>
    <thetext>Git commit d7617f5f62408b83ad5433cd4fa464c30278c6b4 by Vlad Zahorodnii.
Committed on 29/01/2024 at 10:10.
Pushed by vladz into branch &apos;Plasma/6.0&apos;.

shell: Don&apos;t show the panel temporarily on new screen

Screen edge constraints have been relaxed so the panel doesn&apos;t need
to issue a hide request on new output anymore.
Related: bug 474699


(cherry picked from commit bf0b5574368e3b1997be42dc8a9f85db97369766)

M  +0    -1    shell/panelview.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/d7617f5f62408b83ad5433cd4fa464c30278c6b4</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>