-
Notifications
You must be signed in to change notification settings - Fork 256
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
Buggy behaviour of dropdown menus on secondary monitor under Wayland #724
Comments
@polter-rnd The crash you report is hopefuly fixed with the commit mentionned above. Please, report here if you confirm that. I can reproduce the problem described here. What I see is : when a popup menu window is expected to appear and the current window is on a secondary display and the normal position of the popup would make it hit the top of the display, the expected popup does not appear. For me, that's a bug of the Wayland compositor. I'm not sure if something can be done within the FLTK library to avoid it. |
@polter-rnd I believe the commit mentionned above should fix the behaviour of dropdown menus on a secondary display. Please, report here what you see. |
Hi, thank you, combo box behavior in However looks like the fix introduced strange side effects on window menus (does not depend on primary/secondary monitor), please watch till the end: Kooha-2023-05-02-16-44-38.mp4 |
The last commit hopefully takes care of the last problem mentionned here. |
Thanks, confirming it is fixed now |
Describe the bug
When running
test/forms
example under Wayland on secondary monitor, when the drop down does not fit the available space above, it is not drawn until the window is dragged below.Important: it only reproduces on secondary monitor.
To Reproduce
Steps to reproduce the behavior:
bin/test/forms
example under Wayland (GNOME)Expected behavior
It should open as usual, but in fact it does not. When I drag the window down, it eventually is drawn.
Sometimes it segfaults when moving mouse around the area where menu should be drawn.
Video
Kooha-2023-04-28-15-41-27.mp4
FLTK Version
FLTK Configure / Build Options
cmake -DCMAKE_BUILD_TYPE=Debug -DOPTION_WAYLAND_ONLY=ON ..
Operating System / Platform:
Linux/Unix Runtime, if applicable:
Additional context
Segfault call stack is the same as in issue #723
I'm attaching another core dump here as well, just in case:
forms3-debug.zip
The text was updated successfully, but these errors were encountered: