FLTK logo

Re: [fltk.general] Re: Updating program to 1.4.x

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: Re: Updating program to 1.4.x Rob McDonald May 24, 2021  
  Thanks Greg,

I've attached a MWE of this issue below.  I tried to make the minimum changes to Greg's example, so it doesn't match my situation 100%, but it does show the unexpected (to me) behavior.

Observed behavior --
fl_choice "You Pushed the Button!" displayed on button press (not release).  Even when initiating a drag-n-drop to a target.
Drag-n-drop still works as desired

Desired behavior - 
fl_choice Not displayed when initiating a drag-n-drop operation.
fl_choice Only displayed when button is released and mouse is still within the button extents
Nothing happens if you click on the button, drag outside the button, and release outside the drop target.

I'm on MacOS Catalina 10.15.7 -- with all updates.

FLTK 1.4.x from cbee4880f45c on GitHub.

'c++ --version' Reports:
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Rob

On Monday, May 24, 2021 at 6:19:17 PM UTC-7 Rob McDonald wrote:
Thanks.

I had just pulled the example from your cheat sheet and was starting to work from that.  This looks to be a bit nicer over all.

Rob


On Monday, May 24, 2021 at 4:00:09 PM UTC-7 er...@seriss.com wrote:

On 5/24/21 3:02 PM, Rob McDonald wrote:

I can try, but it isn't going to be easy...
Is there a MWE (*) of drag-n-drop that I could start from [..]

    In 1.4.x there's examples/howto-drag-and-drop.cxx


(*) Minimum Working Example, for those wondering..

--
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/6caad507-9c0c-4b75-accb-dc272f0eb6ccn%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'.