Bug 426969 - Widget Explorer Rearranges Windows After Closing
Summary: Widget Explorer Rearranges Windows After Closing
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Widget Explorer (show other bugs)
Version: 5.19.90
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: wayland
: 433793 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-09-25 18:58 UTC by Andres Betts
Modified: 2022-01-14 01:27 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.91


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andres Betts 2020-09-25 18:58:17 UTC
SUMMARY
Whenever the widget panel appears and there are windows behind it, the panel will rearrange windows and dock them to the left of the screen. Not sure what causes it but it is happening.

STEPS TO REPRODUCE
1. Open a few applications
2. Open Widget Sidbar
3. Close Widget Sidebar

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2020-09-26 15:35:16 UTC
Can you attach a screen recording?
Comment 2 Andres Betts 2020-09-27 13:33:16 UTC
I am on wayland so I wasn't able to get a screen recorder so I used my phone.

https://youtu.be/Y90otOIWHjY
Comment 3 Nate Graham 2020-09-28 13:38:09 UTC
That video is marked as private, so I can't see it. I think you want "unlisted" not "private".
Comment 4 Andres Betts 2020-09-29 14:24:51 UTC
VIDEO FIXED!
Comment 5 Nate Graham 2020-09-29 17:11:48 UTC
Thanks, can confirm.
Comment 6 David Edmundson 2022-01-12 17:00:46 UTC
It is a plasma surface with set_role(2) and set_panel_takes_focus(1)
Comment 7 David Edmundson 2022-01-12 17:04:28 UTC Comment hidden (spam)
Comment 8 Nate Graham 2022-01-12 18:25:03 UTC
*** Bug 433793 has been marked as a duplicate of this bug. ***
Comment 9 Bug Janitor Service 2022-01-12 22:22:14 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/429
Comment 10 David Edmundson 2022-01-13 10:47:22 UTC
Git commit d40d36057a0ee9fcb4badc7ff8b56844da79dfc8 by David Edmundson.
Committed on 13/01/2022 at 10:36.
Pushed by davidedmundson into branch 'master'.

Always sync the setPanelBehavior to wayland

Currently this code is in the else statement to if (type !=
Dialog::Normal) {

This doesn't make sense as panel roles apply explicitly to other types,
like Dialog::Dock. On X11 the equivalent always applies.

M  +10   -10   src/plasmaquick/dialog.cpp

https://invent.kde.org/frameworks/plasma-framework/commit/d40d36057a0ee9fcb4badc7ff8b56844da79dfc8