FLTK logo

Re: [fltk.general] Window maximizing with Fl_Gl_Window

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Window maximizing with Fl_Gl_Window Albrecht Schlosser Jan 27, 2023  
 
On 1/27/23 13:55 Lukas Lang wrote:
I am encountering an issue with maximizing/restoring Windows that contain a Fl_Gl_Window: It seems the Fl_Gl_Window is not properly redrawn when the Window changes to/from a maximized state. As a demonstration, I recorded the behavior of the OpenGL3test.cxx example on my Ubuntu 20.04 system:

I just tried the demo on my Linux Mint 20 which is based on Ubuntu 20.04 and it works as expected for maximizing and restoring (and manually resizing as well). I tried both X11 and Wayland backends, both work fine.


I have no idea why it doesn't work on your (Lukas') system. Maybe an issue with the OpenGL driver? What graphics adapter do you have, and can you maybe change the graphics driver or some optimization level?


Other questions:
 - which (exact) FLTK version are you using (download version, Git revision,...)  - which desktop are you using? Is it a Wayland enabled desktop, or is it pure X11?  - if the former (Wayland), can you run the demo with the X11 backend (FLTK 1.4 current)?

The latter would be something like

$ FLTK_BACKEND=x11 ./OpenGL3test

(replace x11 with wayland to use the Wayland backend if this is enabled in your FLTK 1.4 build).

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/c20c2211-788b-515a-bac4-2db570e610a1%40online.de.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.