Bug report #4101

No indication of the problem when opening a project with an unsupported layer

Added by Alister Hood over 12 years ago. Updated about 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Project Loading/Saving
Affected QGIS version:master Regression?:No
Operating System:All Easy fix?:No
Pull Request or Patch supplied:No Resolution:end of life
Crashes QGIS or corrupts data:No Copied to github as #:14083

Description

Running trunk, when adding an existing project which includes a layer that QGIS cannot load (e.g. an .ecw layer, when the gdal-ecw driver or the required erdas libraries are not present), this layer will be displayed in the "Handle bad layers" dialogue, but its filepath is shown in green, and there is nothing to tell the user why the file can't be loaded.

It needs to somewhere have a message like the one displayed when you try to add an unsupported file as a layer: "xxx is not a valid or recognised data source".

History

#1 Updated by Alister Hood over 12 years ago

I guess maybe the fact that the "provider" column says "none" is supposed to indicate what the problem is. But then I think this isn't working properly, because it always says "none", even when the problem is that the file does not exist.

#2 Updated by Giovanni Manghi over 12 years ago

  • Target version set to Version 1.7.4

#3 Updated by Paolo Cavallini almost 12 years ago

  • Crashes QGIS or corrupts data set to No
  • Target version changed from Version 1.7.4 to Version 1.8.0
  • Affected QGIS version set to master

#4 Updated by Paolo Cavallini over 11 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

#5 Updated by Jürgen Fischer almost 10 years ago

  • Target version changed from Version 2.0.0 to Future Release - Lower Priority

#6 Updated by Giovanni Manghi almost 7 years ago

  • Regression? set to No
  • Easy fix? set to No

#7 Updated by Giovanni Manghi about 5 years ago

  • Resolution set to end of life
  • Status changed from Open to Closed

Also available in: Atom PDF