Bug 328190 - Map selection panel layout : random changes
Summary: Map selection panel layout : random changes
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: 1.7 (KDE 4.12)
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-28 22:37 UTC by Louis Moureaux
Modified: 2018-09-26 23:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot with two combos (34.44 KB, image/png)
2013-11-28 22:38 UTC, Louis Moureaux
Details
Screenshot with buttons (43.45 KB, image/png)
2013-11-28 22:39 UTC, Louis Moureaux
Details
Log with buttons (17.82 KB, text/plain)
2013-11-28 22:42 UTC, Louis Moureaux
Details
Log with combos (17.05 KB, text/plain)
2013-11-28 22:42 UTC, Louis Moureaux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Louis Moureaux 2013-11-28 22:37:03 UTC
While running Marble twice to compare two places, I noticed the map selection panels were different. One version has two combo boxes and two text labels, the other three buttons and a combo (see screenchots).

I reproduced the bug by launching Marble several times from the command line using
for ((i=0; $i < 10; i=$i+1)); do marble --debug-info 2>log_$i.txt ; done

A GUI seems
Comment 1 Louis Moureaux 2013-11-28 22:38:33 UTC
Created attachment 83812 [details]
Screenshot with two combos
Comment 2 Louis Moureaux 2013-11-28 22:39:07 UTC
Created attachment 83813 [details]
Screenshot with buttons
Comment 3 Louis Moureaux 2013-11-28 22:42:22 UTC
Created attachment 83814 [details]
Log with buttons
Comment 4 Louis Moureaux 2013-11-28 22:42:38 UTC
Created attachment 83815 [details]
Log with combos
Comment 5 Louis Moureaux 2013-11-28 22:45:28 UTC
Here is the end of my report... sorry for breaking it in to parts.

The version Marble uses seems to be randomly chosen. I didn't find any way to reliably run it with combos or buttons.

I saved the logs I got, see attachments.

Louis
Comment 6 Dennis Nienhüser 2013-11-30 09:04:49 UTC
Yes, it's intentional. The change is not random though, but depends on the available space: If the panel is large (wrt height) enough, it shows the combo boxes, otherwise the smaller buttons.
Comment 7 Louis Moureaux 2013-11-30 13:52:37 UTC
So the bug is more about Marble using buttons when it should use combos.

I could reproduce again it with Marble running fullscreen (window size of around 1280x980 px). When I resize the window, the combo version appears.

Seems Marble doesn't always get the panel window size at launch. It occurs around once every 10 launches, on a very fast processor and disk (could be important if threads are involved).
Comment 8 Louis Moureaux 2014-05-30 17:01:49 UTC
Still getting the same results using version 1.7.97 from Arch repos. Might be a bug with Qt not triggering some signal.
Comment 9 Louis Moureaux 2018-09-26 23:30:15 UTC
No longer happens with Marble 2.2.20 and Qt 5.11.2