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

  1. add 2 layers (any kind)
  1. start print composer, add a map
  1. add a legend, remove one of the layers from the "Legend items" list
  1. 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)

missing_layer.png (29.0 KB ) - added by msieczka 16 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 by mhugent, 16 years ago

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?

in reply to:  1 comment:2 by msieczka, 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 msieczka, 16 years ago

Attachment: missing_layer.png added

comment:3 by mhugent, 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.

in reply to:  3 comment:4 by msieczka, 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 msieczka, 16 years ago

The file is to big fro Trac. You can fetch it from here: http://www.sieczka.org/tmp/wromap.zip

comment:6 by mhugent, 16 years ago

Still works for me with the attached data. I tried with both Qt-4.3.4 and Qt-4.4.1

in reply to:  6 comment:7 by msieczka, 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.

comment:8 by msieczka, 16 years ago

Can you maybe try with 4.4.0 in the meantime?

comment:9 by pcav, 15 years ago

Is this still valid? If not, please close it.

comment:10 by pcav, 15 years ago

Resolution: worksforme
Status: newclosed

Reopen it if necessary

Note: See TracTickets for help on using tickets.