Bug 458016 - Long filenames overflow into the next column in details mode (only on wayland)
Summary: Long filenames overflow into the next column in details mode (only on wayland)
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: details mode (show other bugs)
Version: 22.04.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-18 00:35 UTC by NewmanIsaac
Modified: 2022-08-21 00:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Long filename spilling into the next column (10.11 KB, image/png)
2022-08-18 00:35 UTC, NewmanIsaac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NewmanIsaac 2022-08-18 00:35:30 UTC
Created attachment 151394 [details]
Long filename spilling into the next column

SUMMARY
Long filenames that don't fit the "Name" column overflow into the next column, sometimes resulting in overlapping texts. This only happens on Wayland; under X or XWayland the filename is properly truncated.

STEPS TO REPRODUCE
1. Set dolphin to details view mode under Wayland
2. Open a folder containing a file with a long name
3. Resize the "Name" column until the filename doesn't fit the column width

OBSERVED RESULT
Filenames that are too long are partially drawn on top of the next column.

EXPECTED RESULT
Filenames are truncated to correctly fit the available column space.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux kernel 5.19.1
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Comment 1 NewmanIsaac 2022-08-21 00:03:49 UTC
I found that this problem only happens if I start dolphin with QT_QPA_PLATFORMTHEME=qt5ct. Long filenames are properly truncated on Plasma Wayland or when using QT_QPA_PLATFORMTHEME=kde, so I don't know if this should really be considered a bug.