Bug 352669 - Crash dialogue truncates and hides text
Summary: Crash dialogue truncates and hides text
Status: RESOLVED FIXED
Alias: None
Product: drkonqi
Classification: Applications
Component: general (show other bugs)
Version: 5.4.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-13 16:44 UTC by Karl Ove Hufthammer
Modified: 2019-07-03 12:29 UTC (History)
1 user (show)

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


Attachments
Crash dialogue with truncated text (69.94 KB, image/png)
2015-09-13 16:46 UTC, Karl Ove Hufthammer
Details
Crash dialogue with increased height (103.11 KB, image/png)
2015-09-13 16:47 UTC, Karl Ove Hufthammer
Details
Crash dialogue with increased width and height (106.31 KB, image/png)
2015-09-13 16:48 UTC, Karl Ove Hufthammer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Ove Hufthammer 2015-09-13 16:44:20 UTC
When using large font sizes,  the crash dialogue truncates the text, only showing the first line of each paragraph of text. And it’s far from obvious that the text have been truncated. Also, some paragraphs aren’t shown at all (because lack of space).

I‘ll attach a couple of screenshot, showing the problem.

Reproducible: Always

Steps to Reproduce:
1. Set the font settings in the system settings to use very large font sizes.
2. Make something in KDE crash.
3. Observe truncated text in the KDE crash dialogue.

Actual Results:  
Only the first line of each paragraph is shown. And for the last paragraph, no text is shown.

Expected Results:  
Firstly, the the dialogue should by default be sized so that all the text (including the text on the buttons) is visible. If this isn’t possible (or the user manually resizes the dialogue to make it smaller), scrollbars should be supplied.

Also, if there isn’t enough space for all the text, as much as possible should be shown, not just the first line. For example, if there is just enough space for two lines of text, the text should be the two first lines of the first paragraph, not the first line of the first paragraph followed by the first line of the second paragraph.

(And I guess it should not be possible to make the dialogue so narrow that not all of the button texts are visible).
Comment 1 Karl Ove Hufthammer 2015-09-13 16:46:35 UTC
Created attachment 94546 [details]
Crash dialogue with truncated text
Comment 2 Karl Ove Hufthammer 2015-09-13 16:47:47 UTC
Created attachment 94547 [details]
Crash dialogue with increased height

Note that labels on the buttons are still truncated.
Comment 3 Karl Ove Hufthammer 2015-09-13 16:48:26 UTC
Created attachment 94549 [details]
Crash dialogue with increased width and height

No text is now truncated.
Comment 4 Harald Sitter 2019-07-03 12:29:57 UTC
All instances of this should be fixed in 5.17 through a set of sizing adjustments