Bug 310242

Summary: Placemarks without a name are not shown
Product: [Applications] marble Reporter: Dennis Nienhüser <nienhueser>
Component: generalAssignee: marble-bugs
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.5 (KDE 4.10)   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: canterbury_bus_stops.kml

Description Dennis Nienhüser 2012-11-17 09:23:11 UTC
There's a regression in master resulting in placemarks that do not have a name not to be shown on the map. Works fine in the KDE/4.9 branch.
Comment 1 Dennis Nienhüser 2012-11-17 09:24:06 UTC
Created attachment 75310 [details]
canterbury_bus_stops.kml

Test file with a mixture of named and unnamed placemarks.
Comment 2 Thibaut Gridel 2012-12-11 22:00:24 UTC
Git commit 87fbaae2ad883af736ad95ec245dd05570eb2381 by Thibaut Gridel.
Committed on 11/12/2012 at 22:20.
Pushed by tgridel into branch 'master'.

Do return an empty but not null labelRect if no labelText

Placemark symbol also competes for room, so it's valid to separate
an empty label on a displayable Placemark from one that would overlap
with existing text.

M  +0    -3    src/lib/PlacemarkLayout.cpp

http://commits.kde.org/marble/87fbaae2ad883af736ad95ec245dd05570eb2381