Opened 6 years ago

Last modified 4 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 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by naokiueda

Attachment: bug_I_found.pdf added

comment:1 Changed 5 years ago by hamish

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 Changed 4 years ago by neteler

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