Bug 347855 - "Alternatives" for Widgets fails to display when using Auto Hide
Summary: "Alternatives" for Widgets fails to display when using Auto Hide
Status: RESOLVED DUPLICATE of bug 384758
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.2.2
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-17 20:03 UTC by David
Modified: 2020-06-29 10:43 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2015-05-17 20:03:08 UTC
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 "Alternatives..."

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
Comment 1 Kai Uwe Broulik 2015-05-17 20:07:28 UTC
Interesting. I can confirm this on 5.3.0
Comment 2 Elias Probst 2015-09-09 05:45:40 UTC
Can't reproduce this on current master, but instead seeing now bug#352459 which is related.
Comment 3 David Edmundson 2017-07-12 13:50:59 UTC
Git commit 2d8b4e1dec26c5976dd75c238c3ae8a4700b8dd9 by David Edmundson.
Committed on 12/07/2017 at 13:50.
Pushed by davidedmundson into branch 'master'.

Don'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't autohide, till I closed it
Closing menu whilst keeping mouse in the panel doesn'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
Comment 4 Gauthier 2020-06-29 10:20:13 UTC
Seems like this bug (or very similar) is back on Plasma 5.19.2.

When I click on "Show alternatives..." 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 "Show alternatives..." 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
Comment 5 Gauthier 2020-06-29 10:43:47 UTC

*** This bug has been marked as a duplicate of bug 384758 ***