Bug 415444 - Add new printer gives a truncated error message
Summary: Add new printer gives a truncated error message
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_printer_manager (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Nicoletti
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2019-12-22 08:04 UTC by Alexander Potashev
Modified: 2020-04-07 18:57 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 20.04.0


Attachments
screenshot (40.65 KB, image/png)
2019-12-22 08:04 UTC, Alexander Potashev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2019-12-22 08:04:03 UTC
SUMMARY
Add new printer gives a truncated error message.

See screenshot. I cannot see the whole error message without resizing the window beyond screen size. I think the text should be wrapped or have a button/link "See it in full".

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: Fedora 31
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.64.0
Qt Version: 5.12.5
Kernel Version: 5.3.8-300.fc31.x86_64
OS Type: 64-bit
Processors: 2 × Intel® Celeron® CPU B800 @ 1.50GHz
Memory: 3,8 ГиБ

ADDITIONAL INFORMATION
Comment 1 Alexander Potashev 2019-12-22 08:04:45 UTC
Created attachment 124647 [details]
screenshot

see red box
Comment 2 Kai Uwe Broulik 2020-01-07 11:16:14 UTC
Probably just needs to enable word wrapping the KMessageWidget.

(The error is just the generic "no DBus response" error message, nothing particularly useful in your case)
Comment 3 Gastón Haro 2020-04-04 03:01:42 UTC
Tentative fix at https://phabricator.kde.org/D28548
Comment 4 Nate Graham 2020-04-07 18:57:14 UTC
Git commit 43da9240bba85bf2719839d35f0a67a59df721e0 by Nate Graham, on behalf of Gastón Haro.
Committed on 07/04/2020 at 18:55.
Pushed by ngraham into branch 'release/20.04'.

Fixes printer-manager error messages from exceeding window dimenssions

Summary:
Set setWordWrap(true) on the various KMessageWidget used.
I could not test it as I was not able to produce an error message.

Test Plan: ?? Ideas

Reviewers: broulik, ngraham

Reviewed By: ngraham

Subscribers: ngraham, kde-utils-devel

Differential Revision: https://phabricator.kde.org/D28548

M  +1    -0    add-printer/PageDestinations.cpp
M  +2    -1    libkcups/SelectMakeModel.cpp
M  +1    -1    printer-manager-kcm/PrinterDescription.cpp

https://commits.kde.org/print-manager/43da9240bba85bf2719839d35f0a67a59df721e0