Ticket #177 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

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@…
Platform: CPU:

Description

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

See attached screenshot:

O/S Ubuntu Hardy

Grass SVN Trunk Build 31507

Attachments

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

Change History

Changed 5 years ago by brian

wxpython v.in.dxf screenshot

  Changed 5 years ago by martinl

  • milestone set to 6.4.0

in reply to: ↑ description   Changed 5 years ago by martinl

  • component changed from default to Python

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

Changed 5 years ago by brian

v.in.dxf form showing file input field

follow-up: ↓ 4   Changed 5 years ago by 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.

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

in reply to: ↑ 3   Changed 5 years ago by martinl

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

follow-up: ↓ 6   Changed 5 years ago by brian

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   Changed 5 years ago by martinl

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

follow-up: ↓ 8   Changed 5 years ago by 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.

Cheers Brian

in reply to: ↑ 7   Changed 5 years ago by martinl

  • cc grass-dev@… added
  • owner changed from grass-dev@… to martinl
  • status changed from new to assigned

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

  Changed 5 years ago by brian

Tested with svn-trunk build 31534. Confirmed fixed.

Thanks Brian

  Changed 5 years ago by martinl

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.