Bug 372977 - dialog's text incomplete
Summary: dialog's text incomplete
Alias: None
Product: frameworks-kwallet
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Valentin Rusu
Depends on:
Reported: 2016-11-27 00:58 UTC by Nick Levinson
Modified: 2016-12-03 03:09 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:

screenshot (114.24 KB, image/png)
2016-11-27 00:58 UTC, Nick Levinson

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Levinson 2016-11-27 00:58:33 UTC
Created attachment 102464 [details]

The dialog Account Assistant > KDE Wallet Service says, "If you choose the classic format, be warned that the password you". That's it. The sentence ends prematurely. It appears that a vertical scrollbar is missing.

Two more scrollbars also appear to be missing further down in the same dialog, for the lines below the second radio option.

I don't know why scrollbars should be appropriate. The full text should be visible without scrolling, unless they're very long, but some solution is needed.

I'm running KMail on openSuse 13.2 Linux, kept evergreen. I don't know if this is KMail2, but your bug tracking system doesn't list KMail as a product, so I guess this is the same thing.
Comment 1 Burkhard Lück 2016-11-27 13:47:48 UTC
in a fresh install of openSuse 13.2 in a virtual machine the dialog is correctly displayed here
Comment 2 Christoph Feck 2016-11-29 22:24:35 UTC
Trying on master, the dialog can be resized to a smaller size than needed, so depending on fonts and style it could open with a too small size.

This affects both "knewwalletdialog" as well as "kwalletwizzard" (maybe also the migration wizzards; I did not test them).

To fix it, use label.setMinimumSize(label.sizeHint()) for all word-wrap enabled labels, because Qt still cannot handle them correctly in layouts.
Comment 3 Nick Levinson 2016-12-03 03:09:11 UTC
Thank you. Just to note, even though I know you meant "resized" as automatic and not manual by the user: Most users go through most steps without dwelling too long on any one step, since they have other work to do. Therefore, users should not be expected to resize windows in order to read them, especially when the appearance seems to be of a misedited sentence, not a problem apparently (to most users) subject to resizing (even though it really is). If the text could get truncated, at least a scrollbar would be appropriate UI design for ordinary non-geeks using KMail.