Re: [LOW] STR #3528: Fl_Tree: dragging an item over a widget() can cause FL_RELEASE to be ignored

GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.bugs  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [LOW] STR #3528: Fl_Tree: dragging an item over a widget() can cause FL_RELEASE to be ignored Albrecht Schlosser Aug 28, 2019 top right image
 
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: https://www.fltk.org/str.php?L3528
Version: 1.4-current


I looked into it (git commit 8c39007b26 as of today) ... and yes, it seems
to be true that Fl_Tree::handle() calls Fl_Group::handle() at line 374 and
eclipses FL_DRAG and other events from further handling in Fl_Tree if a
widget handles the event, i.e. returns 1.

The question I see here (in general) is "what is intended by the user" when
they drop anything (not further specified) on a widget which is embedded in
the tree? Do they expect the widget to handle the FL_DROP event (whatever
it may do with it), or do they expect the Fl_Tree to handle the FL_DROP
event and maybe move an item around? I don't know...


Link: https://www.fltk.org/str.php?L3528
Version: 1.4-current


Direct Link to Message ]
 
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]
 
 

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