|
Bugzilla – Full Text Bug Listing |
| Summary: | YQPkgDiskUsageWarningDialog too wide | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.1 | Reporter: | Jan Kupec <jkupec> |
| Component: | YaST2 | Assignee: | Stefan Hundhammer <shundhammer> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P3 - Medium | CC: | dmueller |
| Version: | Beta 2 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | screenshot | ||
Somebody replaced the newlines in that message with blanks. :-( That wasn't the reason - it was RichText formatted. But it looks like the QLabel preferred size behaviour changed recently: It now seems to insist to make a QLabel (even with QLabel::setTextFormat( Qt::RichText )) one mile wide rather than break that over-long line. Adding QLabel::setWordWrap( true ) helped here, but this behaviour obviously changed between Qt versions. Fixed in yast2-qt-pkg-2.17.11. |
Created attachment 244634 [details] screenshot See the attached screenshot. Seems it is as wide as the warning text, which is not wrapped. The dialog can't even be shrunk to smaller size. The text is in qt-pkg/src/YQPackageSelectorBase.cc around line 154.