Bug report #6967

Move failed layer load dialog to QgsMessageBar

Added by Nathan Woodrow about 10 years ago. Updated almost 7 years ago.

Assignee:Nathan Woodrow
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:16077


When a user loads an invalid layer they are presented with a pretty unfriendly dialog popup

It would be good to remove this dialog and just show a message in the message bar above the canvas. The message bar is less intrusive and doesn't need to be dismissed just to continue working.

dialog.png (14.3 KB) Nathan Woodrow, 2013-01-08 03:08 PM

Associated revisions

Revision 8abeb8d0
Added by Nyall Dawson almost 7 years ago

Merge pull request #2745 from medspx/gdal_invalid_messagebar

Replace QgsErrorDialog by messageBar for raster loading (fix #6967)


#1 Updated by Jürgen Fischer over 8 years ago

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

#2 Updated by Nathan Woodrow over 7 years ago

  • Assignee set to Nathan Woodrow

#3 Updated by Médéric RIBREUX about 7 years ago

Hello, bug triage...

this is a problem just for rasters (GDAL provider). For OGR provider, there is already a message bar...

#4 Updated by Médéric RIBREUX about 7 years ago

  • Status changed from Open to In Progress


I've made a PR for this bug...

#5 Updated by Nyall Dawson almost 7 years ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF