Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panel disappear when close QDockWidget #780

Open
itisyang opened this issue Apr 26, 2024 · 3 comments
Open

panel disappear when close QDockWidget #780

itisyang opened this issue Apr 26, 2024 · 3 comments

Comments

@itisyang
Copy link

itisyang commented Apr 26, 2024

Expected behaviour

--

Actual behaviour

  1. Panel disappear when close QDockWidget
  2. All the “always above” windows will disappear

Steps to reproduce the behaviour

Using the attached test program, run it and close the top qdockWidget

MATE general version

1.28.*

Package version

1.28.*

Linux Distribution

--

Link to bugreport of your Distribution (requirement)

--

Test program

test_dock.zip

@itisyang
Copy link
Author

itisyang commented Apr 26, 2024

Test program screenshot:

image

@itisyang
Copy link
Author

itisyang commented Apr 26, 2024

The reason is that the "xrender_process_event" function handles the "ConfigureNotify" event, which calls "restack_win", and the “always above” windows such as panel are hidden under the desktop(x-caja-des)

The "restack_win" function places some windows in front of some unknown window that is not displayed

@itisyang
Copy link
Author

itisyang commented Apr 26, 2024

I looked at the code for mutter and metacity and found that they no longer handle the "ConfigureNotify" event

https://gitlab.gnome.org/GNOME/mutter/-/commit/f9568535509e40a35e9a875b4d91686ab2969e42
https://gitlab.gnome.org/GNOME/metacity/-/commit/8b0ed193cfa771ec1f3ba70b272b9b14e02e6d3c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant