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

Fix PopupWindow dropdown menus do not display #4201 #5704

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

gw0
Copy link
Contributor

@gw0 gw0 commented Jan 6, 2025

Fixes #4201 that makes Bambu Studio unusable under some window managers, but reintroduces inconvenience of PopupWindow remaining in front after alt+tab.

@lanewei120 lanewei120 requested a review from bambu123 January 9, 2025 11:35
@bambu123
Copy link
Collaborator

bambu123 commented Jan 9, 2025 via email

@gw0
Copy link
Contributor Author

gw0 commented Jan 10, 2025

Deleting this code may cause the popup to remain on the desktop, even if the main window has been switched to the background.

Yes, this does have this consequence. But it is better to have an annoyance when pressing alt+tab than have a unusable app. Removing this line resolves the regression #4201 that makes Bambu Studio unusable.

I am not a GTK expert, but maybe the proper solution for the alt+tab issue would be to use one of the GTK window type hints instead of dismissing popup windows on events (what the problematic line does): https://docs.gtk.org/gdk3/enum.WindowTypeHint.html

@bambu123
Copy link
Collaborator

bambu123 commented Jan 13, 2025 via email

@lanewei120 lanewei120 merged commit 98bfabd into bambulab:master Jan 14, 2025
14 checks passed
@lanewei120
Copy link
Collaborator

thanks for doing this

@back2ll
Copy link

back2ll commented Jan 14, 2025

Thank you as well for doing this!

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

Successfully merging this pull request may close these issues.

[Regression] Printer / Filament / Process dropdown menus do not display
4 participants