[Marble-bugs] [marble] [Bug 322899] New: Legend for some map themes doesn't look as intended

Lasse Liehu lasse.liehu at gmail.com
Sat Jul 27 22:32:44 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=322899

            Bug ID: 322899
           Summary: Legend for some map themes doesn't look as intended
    Classification: Unclassified
           Product: marble
           Version: 1.6.0 (KDE 4.11.0)
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: marble-bugs at kde.org
          Reporter: lasse.liehu at gmail.com

Created attachment 81395
  --> https://bugs.kde.org/attachment.cgi?id=81395&action=edit
Screenshot of the legend for Moon

Steps to reproduce:
1. Switch the current map theme to the built-in Moon one.
2. Look at the legend.

Actual results:
The legend looks to use some default serif font and has almost the same
appearance as the legend for the Atlas and OpenStreetMap map themes, but not
quite. See the attached screenshot.

Legend looks the same also for the the following map themes (installed using
File | Download Maps...): Saturn - Dione and Saturn - Titan.

Expected results:
The legend uses the same style as it does for the built-in Atlas and
OpenStreetMap map themes or at least doesn't use half the same style, looking
like it's missing some CSS.

Browsing the code it seems the Moon map theme's legend.html is missing include
for Bootstrap. Attached is a patch that makes the legend look fine and the same
as legends for Atlas and OpenStreetMap.

The reason I didn't just make a review request with that patch was because the
problem probably exists for many map themes not shipped with Marble, i.e. their
legend will look worse with Marble 4.11.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Marble-bugs mailing list