Bug 450244

Summary: Text is cut off when selected
Product: [Applications] dolphin Reporter: Dorian Rudolph <mail>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: germanp82, justin, kfm-devel, zakiryu
Priority: NOR    
Version First Reported In: 21.12.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Folders are not selected. The light blue box around the second folder is too short.
Folders are selected. They are cut off. Longer folders are cut off more.

Description Dorian Rudolph 2022-02-14 18:19:45 UTC
Created attachment 146726 [details]
Folders are not selected. The light blue box around the second folder is too short.

Names of folders/files is cut off when selected:


SOFTWARE/OS VERSIONS
Linux: Arch Linux 5.15.22-1-lts
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

Note, I'm using sway/wayland and did not set up any KDE specific theme or settings.
Comment 1 Dorian Rudolph 2022-02-14 18:21:14 UTC
Created attachment 146727 [details]
Folders are selected. They are cut off. Longer folders are cut off more.
Comment 2 Dorian Rudolph 2022-02-14 18:24:30 UTC
Sorry, accidentally submitted this too early. But the issue should be evident from the two attached pictures.
Comment 3 Dorian Rudolph 2022-02-20 12:18:52 UTC
I investigated this issue further. It also occurs under the Breeze theme. Whether the issue occurs seems to depend on the font size. The issue occurs on font size 10, but not 11. I tried the fonts "Open Sans", "Free Sans", "Noto Sans", and "DejaVu Sans". I configure the theme with qt5ct.
Comment 4 Dorian Rudolph 2022-02-20 12:24:22 UTC
Also with serif (Noto Serif) and even monospaced (Iosevka) fonts, this issue occurs at 10pt.
Comment 5 Dorian Rudolph 2022-02-20 15:04:15 UTC
I could also reproduce the issue with the master build. For now I will be using the Sudo UI font at size 11, which is comparable to other fonts at size 10.
Comment 6 German P 2023-11-23 23:12:26 UTC
I'm also experiencing the issue.

SOFTWARE/OS VERSIONS
Linux: 6.6.2-1-MANJARO
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Comment 7 RaLee 2024-09-02 01:42:39 UTC
I think I found a solution.

1. Install breeze style and qt6ct from your package manager
2. Run qt6ct to set the style
3. Run dolphin with "env QT_QPA_PLATFORMTHEME=qt6ct dolphin"
Comment 8 Justin Zobel 2025-02-08 03:03:10 UTC
I can't replicate this issue on Dolphin 24.12.1.

Dorian can you please check if the solution provided by RaLee works?

German P are you on KDE Plasma or another desktop/window manager?
Comment 9 Dorian Rudolph 2025-02-09 10:41:12 UTC
I can no longer reproduce this issue. Maybe it got fixed in the QT6 migration?
Comment 10 Justin Zobel 2025-02-10 04:25:41 UTC
German P, if you're still experiencing this issue please feel free to reopen, for now I'm going to set it to resolved as Dorian can no longer reproduce it.