<?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>479084</bug_id>
          
          <creation_ts>2023-12-27 16:51:22 +0000</creation_ts>
          <short_desc>Standalone &quot;Peek at Desktop&quot;, &quot;Minimize all&quot;, and &quot;Keyboard Layout&quot; widgets inappropriately transfer focus to their parent Panel when activated</short_desc>
          <delta_ts>2024-04-21 14:39:59 +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>Show Desktop/Minimize All widgets</component>
          <version>master</version>
          <rep_platform>Arch Linux</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=477585</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>regression, usability</keywords>
          <priority>HI</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Fernando Marcelino Muniz">fernandommuniz</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>accounts</cc>
    
    <cc>alexinq6</cc>
    
    <cc>butirsky</cc>
    
    <cc>comradeferret</cc>
    
    <cc>i.r.e.c.c.a.k.u.n+bugs.kde.org</cc>
    
    <cc>julien.dlq</cc>
    
    <cc>materka</cc>
    
    <cc>medip642</cc>
    
    <cc>michal.dybczak</cc>
    
    <cc>nate</cc>
    
    <cc>niccolo</cc>
    
    <cc>panospolychronis</cc>
    
    <cc>postix</cc>
    
    <cc>tim</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/libplasma/-/commit/abad7a55865f8ad2e936b34b33ffa5c2fe7d5598</cf_commitlink>
          <cf_versionfixedin>6.0.3</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2276798</commentid>
    <comment_count>0</comment_count>
    <who name="Fernando Marcelino Muniz">fernandommuniz</who>
    <bug_when>2023-12-27 16:51:22 +0000</bug_when>
    <thetext>This is might be just a setting I am not finding;
The “Peek Desktop” button on the corner of the taskbar, when clicked show the desktop as intended, however, it doesn’t transfer the focus/interactivity into the desktop, which is kind of annoying when trying to select files with the keyboard after clicking the “Peek Desktop” button, which result in sorting the taskbar icons, instead of the desktop files and folders.

Or to simplify: I need the “Peek Desktop” button to also minimize the taskbar itself, so i can navigate the Desktop files/folders.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2278819</commentid>
    <comment_count>1</comment_count>
    <who name="Fernando Marcelino Muniz">fernandommuniz</who>
    <bug_when>2024-01-08 18:59:36 +0000</bug_when>
    <thetext>The same issue happens when minimizing all windows in front of the desktop, then trying to interact with the files by moving your arrow keys.
The desktop should be the active area when it&apos;s the only area showing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2288858</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-02-15 05:34:10 +0000</bug_when>
    <thetext>Confirmed. It would be nice if clicking on it transferred focus to the desktop, yeah.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2289000</commentid>
    <comment_count>3</comment_count>
    <who name="Fernando Marcelino Muniz">fernandommuniz</who>
    <bug_when>2024-02-15 16:27:22 +0000</bug_when>
    <thetext>Should i file another bug for the same issue when manually minimizing all windows to show the desktop?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2289002</commentid>
    <comment_count>4</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-02-15 16:29:04 +0000</bug_when>
    <thetext>Nah, internally the widgets share most of their code, so let&apos;s cover both here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2293109</commentid>
    <comment_count>5</comment_count>
    <who name="Fernando Marcelino Muniz">fernandommuniz</who>
    <bug_when>2024-03-01 00:41:07 +0000</bug_when>
    <thetext>Updated the system info into the one that I currently have. (Same issue still happens)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2297365</commentid>
    <comment_count>6</comment_count>
    <who name="">comradeferret</who>
    <bug_when>2024-03-08 19:20:10 +0000</bug_when>
    <thetext>Problematic for folks who have unminimizable windows in the background that they use this widget as a shortcut for.  Worked fine in 5.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2298581</commentid>
    <comment_count>7</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-03-10 21:26:00 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2110</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2299045</commentid>
    <comment_count>8</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-03-11 17:56:36 +0000</bug_when>
    <thetext>Git commit 5909ac488df5fa469174387be4bb1ffe23578d0a by Nate Graham, on behalf of Niccolò Venerandi.
Committed on 11/03/2024 at 17:56.
Pushed by ngraham into branch &apos;master&apos;.

Panel: Don&apos;t take keyboard focus when one of its widgets is activated

This re-introduces the workaround that was removed by Marco in `6a61a56bcd`
Related: bug 482653
FIXED-IN: 6.0.2

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

https://invent.kde.org/plasma/plasma-desktop/-/commit/5909ac488df5fa469174387be4bb1ffe23578d0a</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2299053</commentid>
    <comment_count>9</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-03-11 18:07:18 +0000</bug_when>
    <thetext>Git commit a98f5f84098723a8c0dffeeb4de75f6f240a3671 by Nate Graham, on behalf of Niccolò Venerandi.
Committed on 11/03/2024 at 17:57.
Pushed by ngraham into branch &apos;Plasma/6.0&apos;.

Panel: Don&apos;t take keyboard focus when one of its widgets is activated

This re-introduces the workaround that was removed by Marco in `6a61a56bcd`
Related: bug 482653
FIXED-IN: 6.0.2


(cherry picked from commit 5909ac488df5fa469174387be4bb1ffe23578d0a)

3bfe5033 Do not give panel keyboard focus when an applet is activated

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

https://invent.kde.org/plasma/plasma-desktop/-/commit/a98f5f84098723a8c0dffeeb4de75f6f240a3671</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2303113</commentid>
    <comment_count>10</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-03-19 18:50:41 +0000</bug_when>
    <thetext>*** Bug 482653 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2303115</commentid>
    <comment_count>11</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-03-19 18:50:51 +0000</bug_when>
    <thetext>*** Bug 482058 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2303117</commentid>
    <comment_count>12</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-03-19 18:50:55 +0000</bug_when>
    <thetext>*** Bug 483235 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2303118</commentid>
    <comment_count>13</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-03-19 18:51:57 +0000</bug_when>
    <thetext>Re-opening as we have multiple reports of this still happening in Plasma 6.0.2, on both X11 and Wayland. I still can&apos;t reproduce those issues unfortunately.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2303120</commentid>
    <comment_count>14</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-03-19 18:52:24 +0000</bug_when>
    <thetext>*** Bug 483928 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2303154</commentid>
    <comment_count>15</comment_count>
    <who name="Hanabishi">i.r.e.c.c.a.k.u.n+bugs.kde.org</who>
    <bug_when>2024-03-19 20:02:22 +0000</bug_when>
    <thetext>I noticed that all reporters use Arch btw. So much at this point it does not look like a coincedence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2303729</commentid>
    <comment_count>16</comment_count>
    <who name="Niccolò Venerandi">niccolo</who>
    <bug_when>2024-03-21 11:22:05 +0000</bug_when>
    <thetext>I checked just for sure that Arch packaged the fix correctly and they do, so it&apos;s most likely a coincidence (or, rather, most new Plasma 6 users are from Arch).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2303734</commentid>
    <comment_count>17</comment_count>
    <who name="Edip">medip642</who>
    <bug_when>2024-03-21 11:51:38 +0000</bug_when>
    <thetext>(In reply to Hanabishi from comment #15)
&gt; I noticed that all reporters use Arch btw. So much at this point it does not
&gt; look like a coincedence.

Someone reproduced it on opensuse tumbleweed and neon testing, it&apos;s not from arch only</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2303745</commentid>
    <comment_count>18</comment_count>
    <who name="Hanabishi">i.r.e.c.c.a.k.u.n+bugs.kde.org</who>
    <bug_when>2024-03-21 12:24:50 +0000</bug_when>
    <thetext>Ok, I just pointed out the pattern. But yeah, it explains simply by most early adopters being from Arch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2304048</commentid>
    <comment_count>19</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-03-22 07:33:28 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/libplasma/-/merge_requests/1082</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2304872</commentid>
    <comment_count>20</comment_count>
    <who name="Niccolò Venerandi">niccolo</who>
    <bug_when>2024-03-24 09:30:33 +0000</bug_when>
    <thetext>*** Bug 484339 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2305005</commentid>
    <comment_count>21</comment_count>
    <who name="Michał Dybczak">michal.dybczak</who>
    <bug_when>2024-03-24 17:43:00 +0000</bug_when>
    <thetext>I&apos;ve seen the commits pushed to 6.0.2 and yet the bug is still present in 6.0.3. Am I missing something?
I can reproduce the bug at any time 100% reliably.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2305396</commentid>
    <comment_count>22</comment_count>
    <who name="Niccolò Venerandi">niccolo</who>
    <bug_when>2024-03-25 13:09:40 +0000</bug_when>
    <thetext>(In reply to Michał Dybczak from comment #21)
&gt; I&apos;ve seen the commits pushed to 6.0.2 and yet the bug is still present in
&gt; 6.0.3. Am I missing something?
&gt; I can reproduce the bug at any time 100% reliably.

The bugfix is accidentally missing from 6.0 where it should&apos;ve been, but since it also caused some other issues we&apos;re investigating a better approach directly</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2305398</commentid>
    <comment_count>23</comment_count>
    <who name="Niccolò Venerandi">niccolo</who>
    <bug_when>2024-03-25 13:10:01 +0000</bug_when>
    <thetext>*** Bug 484417 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2305496</commentid>
    <comment_count>24</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-03-25 19:05:32 +0000</bug_when>
    <thetext>Git commit 6794ae6ab7c2c50f5ac57d7f32f5db1f7347201c by Nate Graham, on behalf of Niccolò Venerandi.
Committed on 25/03/2024 at 19:05.
Pushed by ngraham into branch &apos;master&apos;.

Do not activate containment when one of its applet is activated

Reasoning is that some applets use &quot;activated&quot; when they would to trigger
their action, e.g. the show desktop applet. If the containment (here, the
panel) also gets activated as a result, it will get mouse input and a blue
line will appear. Previously this was avoided by some hacky code that (a)
apparently was not working for some people and (b) broke auto-hide and
dodge windows after clicking on &quot;Minimize all&quot;.

This will also allow us to delete the hack in plasma-desktop.
Related: bug 483941
FIXED-IN: 6.0.3

M  +0    -4    src/plasma/containment.cpp

https://invent.kde.org/plasma/libplasma/-/commit/6794ae6ab7c2c50f5ac57d7f32f5db1f7347201c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2305498</commentid>
    <comment_count>25</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-03-25 19:06:27 +0000</bug_when>
    <thetext>Git commit 6203530a48a46e276d8e59452d23861118c1e362 by Nate Graham, on behalf of Niccolò Venerandi.
Committed on 25/03/2024 at 19:06.
Pushed by ngraham into branch &apos;master&apos;.

Revert &quot;Panel: Don&apos;t take keyboard focus when one of its widgets is activated&quot;

This reverts commit 5909ac488df5fa469174387be4bb1ffe23578d0a.

This is a companion to
https://invent.kde.org/plasma/libplasma/-/merge_requests/1082, which
removes need for this hack
Related: bug 483941

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

https://invent.kde.org/plasma/plasma-desktop/-/commit/6203530a48a46e276d8e59452d23861118c1e362</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2305501</commentid>
    <comment_count>26</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2024-03-25 19:08:04 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2143</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2305503</commentid>
    <comment_count>27</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-03-25 19:14:57 +0000</bug_when>
    <thetext>Git commit e53fd6b066d569ae8247e5565c51560ace7af078 by Nate Graham, on behalf of Niccolò Venerandi.
Committed on 25/03/2024 at 19:06.
Pushed by ngraham into branch &apos;Plasma/6.0&apos;.

Revert &quot;Panel: Don&apos;t take keyboard focus when one of its widgets is activated&quot;

This reverts commit 5909ac488df5fa469174387be4bb1ffe23578d0a.

This is a companion to
https://invent.kde.org/plasma/libplasma/-/merge_requests/1082, which
removes need for this hack
Related: bug 483941


(cherry picked from commit 6203530a48a46e276d8e59452d23861118c1e362)

c2994876 Revert &quot;Panel: Don&apos;t take keyboard focus when one of its widgets is activated&quot;

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

https://invent.kde.org/plasma/plasma-desktop/-/commit/e53fd6b066d569ae8247e5565c51560ace7af078</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2305506</commentid>
    <comment_count>28</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-03-25 19:24:38 +0000</bug_when>
    <thetext>Git commit abad7a55865f8ad2e936b34b33ffa5c2fe7d5598 by Nate Graham, on behalf of Niccolò Venerandi.
Committed on 25/03/2024 at 19:10.
Pushed by ngraham into branch &apos;Plasma/6.0&apos;.

Do not activate containment when one of its applet is activated

Reasoning is that some applets use &quot;activated&quot; when they would to trigger
their action, e.g. the show desktop applet. If the containment (here, the
panel) also gets activated as a result, it will get mouse input and a blue
line will appear. Previously this was avoided by some hacky code that (a)
apparently was not working for some people and (b) broke auto-hide and
dodge windows after clicking on &quot;Minimize all&quot;.

This will also allow us to delete the hack in plasma-desktop.
Related: bug 483941
FIXED-IN: 6.0.3
(cherry picked from commit 6794ae6ab7c2c50f5ac57d7f32f5db1f7347201c)

M  +0    -1    src/plasma/containment.cpp

https://invent.kde.org/plasma/libplasma/-/commit/abad7a55865f8ad2e936b34b33ffa5c2fe7d5598</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2313210</commentid>
    <comment_count>29</comment_count>
    <who name="Fernando Marcelino Muniz">fernandommuniz</who>
    <bug_when>2024-04-21 14:17:34 +0000</bug_when>
    <thetext>Sorry, but I found leftovers of this issue:

1) If you have some of folders vertically aligned, then delete one, and press the left/right arrow keys; You no longer can use the up/down arrow keys to select the other folders.

2) The same happens if you indeed have a folder on the left/right, but it&apos;s not vertically aligned with the folder you just deleted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2313214</commentid>
    <comment_count>30</comment_count>
    <who name="Fernando Marcelino Muniz">fernandommuniz</who>
    <bug_when>2024-04-21 14:19:01 +0000</bug_when>
    <thetext>2) Horizontally aligned***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2313216</commentid>
    <comment_count>31</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2024-04-21 14:39:59 +0000</bug_when>
    <thetext>Those are different issue; please don&apos;t re-open existing bug reports for them.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>