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 Albrecht Schlosser May 25, 2021  
 
On 5/25/21 10:32 AM Manolo wrote:
I see that the macOS version of the D-n-D code sends an FL_RELEASE event right after the initial FL_DRAG event,
while the Windows versions sends it after the end of the D-n-D operation. ... Some more analysis is required to determine whether this FL_RELEASE event is wrong or not.

Hi Manolo,

just from reading your words (above) I would assume that sending FL_RELEASE while doing the DND operation is actually wrong and unexpected behavior because the mouse button is still held down until ... the drop occurs by releasing the mouse button. This is the point where FL_RELEASE should be sent.

That said, the docs state:

  FL_DND_RELEASE

  The user has released the mouse button dropping data into the widget.

(end of citation)

The docs don't explicitly state that an FL_RELEASE event is also sent, but I think this is necessary for apps not watching FL_DND_* events.


--
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/33cfa74b-b0f4-3ec4-5951-ab2edd245a08%40online.de.
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'.