Created attachment 135436 [details] screenshots of settings and bug SUMMARY For a file with long filenames and icon-view settings set at max 2 lines, overflows file extension to another (stray and undesired) line. And if a directory is opened in the directory containing long filenames, file extensions are visible in the directory for some time. P.S. - compositing is enabled (even if it might not be obvious in screenshots attached) STEPS TO REPRODUCE 1. View mode config: Label-width: medium Maximum-lines: 2 2. create a directory containing directory & files with a long name and an extension at the end (tested with: "foldername name with really long text that needs to be stripped.txt") 3. Now open the directory within directory (blank area in dolphin will show "txt" labels) OBSERVED RESULT For step 2: file extension will overflow onto the third line ignoring the "max-lines: 2" settings for dolphin, For step 3: stray file extensions are visible from last screen EXPECTED RESULT filenames shouldn't exceed the max lines set in settings. dolphin's view should be cleaned before displaying contents of a new directory. SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.20.5 KDE Frameworks Version: 5.78.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION
I've tested and can not reproduce this issue. Can you please check this issue is still affecting you, thanks!
(In reply to Justin Zobel from comment #1) > I've tested and can not reproduce this issue. Can you please check this > issue is still affecting you, thanks! I'm on 5.25.5 right now, and I still experience this bug. I'm on Wayland these days
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!
(In reply to Justin Zobel from comment #1) > I've tested and can not reproduce this issue. Can you please check this > issue is still affecting you, thanks! I'm running my system on 5.26, and I'm still facing this issue with long file names. It's usually the file extension that's straying into an extra line (max lines set to 3, and there comes a 4th line for file extension) and sticks around until I refresh the view.
Created attachment 153487 [details] This bug reproduced on 5.26.0
Created attachment 153488 [details] overflowing file extensions Max number of lines visible in Dolphin's settings is set to 2, but occasionally the extension of some files with long names will break into an extra line, which remains visible until the view isn't refreshed.
having this issue in plasma 5.27.7 as well where the file extension of files with long filenames overflows to the extra line beyond what is set. This happens even if the max number of lines allowed set to 3/4.
*** Bug 485548 has been marked as a duplicate of this bug. ***
*** Bug 486673 has been marked as a duplicate of this bug. ***
Closed 2 bugs as duplicates of this one. Apologies if I did something wrong here, still new at this. Bug is still reproducible in Dolphin 24.02.2. Operating System: Arch Linux KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0 Kernel Version: 6.8.9-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i5-6600K CPU @ 3.50GHz Memory: 7.7 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 970/PCIe/SSE2
I'm updating the bug version from Dolphin 20.12.1 to 24.02.2 (my current version where I can see the bug, which is also the last reported version in comments). I don't know if I should update Platform to "unspecified" (or "compiled from source") because it happen not only on "Debian unstable" but also at least on "Arch Linux", on "EndeavorOS" and on "KDE Neon" (which is Ubuntu based).
Here is a video of production of a large number of visual glitches (posted in bug 485548) : https://bugs.kde.org/attachment.cgi?id=169111 We can clearly see that the issue is that the part of the names that overflow (should not overflow) and any of its rest is not removed when the view updates. Some things still update the view (clearing the bug at that moment) like clicking on the background or getting the mouse in or out of the folder part of dolphin.
*** Bug 470596 has been marked as a duplicate of this bug. ***
*** Bug 459395 has been marked as a duplicate of this bug. ***
For the name overflow to happen, the text needs to match a very specific sizes which depend on : the file name, the current numbers of lines per file, the folder zoom level, and the current font (effect of font shown in bug 459395).
*** Bug 435771 has been marked as a duplicate of this bug. ***
*** Bug 470593 has been marked as a duplicate of this bug. ***
*** Bug 493246 has been marked as a duplicate of this bug. ***
Created attachment 173756 [details] The "mp4" text is glitching.
Bug still present on my Arch Linux updated 10~ seconds ago.
I set the Version back to what it had been. Please don't change this. See the field descriptions here for an explanation https://bugs.kde.org/page.cgi?id=fields.html#alias I am not always able reproduce the original bug as reported, but *sometimes* see the stray extension on Dolphin 24.08.3 I cant replicate this on Dolphin built from git-master (25.03.70) after a few minutes of trying different things For the behavior described in 435771: Create a file called "Copy of RAM Ineffectiveness - Original - Sheet1.pdf" and see a third text line (when max lines set to 2) I am able to reproduce that on Dolphin 24.08.3, but *not* on 25.03.70 This may be fixed in the next release of Dolphin. Given the amount of duplicates, I'll leave this open so we can confirm that with a few of the affected folks.
(In reply to Fernando M. Muniz from comment #21) > Bug still present on my Arch Linux updated 10~ seconds ago. The issue shown in your screen recording may be different. What do you have Maximum-lines set to?
(In reply to TraceyC from comment #23) > (In reply to Fernando M. Muniz from comment #21) > > Bug still present on my Arch Linux updated 10~ seconds ago. > > The issue shown in your screen recording may be different. What do you have > Maximum-lines set to? Whatever was the default at the time I reported it on my duplicate issue.
(In reply to TraceyC from comment #22) > For the behavior described in 435771: > Create a file called "Copy of RAM Ineffectiveness - Original - Sheet1.pdf" > and see a third text line (when max lines set to 2) > I am able to reproduce that on Dolphin 24.08.3, but *not* on 25.03.70 > > This may be fixed in the next release of Dolphin. Given the amount of > duplicates, I'll leave this open so we can confirm that with a few of the > affected folks. I can replicate this bug using the mentioned steps on Dolphin 24.12.3. Does this version contain the fixes from 25.03.70?
(In reply to madness742 from comment #25) > I can replicate this bug using the mentioned steps on Dolphin 24.12.3. Does > this version contain the fixes from 25.03.70? No. 25 is the major version after 24. The next version of Dolphin will be released with KDE Gear 25.04 We are interested to see if people experience this bug with that version. Thanks for your feedback.
*** Bug 503094 has been marked as a duplicate of this bug. ***
Created attachment 180507 [details] Video showing the file name glitch.
(In reply to Ángel Navarro from comment #28) > Created attachment 180507 [details] > Video showing the file name glitch. Thanks for the video. What version of Dolphin do you have?
(In reply to TraceyC from comment #29) > (In reply to Ángel Navarro from comment #28) > > Created attachment 180507 [details] > > Video showing the file name glitch. > > Thanks for the video. What version of Dolphin do you have? Hi, I'm on 25.04.0
(In reply to Ángel Navarro from comment #30) > Hi, I'm on 25.04.0 Well darn. Thanks for confirming.
(In reply to TraceyC from comment #26) > No. 25 is the major version after 24. The next version of Dolphin will be > released with KDE Gear 25.04 > We are interested to see if people experience this bug with that version. > Thanks for your feedback. I have installed Fedora 42 in a virtual machine, updated every package and I can still reproduce it on Dolphin 25.04.0 using the following steps: 1. Open Dolphin and create a new folder. 2. Navigate to the newly created folder, and create another folder within. 3. Create a new empty file called "2025-05-04_05-28-3042025-052052025-04_05-28-30.pdf". 4. Click on a white space. 5. Double click on the empty folder. File structure: ── /home/user/bug_showcase/ ├── New Folder └── 2025-05-04_05-28-3042025-052052025-04_05-28-30.pdf Can you reproduce it as well, using the above mentioned steps?
Created attachment 181666 [details] Reproducing the bug in different views. I haven't seen anyone mention this, but it also happens when you simply change the view mode. The window must be large enough for this to occur. I'm using the default Dolphin settings. Dolphin -> Configure Dolphin -> View Icons = Preview icon size: 64px (maximum lines: 3) Compact = Preview icon size: 48px (Maximum width: unlimited) Details = Preview icon size: 48px Dolphin: 25.04.1 (Fedora RPM) Dolphin: 25.07.70 (compiled from source, commit 5f660640c400eef8e6f0e20a0563911fc7f991b5)
(In reply to madness742 from comment #32) Thanks for re-testing and for sharing those details, that helps I re-tested in git-master and I can reproduce with: 1. The setup from your comment, Icons view set to max 2 lines, label width medium 2. In ~/bug_showcase, switch to Icons view 3.use Ctrl+mouse scroll wheel to zoom in, and back out Observed part of the filename and details appeared duplicated, briefly
(In reply to John Kizer from comment #27) > *** Bug 503094 has been marked as a duplicate of this bug. *** Found this problem yet again in 2025.04.1. Same settings. https://imgur.com/a/TIyLogF The file name is: 3er parcial MATEMÁTICAS 4 2025.pdf
*** Bug 505889 has been marked as a duplicate of this bug. ***
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/992
Git commit aba0de7301b060c40d543adbaa8d53cf69a9d7ee by Bojidar Marinov. Committed on 23/06/2025 at 12:26. Pushed by meven into branch 'master'. Fix file names overflowing after text eliding When QFontMetrics::boundingRect().width was replaced with QFontMetrics::horizontalAdvance() in 76a46fd9094b17eb99e8a42cca8562fdc0b3814c, an extra line (formerly introduced by a203c271161ce953354b9e0722492605a4d17415) was changed as well. Unfortunately, boundingRect().width is the correct function to use for calculating the size of the last line, while horizontalAdvance would be correct if we were laying it next to the previous line instead of below the previous line. M +1 -1 src/kitemviews/kstandarditemlistwidget.cpp https://invent.kde.org/system/dolphin/-/commit/aba0de7301b060c40d543adbaa8d53cf69a9d7ee