Bug 193868

Summary: Extract dialog with layout errors: some texts are truncated
Product: [Applications] ark Reporter: Dotan Cohen <kde-2011.08>
Component: generalAssignee: Harald Hvaal <metellius>
Status: RESOLVED FIXED    
Severity: normal CC: andresbajotierra, rakuco
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot showing truncated text in Ark

Description Dotan Cohen 2009-05-24 12:57:52 UTC
Version:            (using KDE 4.2.3)
Installed from:    Ubuntu Packages

Sometimes the text of KDE widgets is truncated because there is not enough room. However, there is no indication that this is happening, and often it is not clear from the text that parts of it are missing.
Comment 1 Dotan Cohen 2009-05-24 12:58:50 UTC
Created attachment 33968 [details]
Screenshot showing truncated text in Ark

In this screenshot from Ark it is not clear that the text "...has been" is incomplete.
Comment 2 Dario Andres 2009-05-24 14:59:58 UTC
Mmm.. this is because a layouting error. With a proper layout this things should not happen as the dialog will autoexpand itself to show all the content.
Are you getting this in any other place?
I suggest you to report each layouting issue to the app maintainer as it needs a local fix.
Thanks!
Comment 3 Dotan Cohen 2009-05-24 15:03:49 UTC
I have in fact seen this in other places, but I disagree that this should be a local fix. In fact, as KDE / Qt does not let the app set the size of the window, or the fact that the user can resize the window, a local fix does not seem right. I suggest either scrollbars or a min-size attribute, both of which may be Qt issues.

Can a Qt developer shed some insight and possibly push the bug upstream? Thanks!
Comment 4 Dario Andres 2009-05-24 15:06:44 UTC
With a proper layouting, the QWidget/QDialog/KMainApplication/whatever will set a minimum size for the dialog/window, so the user can not resize it to a lower size than it (allowing the texts to be seen properly). Scrollbars are an ugly workaround when there is no space left in the screen to use.....
Comment 5 Raphael Kubo da Costa 2009-05-25 01:03:35 UTC
SVN commit 972450 by rkcosta:

Remove the single folder notice label.
Since it had wordWrap set to true, it was breaking
the layout and allowing the widget to be resized
to (0,0).
BUG: 193868

 M  +0 -8      extractiondialog.cpp  
 M  +81 -94    extractiondialog.ui  


WebSVN link: http://websvn.kde.org/?view=rev&revision=972450
Comment 6 Raphael Kubo da Costa 2009-05-25 01:42:18 UTC
SVN commit 972457 by rkcosta:

Backport commit 972450.

Remove the single folder notice label.
Since it had wordWrap set to true, it was breaking
the layout and allowing the widget to be resized
to (0,0).

CCBUG: 193868


 M  +0 -8      extractiondialog.cpp  
 M  +0 -26     extractiondialog.ui  


WebSVN link: http://websvn.kde.org/?view=rev&revision=972457
Comment 7 Dotan Cohen 2009-05-25 08:38:04 UTC
Thanks, Raphael