Bug report #5825

Print Composer Refresh broken

Added by Filipe Dias about 7 years ago. Updated about 7 years ago.

Status:Closed
Priority:High
Assignee:Marco Hugentobler
Category:-
Affected QGIS version:1.8.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:15301

Description

The Refresh is not working in the New Print Composer. Steps to reproduce:

(1) Add layer
(2) Change the view on QGIS
(3) Press Refresh and nothing happens

This is a regression since it worked fine on 1.7.4 and on previous versions of QGIS 1.8

History

#1 Updated by Giovanni Manghi about 7 years ago

  • Category changed from GUI to 33

#2 Updated by Marco Hugentobler about 7 years ago

  • Status changed from Open to Feedback

What do you mean by 'Change the view on QGIS'? Panning the map in the main window (not in the composer)? Or in the composer map item?

Press Refresh

Do you mean 'update preview' of the composer map?

#3 Updated by Filipe Dias about 7 years ago

No, View->Refresh

#4 Updated by Jürgen Fischer about 7 years ago

  • Priority changed from Severe/Regression to High

#5 Updated by Filipe Dias about 7 years ago

This problem only occurs when the view is shifted in QGIS canvas. If one simply activates or deactivates a layer, then Refresh button updates the layer in print composer. But if the view is shifted to the left or right for example, the Refresh button doesnt update the layer.

A few days ago I had to do a number of maps of several different parts of a county, and every time I moved the view in QGIS, I had to add the layer again to the Print Composer. This was extremely annoying and didnt have to this in QGIS 1.7.4.

#6 Updated by Giovanni Manghi about 7 years ago

Filipe Dias wrote:

This problem only occurs when the view is shifted in QGIS canvas. If one simply activates or deactivates a layer, then Refresh button updates the layer in print composer. But if the view is shifted to the left or right for example, the Refresh button doesnt update the layer.

A few days ago I had to do a number of maps of several different parts of a county, and every time I moved the view in QGIS, I had to add the layer again to the Print Composer. This was extremely annoying and didnt have to this in QGIS 1.7.4.

I can confirm the issue, and as a regression this should be tagged as blocker.

#7 Updated by Nathan Woodrow about 7 years ago

Does the Update preview buttons on the item properties panel do what you need. That is the one I have always used.

#8 Updated by Marco Hugentobler about 7 years ago

This problem only occurs when the view is shifted in QGIS canvas

If you change the extent in QGIS canvas, it does not affect the print composer maps at all. You could however press on Item properties -> Extents ->Set to map canvas extent.

#9 Updated by Filipe Dias about 7 years ago

"Update preview" doesnt work but "Item properties -> Extents ->Set to map canvas extent" does.

"If you change the extent in QGIS canvas, it does not affect the print composer maps at all"

It used to work, both on 1.7.4 and on previous versions of 1.9 and 1.8. From a user point of view it makes sense having the button that does this "at hand" and not buried under "Item properties -> Extents ->Set to map canvas extent".

#10 Updated by Nathan Woodrow about 7 years ago

As a map frame can have different views of the QGIS canvas it makes no sense to me to have the refresh button change the view of the all the map frame. The refresh button should only refresh all the views layers, if the frame isn't locked. Which works fine for me.

#11 Updated by Marco Hugentobler about 7 years ago

  • Status changed from Feedback to Closed

That's also my opinion. Btw., the refresh button did not alter the map views also in previous versions

Also available in: Atom PDF