<?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>347855</bug_id>
          
          <creation_ts>2015-05-17 20:03:08 +0000</creation_ts>
          <short_desc>&quot;Alternatives&quot; for Widgets fails to display when using Auto Hide</short_desc>
          <delta_ts>2020-06-29 10:43:47 +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.2.2</version>
          <rep_platform>Kubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>384758</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David">davidje13</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>g.guerin</cc>
    
    <cc>kde</cc>
    
    <cc>mail</cc>
          
          <cf_commitlink>https://commits.kde.org/plasma-workspace/2d8b4e1dec26c5976dd75c238c3ae8a4700b8dd9</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1519658</commentid>
    <comment_count>0</comment_count>
    <who name="David">davidje13</who>
    <bug_when>2015-05-17 20:03:08 +0000</bug_when>
    <thetext>With a panel configured to auto-hide, choosing Alternatives from the context menu for (e.g.) Task Manager or Digital Clock does not display the alternatives box. Using Present Windows reveals that a transparent window has appeared (Alt+Tab can also be used). Switching to this window makes it appear correctly. Before switching to the window, it appears that clicking is also ineffective.

Reproducible: Always

Steps to Reproduce:
1. Set a panel to auto hide (can be docked to any screen edge), and contain a widget which has alternatives (e.g. Application Launcher, Task Manager, Digital Clock)
2. Right click on the widget, choose &quot;Alternatives...&quot;

Actual Results:  
No window appears (Use Present Windows or Alt+Tab to see invisible window)

Expected Results:  
Window should appear, same as if panel were not set to auto-hide</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1519660</commentid>
    <comment_count>1</comment_count>
    <who name="Kai Uwe Broulik">kde</who>
    <bug_when>2015-05-17 20:07:28 +0000</bug_when>
    <thetext>Interesting. I can confirm this on 5.3.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1542807</commentid>
    <comment_count>2</comment_count>
    <who name="Elias Probst">mail</who>
    <bug_when>2015-09-09 05:45:40 +0000</bug_when>
    <thetext>Can&apos;t reproduce this on current master, but instead seeing now bug#352459 which is related.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1688371</commentid>
    <comment_count>3</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2017-07-12 13:50:59 +0000</bug_when>
    <thetext>Git commit 2d8b4e1dec26c5976dd75c238c3ae8a4700b8dd9 by David Edmundson.
Committed on 12/07/2017 at 13:50.
Pushed by davidedmundson into branch &apos;master&apos;.

Don&apos;t autohide panel if a child window is open

Summary:
This is meant as a more generic fix for the autohide panels, actually
looking to see what transient windows we have open.

The problem with the current fixes (D6555) being posted is that we
potentially get attentionStatus in a corrupt status as we cache the
value but it might change externally whilst that window is open.

Also saves duplicating code in a bunch of places.

Test Plan:
Set autohide
Opened a context menu in task manager didn&apos;t autohide, till I closed it
Closing menu whilst keeping mouse in the panel doesn&apos;t auto hide it
until we move out after.
Hovering over TM tooltip keeps autohide from closing (another fix)
Related: bug 352459, bug 351823

Reviewers: #plasma, broulik

Reviewed By: #plasma, broulik

Subscribers: broulik, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D6577

M  +10   -0    shell/panelview.cpp
M  +1    -0    shell/panelview.h

https://commits.kde.org/plasma-workspace/2d8b4e1dec26c5976dd75c238c3ae8a4700b8dd9</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1940437</commentid>
    <comment_count>4</comment_count>
    <who name="Gauthier">g.guerin</who>
    <bug_when>2020-06-29 10:20:13 +0000</bug_when>
    <thetext>Seems like this bug (or very similar) is back on Plasma 5.19.2.

When I click on &quot;Show alternatives...&quot; in an item on an auto hide panel, a pop-up window just flashes and disappear as the panel auto hides. This is true for clock, task manager, app menu, etc.

It work fine if say I first click on the clock to open the calendar and then right click on the clock to &quot;Show alternatives...&quot; as the open calendar window prevents the panel from hiding.

Config below:

Operating System: KDE neon 5.19
KDE Plasma Version: 5.19.2
KDE Frameworks Version: 5.71.0
Qt Version: 5.14.2
Kernel Version: 5.3.0-61-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i5-8350U CPU @ 1.70GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa DRI Intel® UHD Graphics 620</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1940446</commentid>
    <comment_count>5</comment_count>
    <who name="Gauthier">g.guerin</who>
    <bug_when>2020-06-29 10:43:47 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 384758 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>