Bug report #6085
Composer does not maintain state of render preview and page zoom
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Linux (Ubuntu)||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||up/downstream|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||15439|
If I save a composer, close the project and then open it again, it forgets the settings for render preview - cache.
It also forgets the page zoom level (maybe not so easy to maintain if the window has changed size).
Call QgsComposer::restoreComposerMapStates in QgsComposer:changeEvent,
not in showEvent (latter does not work reliably with some window
managers, such as openbox) (fix #6085)
#1 Updated by Marco Hugentobler about 9 years ago
This is a problem on gnome, the composer does not receive a show event when visible (because to make project loading faster, the composermaps are created in rectangle preview mode and the maps are drawn when the composer is first opened). It works on KDE (and afaik also on windows).
#3 Updated by Nyall Dawson over 7 years ago
Upstream bug report: https://bugreports.qt-project.org/browse/QTBUG-36675