[ wxwindows-Bugs-1643699 ] Drag'n'Drop File Unicode error

SourceForge.net noreply at sourceforge.net
Mon May 14 19:20:07 PDT 2007


Bugs item #1643699, was opened at 2007-01-24 09:00
Message generated for change (Comment added) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1643699&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: Must fix
>Status: Closed
Resolution: None
Priority: 7
Private: No
Submitted By: Death Knight® (erdem_ua)
Assigned to: Nobody/Anonymous (nobody)
Summary: Drag'n'Drop File Unicode error

Initial Comment:
using wxWidgets 2.6 and 2.8 , gtk2, SuSE x64 bit linux...

I have some problem with files which has Unicode characters. 

Asume a file which name is "filename" but a with ^ sign.

While using wxFileDialog to select this file, returns it's name like "filen\340me". I can open this file and do what ever I want.

But if you drag and drop this file to my program, problem rises.
Using wxFileDropTarget::virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames){

It returns file name as "filename". I mean a with ^ not replaced with escape chars. Than its not opened with wxFile. I can't edit this file.

I think wxFileDropTarget has to be return file name as wxFileDialog::GetPaths() function.




----------------------------------------------------------------------

>Comment By: SourceForge Robot (sf-robot)
Date: 2007-05-14 19:20

Message:
Logged In: YES 
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

----------------------------------------------------------------------

Comment By: Robert Roebling (roebling)
Date: 2007-05-01 06:29

Message:
Logged In: YES 
user_id=77100
Originator: NO

I'd like to add that I think I have fixed that problem (sometime around
2.8.0).

----------------------------------------------------------------------

Comment By: Vadim Zeitlin (vadz)
Date: 2007-04-30 18:50

Message:
Logged In: YES 
user_id=71618
Originator: NO

But normally it already does... Can you please confirm that you see this
problem with 2.8.3 and, if so, whether you use ANSI or Unicode version and
give the exact names of the files you use ("ls -b" output) and the locale
under which your program is running ("locale" output)?

Thanks!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1643699&group_id=9863




More information about the wx-dev mailing list