Opened 10 years ago

Last modified 8 years ago

#2215 new defect

wxGUI file type option. File path corrupt if contained backslash

Reported by: naokiueda Owned by: grass-dev@…
Priority: normal Milestone: 6.4.6
Component: wxGUI Version: 6.4.3
Keywords: file type item, wingrass Cc:
CPU: Unspecified Platform: MSWindows 7

Description

in wxGUI script, place 'File' type option to open file dialog.

Example:

"c:\aaa\bbb bbb.txt". OK. --> "c:\aaa\bbb bbb.txt"

"c:\aaa\bbbbbb.txt". NG. --> "c:aaabbbbbb.txt"

Work Around: Add "space" in front of/end of value.

" c:\aaa\bbb bbb.txt". OK. "c:\aaa\bbb bbb.txt"

"c:\aaa\bbb bbb.txt ". OK. "c:\aaa\bbb bbb.txt"

Attachments (1)

bug_I_found.pdf (46.1 KB ) - added by naokiueda 10 years ago.

Download all attachments as: .zip

Change History (3)

by naokiueda, 10 years ago

Attachment: bug_I_found.pdf added

comment:1 by hamish, 10 years ago

Keywords: wingrass added
Summary: xwGUI file type option. File path corrupt if contained backslashwxGUI file type option. File path corrupt if contained backslash

does the same happen in GRASS 7? (where msys troubles go away)

comment:2 by neteler, 8 years ago

Milestone: 6.4.46.4.6
Note: See TracTickets for help on using tickets.