Opened 9 months ago

Last modified 3 weeks ago

#120 assigned defect

Brush Factory uses short names and has relative path problems

Reported by: HoraK-FDF@… Owned by: Thomas Bernard
Priority: minor Milestone: 2.8
Component: GrafX2 Version: 2.7
Keywords: Cc:

Description

Hi,

1)
In the path under the headline the Brush Dialog uses short names and also save those to the ini file, if you had long names in your ini then the directory line displays these but after changing in a directory len>8 it uses short names.

2)
If the path of the script dir = . it displays an empty directory instead of the grafx2 home dir and on clicking on parent directory it is in the drive selection and then saves script dir as ""
If path was an .. it wakes up one directory before the home dir and on clicking on parent directory it is in the drive selection and then saves script dir as "" going further down works it then also saves the relative path.

I think if gfx2=portable and gfx2drive=scriptdrive it should always save a relative path. Because as drives change from computer to computer it can be lost and then it does the same behavior as if script dir = . described above.

I only tested this today only with the grafx2-sdl-2.7wip2726-dir_fix version but had tested it before with all three version of grafx2-2.7wip2709.

Change History (3)

comment:1 Changed 9 months ago by Thomas Bernard

1) saving short names (ASCII) in the .ini is the way it is supposed to work.
we should improve the display to show the unicode long path.

2) the script dir was not designed to be relative. I will see how to add the feature.

comment:2 Changed 9 months ago by Thomas Bernard

Milestone: 2.7
Owner: changed from pulkomandy to Thomas Bernard
Priority: majorminor
Status: newassigned

comment:3 Changed 3 weeks ago by PulkoMandy

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