-
Notifications
You must be signed in to change notification settings - Fork 255
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
Resize/redraw broken on macOS 12 #508
Comments
I'm afraid a test app showing the problem would be needed. |
Ok I'll post something here if I succeed to reproduce the issue with a simple test app. Meanwhile if you want to see the issue in the real app it's quite easy: on your mac run
You can then open |
I got gmsh built here now after some more fiddling. |
No problem here with window resize ! |
Unfortunately, I no longer have access to a running macOS 12. I have built FLTK and gmsh with SDK 11.3 and deployment target=11.0 Is it possible the errors you've seen result from a mix of distinct commits between the libfltk.a used at gmsh link step and FL/*.h include files used at gmsh compile step ? |
I just tested by doing a clean FLTK install but I see the same issue. Here's a short video: can you try the same kind of actions (resize by dragging the middle separator, click on the bottom bar) with your Gmsh build? bug.movBasically it seems that the app is missing some redraws, which can be triggered by moving the mouse and waiting for about 1 second. |
No error here (under macOS 13 public beta) when dragging the middle separator or clicking on the bottom bar with the last FLTK commit. At this point, it would be very helpful if you could identify the commit where your problems appeared. |
I see the problem now here too under macOS 11. I should be able to begin an investigation. |
The problem is visible with test/tile when moving the sub window's border. This also fixes issue #508
@ManoloFLTK: perfect, that fixes it. Thanks! |
@ManoloFLTK: I have just tested the latest FLTK master (4196daa) with Gmsh on macOS 12 (Monterey), and it breaks window resizing/redrawing. For example, when clicking on some widgets nothing happens until I move the mouse and wait for about 1 second.
Going back to 59fc60e ("Simpler code to support FLTK widgets in macOS OpenGL 3 windows") restores correct behavior. I haven't had time to bisect more.
The text was updated successfully, but these errors were encountered: