Opened 16 years ago
Closed 15 years ago
#1282 closed bug (worksforme)
"Update all" in "Legend items" broken
Reported by: | msieczka | Owned by: | nobody |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.0.3 |
Component: | Printing | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | Yes | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
- add 2 layers (any kind)
- start print composer, add a map
- add a legend, remove one of the layers from the "Legend items" list
- press "Update all" in "Legend items" - the layer you removed in step 3. pops up back in the legend itself (corrupted - without a symbol), but not in the "Legend items".
Attachments (1)
Change History (11)
follow-up: 2 comment:1 by , 16 years ago
comment:2 by , 16 years ago
Replying to mhugent:
Seems to work for me. The layer poping back is intended behaviour, because 'update all' means to re-read the whole composer legend settings. When I tried it, the symbol was correct. Just the layer was not unfoldet. Could you make sure the symbol is really missing for you?
The bug is that if you remove a layer from "Legend items" and press "Update all" in "Legend items", the legend itself is updated OK, *but there is a missing layer in the "Legend items".
See the attached screendump - on the legend itself there are 2 layers - OK. But in the "Legend items" dialog there is only 1 of them - the 'wromap_A' is missing. Is this clear to you now?
(FTR, the missing symbol issue is no longer present.)
by , 16 years ago
Attachment: | missing_layer.png added |
---|
follow-up: 4 comment:3 by , 16 years ago
Ok, It is now clear to me what you mean. Unfortunately, on my system both layer are shown in the legend and in the layer items after pressing 'update all'. Strange.
comment:4 by , 16 years ago
Replying to mhugent:
Ok, It is now clear to me what you mean. Unfortunately, on my system both layer are shown in the legend and in the layer items after pressing 'update all'. Strange.
I see. One more thing I noticed: saving the project and reloading it corrects the problem.
Maybe it's about particular data? I'm attaching 2 shapefiles and a project with map composition ready to try to reproduce the problem.
comment:5 by , 16 years ago
The file is to big fro Trac. You can fetch it from here: http://www.sieczka.org/tmp/wromap.zip
follow-up: 7 comment:6 by , 16 years ago
Still works for me with the attached data. I tried with both Qt-4.3.4 and Qt-4.4.1
comment:7 by , 16 years ago
Replying to mhugent:
Still works for me with the attached data. I tried with both Qt-4.3.4 and Qt-4.4.1
Shoot. Maybe a QT issue? I'm using stock 4.4.0 on Debian testing amd64. Will try against self-built 4.4.1 after Friday.
Seems to work for me. The layer poping back is intended behaviour, because 'update all' means to re-read the whole composer legend settings. When I tried it, the symbol was correct. Just the layer was not unfoldet. Could you make sure the symbol is really missing for you?