Summary: | Long text does not elide but is cut off if panel is too narrow | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | postix <postix> |
Component: | panels: information | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | kfm-devel, meven29, nate, postix |
Priority: | NOR | ||
Version: | 19.12.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Screenshot. |
I can't see any clipped text in the left side of that screenshot. What are you referring to? (In reply to Nate Graham from comment #1) > I can't see any clipped text in the left side of that screenshot. What are > you referring to? Take a look at LibreOffice/6.4.03$Linux_{X86_64} LibreOffice_pr{oject/}40$Build-3 Everything that's in the brackets {} got clipped in the left picture. Ah, I see now. Should every line that is elided get a '...' marker? Another alternative is to wrap everywhere, but that would cause new lines to start in the middle of words. > Should every line that is elided get a '...' marker? That'd be better than the current situation in my opinion. (In reply to Christoph Feck from comment #4) > Another alternative is to wrap everywhere, but that would cause new lines to > start in the middle of words. That could probably be indicated by ↪ 8618 21AA RIGHTWARDS ARROW WITH HOOK ↳ 8627 21B3 DOWNWARDS ARROW WITH TIP RIGHTWARDS but I'm not sure if this really helpful or makes it more clear. (In reply to Christoph Feck from comment #4) > Should every line that is elided get a '...' marker? > > Another alternative is to wrap everywhere, but that would cause new lines to > start in the middle of words. QLabel wraps at word boundaries, not arbitrary locations. In fact, it cannot even be configured to do so even if you want it to! See https://bugreports.qt.io/browse/QTBUG-1276 (In reply to Nate Graham from comment #6) > (In reply to Christoph Feck from comment #4) > > Should every line that is elided get a '...' marker? > > > > Another alternative is to wrap everywhere, but that would cause new lines to > > start in the middle of words. > QLabel wraps at word boundaries, not arbitrary locations. In fact, it cannot > even be configured to do so even if you want it to! See > https://bugreports.qt.io/browse/QTBUG-1276 We have our own KSqueezedTextLabel that should be supporting this. |
Created attachment 125831 [details] Screenshot. SUMMARY If the panel width is made small enough it may happen that text which is too long just becomes clipped like in the screenshot. SOFTWARE/OS VERSIONS Operating System: Manjaro Linux KDE Plasma Version: 5.17.5 KDE Frameworks Version: 5.67.0 Qt Version: 5.14.1 ADDITIONAL INFORMATION Scaling: 1.5