Skip to content

Conversation

@leolost2605
Copy link
Member

Fixes #2080

Copy link
Member

@lenemter lenemter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes the issue with the Dock, but not if you log in -> open maximized window using Super + number -> press Super to open Applications menu, this results in application menu being below maximized window. I guess we need to apply the same fix somewhere else in the code?

@leolost2605
Copy link
Member Author

Yeah probably I'm just not sure where would be best. I guess we should connect to some event but which? We could do focus on the window but that only works because we know the wingpanel implementation and that it requests focus every time it goes out of it's reserved space 🤷
Any ideas?

@lenemter
Copy link
Member

I have no idea either. I think we should add // FIXME here and just merge it. We can fix wingpanel issue later as it's not critical.

@lenemter lenemter mentioned this pull request Oct 21, 2024
@TomiOhl
Copy link
Contributor

TomiOhl commented Oct 21, 2024

Note that even on "stock" Horus (and nothing compiled from source) the application menu is behind maximized windows, so it's not a new issue and not related to new changes

@leolost2605
Copy link
Member Author

I have no idea either. I think we should add // FIXME here and just merge it. We can fix wingpanel issue later as it's not critical.

I did that now so it updates visible on focused which should fix the wingpanel issue for now

@leolost2605 leolost2605 requested a review from lenemter October 23, 2024 12:22
@leolost2605
Copy link
Member Author

Note that even on "stock" Horus (and nothing compiled from source) the application menu is behind maximized windows, so it's not a new issue and not related to new changes

Hmm I don't remember that. Maybe you mean fullscreen windows so that wingpanel isn't visible at all?

@TomiOhl
Copy link
Contributor

TomiOhl commented Oct 24, 2024

Note that even on "stock" Horus (and nothing compiled from source) the application menu is behind maximized windows, so it's not a new issue and not related to new changes

Hmm I don't remember that. Maybe you mean fullscreen windows so that wingpanel isn't visible at all?

Oh yes I mean fullscreen, when wingpanel isn't visible. Then if I press Super + space to open the application menu, it opens behind the window (I can search and launch apps via the keyboard). Doesn't happen if the app is just maximized and wingpanel is still visible, in that case the application menu appears above the window. Got a little confused by the terms, sorry

@lenemter lenemter merged commit c668f18 into main Oct 24, 2024
4 checks passed
@lenemter lenemter deleted the leolost/fix-panel-flicker branch October 24, 2024 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Dock flickering

5 participants