Bug report #18039
Hiding a Map View removes it from project without a warning.
|Affected QGIS version:||3.1(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 #:||25935|
Creating an issue as asked in this thread:
Would be good to warn a user when he/she closes a mapview that it is not saved in the project anymore, something along the line of: "Note: if you close this view, it will not be saved in your project"
I think this remark:
is not related is it? I think that is about a problem about saving floating widgets?
#1 Updated by Nyall Dawson over 2 years ago
- Assignee deleted (
I've investigated - unfortunately it's not possible to do this without gross hacks. Qt provides no way to intercept the close event for dock widgets selectively - so we can only trigger a message box on ALL closes (including unwanted events like those triggered by loading a new project, closing qgis). I think that's a step back in UX.