FLTK logo

[fltk.coredev] Windows 11 crash (still investigating)

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.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Windows 11 crash (still investigating) Gonzalo Garramuño 07:10 Apr 28  
  Manolo wrote me privately, but he wanted me to share it.


On 4/28/2024 10:33 AM, Manolo Gouy wrote:
Gonzalo: I believe we must know exactly the scenario that produces the crash,
even more because it happens in 22 years old code. The code in question
searches "what really turned invisible". This means that it’s expected to run
only for a window below something in a widget tree that has been turned
invisible before. In that situation p is never NULL because p->visible() is
false before p gets replaced by p->parent(). So what exactly is the scenario
in which this code is run by this particular client app? Isn’t there something wrong before?

Manolo

The problem happens when calling hide on a window from within an FL_LEAVE event. I was working around the issue with a timeout but it would still sometimes fail.

Here's a video of the issue (with the console printing out the Fl_Window.cxx nullptr):

https://mega.nz/file/7DhlCLiS#yWd1k-n10M86QQBO0gbjx-mDZNk99P-gP4ZnZhWApxs

As you move or enter the timeline a thumbnail appears, like on Netflix. The problem is calling hide when exiting the the timeline (ie. FL_LEAVE of the timeline widget). Note I never destroy the thumbnail, just hide it.

-- 
Gonzalo Garramuño
ggarra13@gmail.com

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/b62a8c51-63e8-4ad4-aa61-15510d303479%40gmail.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'.