Bug report #1617
update of raster layers in GRASS modules
|Affected QGIS version:||Regression?:||No|
|Operating System:||Debian||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||fixed|
|Crashes QGIS or corrupts data:||Copied to github as #:||11677|
When running GRASS analyses, the update behaviour of raster maps is inconsistent: some modules show new maps as soon as they are produced, others require closing the module and reopening it. Even worst, possibly as a result of this, maps are sometimes silently updated, and analyses are run on the wrong (updated) map, instead of on this shown by the dropdown menu. This can obviously lead to wrong results
#1 Updated by Redmine Admin over 12 years ago
Can you specify the steps to reproduce the problem? The list of maps in comboboxes is updated whenever maps in legend are changed (i.e. usually if a new map is added to the canvas). Note that only the maps visualized in QGIS are listed.
( connect( canvas, SIGNAL ), this, SLOT ) ); )
For using wrong maps after update you are right, I have found the bug.
#3 Updated by Redmine Admin over 12 years ago
(Un)fortunately this inconsistency comes from GRASS. If a module has defined output option in GRASS correctly the button 'View output' is added. You can check this if you run the command with --interface-description. The output option should have <gisprompt age="new" element="cell" prompt="raster" /> tag.
r.surf.fractal did not have the output defined correctly, which was however fixed already: