Bug 218688 - Dialog is too small for longer translations
Summary: Dialog is too small for longer translations
Status: RESOLVED FIXED
Alias: None
Product: drkonqi
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Unspecified
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-14 20:29 UTC by Frederik Schwarzer
Modified: 2019-07-02 11:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Default size (56.89 KB, image/png)
2009-12-14 21:26 UTC, Frederik Schwarzer
Details
Now the label fits (57.47 KB, image/png)
2009-12-14 21:27 UTC, Frederik Schwarzer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frederik Schwarzer 2009-12-14 20:29:05 UTC
Version:            (using Devel)
Installed from:    Compiled sources

The dialog "What do you know about the crash?" does not resize itself to the length of the messages shown. In German half of the last option's label is cut-off and the user has to resize the dialog manually.
Comment 1 Dario Andres 2009-12-14 20:41:26 UTC
This bug has a root problem in Qt:
When multiline (wordwrap enabled) labels are used in a widget, Qt doesn't recognize the proper minimum size of that widget, therefore allowing the window manager to use a small size, cropping the texts.
To workaround this we have forced a minimum size; I could try to increase it a bit. May be I can layout the elements in a different way too..
- Could you please attach an screenshot of the default sized dialog, and other one when all the text is fully visible ?
Thanks
Comment 2 Frederik Schwarzer 2009-12-14 21:25:14 UTC
It's 600x400 per default and is fine at 735x400 with my font.

But as you say, having another default size does not solve the problem. It just moves it to the next language.

Anyway, screenshots following...
Comment 3 Frederik Schwarzer 2009-12-14 21:26:07 UTC
Created attachment 39054 [details]
Default size
Comment 4 Frederik Schwarzer 2009-12-14 21:27:07 UTC
Created attachment 39055 [details]
Now the label fits
Comment 5 Dario Andres 2009-12-14 22:02:02 UTC
The Qt root bug is related to http://bugreports.qt.nokia.com/browse/QTBUG-908?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel

This could help us a bit too: http://bugreports.qt.nokia.com/browse/QTBUG-5370

There is not too much I could do besides increasing the default size... :-\
(I'm going to play with the UI file a bit, may be I can came up with a solution)
Comment 6 Frederik Schwarzer 2009-12-14 22:03:43 UTC
Thanks. :)
Comment 7 Harald Sitter 2019-07-02 11:02:05 UTC
Should be fixed as per https://cgit.kde.org/drkonqi.git/commit/?id=fdff5bd4bc20a2381b548dd8b3e448308b51ebbc and a bunch of related earlier commits.