Opened 14 years ago

Closed 13 years ago

#2330 closed bug (worksforme)

Loading missing layer (shapefile) requires changing the "Files of type" setting

Reported by: jctull Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: Project Loading / Saving Version: Trunk
Keywords: missing layer shapefile layerid load Cc:
Must Fix for Release: No Platform: OS X
Platform Version: 10.6.2 Awaiting user input: no

Description

When a project is opened and a missing layer is recognized, at least for shapefiles, the layer id is appended to the file name, so a matching file cannot be selected. E.g., the file being searched for in the dialog will be "File of type: Site_Areas.shp|layerid=0" whereas the file name is actually "Site_Areas.shp". The appended layer information seems to be masking the file in the open file dialog requiring the user to switch to all shapefiles in order to make the file selectable.

Change History (7)

comment:1 by pcav, 14 years ago

Milestone: Version 1.5.0Version 1.6.0

Still true?

comment:2 by jctull, 14 years ago

Summary: Loading missing layer masks shapefiles in dialog with extraneous informationLoading missing layer (shapefile) requires changing the "Files of type" setting

This is still a problem. I tried for a better title also.

The open file dialog populates the "Files of type" field with something like "my_shapefile.shp|layerid=0". Instead, it should only have the "my_shapefile.shp" without the layerid information. As a consequence, you have to change the "files of type" field every time you encounter a missing shapefile warning.

comment:3 by volter, 14 years ago

Looks fine on Linux with 1.6.

comment:4 by pcav, 14 years ago

jctull, can you please test and close it if appropriate?

comment:5 by jctull, 14 years ago

This problem persists in the current trunk.

comment:6 by jctull, 13 years ago

Still an issue in trunk.

comment:7 by gislab, 13 years ago

Resolution: worksforme
Status: newclosed

seems like this is not an issue anymore with new missing layers dialog

tested under WinXP, r15700

please reopen if necessary

Note: See TracTickets for help on using tickets.