Bug report #6967

Move failed layer load dialog to QgsMessageBar

Added by Nathan Woodrow about 7 years ago. Updated about 4 years ago.

Status:Closed
Priority:Normal
Assignee:Nathan Woodrow
Category:GUI
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

Description

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 about 4 years ago

Merge pull request #2745 from medspx/gdal_invalid_messagebar

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

History

#1 Updated by Jürgen Fischer almost 6 years ago

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

#2 Updated by Nathan Woodrow almost 5 years ago

  • Assignee set to Nathan Woodrow

#3 Updated by Médéric RIBREUX about 4 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 4 years ago

  • Status changed from Open to In Progress

Hello,

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

#5 Updated by Nyall Dawson about 4 years ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF