FLTK logo

Re: [fltk.coredev] reentrant calls with Fl_Window::resize

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 ]

Re: reentrant calls with Fl_Window::resize Greg Ercolano Nov 23, 2021  
 

On 11/23/21 12:29 AM, imacarthur wrote:

On Monday, 22 November 2021 at 18:11:45 UTC Bill wrote:
I seem to remember adding quite a few checks to see if it was resizing to the size it already was in order to reduce this.


FWIW, when I saw this post originally, I had a vague sense that, at some point in the distant past (which I can now find no evidence for...) there was an investigation into recursive calls to resize() and so forth. My recollection, such as it is, was that there was also a platform related aspect to it (i.e. X11 behaved differently to Win32, etc.)


    Sounds familiar -- may have been an STR, as sometimes those threads could
    get really long (esp. if I was involved, lol).

    There are a few deep rabbit holes; (a) following events up and down the widget
    hierarchy was one, and (b) tracking down resize() calls in and out of the window
    manager was another.

    Some of that behavior was even window manager specific, due to how it could
    redefine/restrict/retrigger resize behavior. Also, the app itself in trying to reopen
    itself at the same position/size it had been in when it last closed, might go through
    a few resizes, one opening at the default size, then resizing after loading its previous
    config.

--
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/1c4c3c57-a6c7-953c-cb33-0f41be74e805%40seriss.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'.