Bug 481298 - Panels Don't always hide when entering Application Dashboard.
Summary: Panels Don't always hide when entering Application Dashboard.
Status: CONFIRMED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: Application Dashboard (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
: 483773 490946 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-02-13 18:32 UTC by Zoey Ahmed
Modified: 2024-07-30 20:45 UTC (History)
8 users (show)

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


Attachments
Video (3.02 MB, video/mp4)
2024-03-02 15:09 UTC, Shubham Arora
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zoey Ahmed 2024-02-13 18:32:03 UTC
SUMMARY
In some cases of opening the application dashboard, it does not completely hide away all panels the user have setup (as shown below in the imgur link). This is sporadic, and 8/10 the panels behave as normal and are hidden behind the application dashboard, but sometimes they do not. I have noticed this tends to happen more while bringing up the dashboard while in a fullscreen application, such as a video game.


STEPS TO REPRODUCE
1. Have at least one panel on the desktop
2. Open the application dashboard, multiple times, ideally while in a fullscreen application like a video game.

OBSERVED RESULT
Sometimes, the panels appear above the dashboard.

EXPECTED RESULT
The panels never appear above the dashboard, no matter circumstances.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.6.1
Kernel Version: 6.8.0-0.rc3.20240209git1f719a2f3fa6.31.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10505 CPU @ 3.20GHz
Memory: 7.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6400
Manufacturer: Dell Inc.
Product Name: OptiPlex 3080

ADDITIONAL INFORMATION
Pictures of this happening: https://imgur.com/gallery/nd1ZEtw
Comment 1 Shubham Arora 2024-02-18 07:03:32 UTC
Not able to reliably but have seen it happen sometimes.

Operating System: EndeavourOS 
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0
Kernel Version: 6.7.4-arch1-1.1-g14 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 6800HS with Radeon Graphics
Memory: 14.9 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ROG Flow X13 GV301RA
System Version: 1.0
Comment 2 Marco Martin 2024-02-19 10:46:46 UTC
can't seem to reproduce
Comment 3 fin-w 2024-02-22 21:08:30 UTC
I can confirm this happening. I'm not sure of the underlying logic, but sometimes the Meta key will show the Dashboard and the Panel (Panel over the top), sometimes the Meta key shows Dashboard only, but on HIDING the Dashboard, the Panel then shows.

Sometimes you can see graphical issues in the blurred background that seem related to the Panel (a sharp-edged rectangle of blur where the panel goes, which looks different from the rest of the blur: for instance if the Dashboard is shown and the Panel hides i.e. moves, behind the Dashboard, then you might see the graphical issues), sometimes these graphical issues on the Dashboard can be "rubbed out" with the mouse to reveal the correct blur underneath. The graphical issues specifically, remind me of this issue https://bugs.kde.org/show_bug.cgi?id=480976 where the graphical problem seems similar (at least, I can also "erase" it with the mouse).

In terms of showing / hiding the Panel, it looks to me like all Panels that can auto-hide should do so immediately when the Dashboard is displayed. If there's something tracking whether the Panel / Dashboard should show, I wonder if it gets confused as to whether the Dashboard is open, and so the Panel is responding incorrectly?

It seems related to where focus is? And sometimes a coloured bar runs below the Launcher / start menu button, like the highlight seen on active windows, except it's floating a way off from the panel though clearly indicating focus on the Launcher button.

1.
Boot laptop, don't touch anything until Plasma is fully loaded & logged in.
Now press Meta key and Dashboard shows, no Panel.
Press Meta key again, Dashboard hides, Panel shows.
Press Meta key again, Dashboard shows, Panel hides. This pattern repeats.

2.
With Dashboard and Panel hidden, open a window e.g. Dolphin. I opened this from my Desktop. Full-screen or not seems irrelevant, but window focus seems important.
Press Meta and Dashboard shows, but Panel unhides and displays over Dashboard.
Press Meta and Dashboard hides, Panel stays visible.
Press Meta again and Dashboard shows, Panel hides.
Press Meta key again, Dashboard hides, Panel shows: back to the same pattern as before.

3.
If I navigate within Dolphin i.e. that window is focused, next time I press Meta, behaviour is the same as that described in 2.

Neon Unstable, updated today.
Plasma 6.0.80
Frameworks 6.0.0
Qt 6.6.2
Wayland
Graphics: Mesa Intel HD Graphics 3000
Comment 4 fin-w 2024-02-22 22:41:27 UTC
It looks to me like the Dashboard is returning focus to the wrong thing? I'm not familiar with how Plasma deals with focus, but it looks to me like when Dashboard hides it hands off focus back to something. That could be Dolphin, but also could be the Panel, or specifically the start menu / Launcher button, in at least some cases? I think it makes sense to return focus to a window, but not a Panel. There may be other things happening but I suspect this is a large part of the problem.

Checking on Plasma 5.27.10 to compare, pressing Meta twice does actually show Dashboard and then hide it but return focus to the Panel rather than the last used window. So perhaps this is expected behaviour here too? Though it seems wrong to me.

However, back in Plasma 6, when pressing Esc in Dashboard, I can get windows to show on top of Dashboard, and have the Panel showing all at once! This seems to only occur when the Dashboard is displayed and the Panel is displayed on top. I'm not opening a separate issue since this all seems related to focus / Panel visibility.
Comment 5 Shubham Arora 2024-03-02 15:09:27 UTC
Created attachment 166304 [details]
Video

I was able to reproduce the issue more easily. I am triggering the dashboard with Super Key in the video.
Comment 6 Titouan Camus 2024-03-16 08:40:09 UTC
I can reproduce  systematically on virtual desktop 1. It works properly in other VD.

Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-25-generic (64-bit)
Comment 7 Titouan Camus 2024-03-17 14:05:03 UTC
*** Bug 483773 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2024-07-30 20:45:31 UTC
*** Bug 490946 has been marked as a duplicate of this bug. ***