Bug 12337

Summary: Label positions are not stable
Product: roadster Reporter: Jeff Garrett <jeff>
Component: generalAssignee: Jeff Garrett <jeff>
Status: NEW --- QA Contact:
Severity: trivial    
Priority: medium CC: ian
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Jeff Garrett 2007-09-08 05:09:37 UTC
Drag the map.  They can change.
Comment 1 Ian McIntosh 2007-09-08 09:27:49 UTC
The reason they jump around, of course, is that they attempt to find the "best" position for any given view of the map.

"Best" is defined as:
- entirely visible (not clipped at screen edge)
- not obscured by other map objects
- on a reasonably straight part of the road

If they were made "stable" instead of adaptive then we'd have some other problems:
- roads not labeled at all in a given view
- labels clipped at the screen edge
- labels obscured by eg. a POI popup box

Since we'll be printing the map, the above problems are pretty serious.

Possible remedies:
- Draw the same label many times, hoping that at least one is visible.  This is what Google Maps does, out of necessity.  It adds a lot of clutter.
- Reduce the negative aspects of "jumping labels", perhaps by having them fade in and out smoothly.  (Must they fade out?  Maybe just wait until they're off screen and then remove them?)

My vote is for keeping the adaptive behavior and maybe some day adding the fading.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.