Bug report #3465
Legend in map composer has an infinite height
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||13525|
After creating a legend, if you apply changes ie by suppr the rasters, the legend creates a long white bar. When you go in Set item psition/Height the value is : 1.11709e+292. You can change it to ie 50, it is OK but if you touch to something in the legend (ie a text) the value goes back to 1.11709e+292
#2 Updated by gede2a - almost 10 years ago
Step by step more simple:
New project; add one vector layer; New print composer ; Add new vector legend
At this step the huge legend is created go to Item tab; item option; height is always 1,11709 e+292.
The white bar is in fact the background of the legend box which is white by default in my case
#3 Updated by Marco Hugentobler almost 10 years ago
I remember having that too some time ago, but cannot reproduce it anymore. Do you add a special kind of layer ( raster or vector, old or new symbology, what type of symbology )? Is it enough to just add the legend by click or do I need to do some manipulation with the legend item in composer to have the bug?
#4 Updated by gede2a - over 9 years ago
You are right!
when opening a brand new project, with no layer, legend is ok. Adding a shape,huge legend, changing this shape from new symbology to old, suppr legend, create new legend, legend is now Ok.
So no special kind of layer, no manipulation, only new symbology does it
#6 Updated by Sake Wagenaar over 9 years ago
I also have this problem, on two different computers with Windows XP home and Windows XP Professional. Always when the print composer is opened the first time after reopening the project, the legend has the wrong height. If I look at the project file with a file editor, I see the right legend height. On my Windows 7 computer the problem doesn't occur. I'm using QGIS 1.7.