Opened 17 years ago

Closed 17 years ago

#177 closed defect (fixed)

wxpython gui for v.in.dxf defaults to overwrite

Reported by: brian Owned by: martinl
Priority: minor Milestone: 6.4.0
Component: Python Version: svn-trunk
Keywords: wxpython Cc: grass-dev@…
CPU: Unspecified Platform: Unspecified

Description

wxpython gui for v.in.dxf defaults to --overwrite.

See attached screenshot:

O/S Ubuntu Hardy

Grass SVN Trunk Build 31507

Attachments (2)

Screenshot-v.in.dxf [vector, import]-2.png (55.8 KB ) - added by brian 17 years ago.
wxpython v.in.dxf screenshot
v.in.dxf [vector, import].png (33.7 KB ) - added by brian 17 years ago.
v.in.dxf form showing file input field

Download all attachments as: .zip

Change History (12)

by brian, 17 years ago

wxpython v.in.dxf screenshot

comment:1 by martinl, 17 years ago

Milestone: 6.4.0

in reply to:  description comment:2 by martinl, 17 years ago

Component: defaultPython

Replying to brian:

wxpython gui for v.in.dxf defaults to --overwrite.

See attached screenshot:

O/S Ubuntu Hardy

Grass SVN Trunk Build 31507

Strange I cannot reproduce this bug. Anyone else? Martin

by brian, 17 years ago

v.in.dxf form showing file input field

comment:3 by brian, 17 years ago

This may be relavent: When opening the v.in.dxf form after displaying a map on the map display, the name of the active map is in the input dxf file field. See screenshot:

This behaviour also occurs with Jachym's grass63 ubuntu hardy build.

Am I missing a dependency? Is this related to ticket 40?

in reply to:  3 comment:4 by martinl, 17 years ago

Replying to brian:

This may be relavent: When opening the v.in.dxf form after displaying a map on the map display, the name of the active map is in the input dxf file field. See screenshot:

This behaviour also occurs with Jachym's grass63 ubuntu hardy build.

It was the bug, hopefully fixed trunk/devbr6 r31517, r31516. Martin

comment:5 by brian, 17 years ago

Thanks Martin There is a slight change in behaviour of this bug. The --overwrite does not appear until after selecting the input dxf file.

Cheers Brian

in reply to:  5 comment:6 by martinl, 17 years ago

Replying to brian:

There is a slight change in behaviour of this bug. The --overwrite does not appear until after selecting the input dxf file.

I guess the fixed bug is unrelated. You can enable/disable default value for 'overwrite' in

Config->Preferences->Command->Allow output files to overwrite existing files

When you launch GUI dialog for v.in.dxf you need to enter required parameters ('Enter parameter for v.in.dxf' in dialog statusbar). You get

v.in.dxf --overwrite input=/home/martin/src/grass6_devel/x4.dxf

disabling/enabling 'Allow output files to overwrite existing files' in 'Optional' tab removes/adds '--overwrite' flag to the command.

Martin

comment:7 by brian, 17 years ago

Tested with svn-trunk build 31519.

Enabling / disabling Config-> Preferences-> Command-> "Allow output files to overwrite existing files" has no effect on the v.in.dxf form, it always defaults to --overwrite when the input dxf file is selected.

Cheers Brian

in reply to:  7 comment:8 by martinl, 17 years ago

Cc: grass-dev@… added
Owner: changed from grass-dev@… to martinl
Status: newassigned

Replying to brian:

Tested with svn-trunk build 31519.

Enabling / disabling Config-> Preferences-> Command-> "Allow output files to overwrite existing files" has no effect on the v.in.dxf form, it always defaults to --overwrite when the input dxf file is selected.

Now hopefully fixed in trunk/devbr6 r31521, r31520. Martin

comment:9 by brian, 17 years ago

Tested with svn-trunk build 31534. Confirmed fixed.

Thanks Brian

comment:10 by martinl, 17 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.