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 Ian MacArthur Jan 30, 2023  
 
On Friday, 27 January 2023 at 23:00:20 UTC Albrecht Schlosser wrote:
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?

OK, so I tried a few boxes (and also tried WSL2, since I have my Win11 box running anyway; my WSL2 setup is basically Ubuntu 22.04, FWIW.)

The results were mixed: I have one laptop, with Ubuntu 22.04 with an Intel GPU, that behaves as the OP showed, when running in X11 mode. Running in Wayland mode it is fine, no problem.

Other systems were fine in either X11 or Wayland modes, including WSL2 (though it has its other problems, of course...)

I'd be interested to know what GPU the OP has, along with the questions Albrecht asked; it may be something to do with the Intel GLX drivers, since it does not *appear* to be a specific fltk issue here (or at least, fltk works OK on some systems, at any rate!)

--
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/f6ea4d3d-4d89-421a-b9a3-95e08c5b5544n%40googlegroups.com.
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'.