Widgets' sizes not updated on initial translation

Bug #995107 reported by Bogdan Marinov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
High
Marcos Cardinot

Bug Description

This appears to be a regression in 4.8.0 and hasn't been fixed in 4.8.1. I haven't been able to find anything relevant in Qt's bug tracker.

On Windows, if Stellarium is started in a system with a non-English locale, the windows appear in their original/designed sizes instead of stretching to accomodate the difference in string length. For example, in the attached screenshot the Settings window is missing a few tabs, and the label displaying text about FOV/image saving is shortened to a single line. The window initially can't be even resized, as moving the mouse pointer over its borders has no result. The window refreshes itself if the user clicks on another tab, apparently causing a repaint - after that, it springs to more normal size and it can be resized.

Related branches

Revision history for this message
Bogdan Marinov (daggerstab) wrote :
Revision history for this message
Alexander Wolf (alexwolf) wrote :

I can reproduce this bug on linux too.

Revision history for this message
Bogdan Marinov (daggerstab) wrote :

Weird. I can't reproduce this on Windows with 4.8.1 after the last changes to the trunk (revision 5452).

Revision history for this message
Alexander Wolf (alexwolf) wrote :

I can reproduce this bug on linux still.

Revision history for this message
Bogdan Marinov (daggerstab) wrote :

4.8.0 or 4.8.1?

Can you please do the following? Open configurationDialog.ui in QtCreator and make configurationDialogForm as narrow as you can by dragging its right border. Save and rebuild, then check whether on the first run the translated buttons ("Save configuration") expand or whether they look like in the screenshot above.

Revision history for this message
Alexander Wolf (alexwolf) wrote :

Qt 4.8.1.

So, screenshot for bulgarian language.

Revision history for this message
Alexander Wolf (alexwolf) wrote :

Screenshot for russian language

Revision history for this message
Alexander Wolf (alexwolf) wrote :

Hmm... Few revisions ago this bug was here, but right now I can't see it.

Revision history for this message
Alexander Wolf (alexwolf) wrote :

Looks like this bug doesn't actual now?

Revision history for this message
gzotti (georg-zotti) wrote :

I cannot reproduce it (Qt5.2 by now...)

Is this still valid and of "high" importance? If not, please close it.

Revision history for this message
Alexander Wolf (alexwolf) wrote :

This issue still important for series 0.12

Revision history for this message
Alexander Wolf (alexwolf) wrote :

I can reproduce it in version 0.13.2 too.

To recreate:
a) set Bulgarian as application language in config.ini
b) run Stellarium
c) press F2
d) choose second tab

summary: - [Qt 4.8] Widgets' sizes not updated on initial translation
+ Widgets' sizes not updated on initial translation
Revision history for this message
Marcos Cardinot (cardinot) wrote :

Could you check if it works fine after this patch:
http://bazaar.launchpad.net/~stellarium/stellarium/trunk/revision/7457
?

Changed in stellarium:
assignee: nobody → Marcos CARDINOT (mcardinot)
Revision history for this message
Marcos Cardinot (cardinot) wrote :
Changed in stellarium:
milestone: none → 0.13.3
Changed in stellarium:
status: Confirmed → Fix Committed
Changed in stellarium:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.