FLTK logo

[fltk.coredev] RFC: about DnD of filenames to an FLTK app

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 ]

RFC: about DnD of filenames to an FLTK app Manolo Mar 06, 2023  
 

When files are dragged from a file manager window to an FLTK app,
platform-specific behaviours are presently as attached.

I don't remember what X11 configuration produces "file://" prefixes
and URI-encoded filenames. That's not what I see now.

Shouldn't we uniformize this and have the X11 platform behave as
all others do, that is, put pathnames on separate lines without encoding
nor prefixes ?

That would make 1.4 slightly changed relatively to 1.3 in behaviour
but not in API. Nevertheless, user code that would decode encoded
filenames or that would remove "file://" prefixes would just do nothing
with the uniformized behaviour. Existing 1.3 code would be largely compatible
with the modified 1.4 behaviour with no change. The only difference
would be that an app expecting multiple pathnames on a single line would
receive them on successive lines.

Comments? Suggestions?

--
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/8a8d3d4f-4383-4396-8729-ec0c88f62102n%40googlegroups.com.

Attachment: DnD.jpg
Description: JPEG image

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'.