Bug 485548 - Visual glitch on file-name extension for some very long names in Dolphin
Summary: Visual glitch on file-name extension for some very long names in Dolphin
Status: RESOLVED DUPLICATE of bug 432530
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: icons mode (show other bugs)
Version: 24.02.2
Platform: Neon Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-14 15:56 UTC by Dilam
Modified: 2024-05-07 08:10 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Video showing the visual glitche (176.68 KB, video/webm)
2024-04-14 15:58 UTC, Dilam
Details
Folder with condition of bug (34.54 KB, application/gzip)
2024-04-14 16:02 UTC, Dilam
Details
Video of even more glitches (1021.45 KB, video/webm)
2024-05-02 18:38 UTC, Dilam
Details
A collection of glitched pdf names (1.87 KB, application/zip)
2024-05-02 18:50 UTC, Dilam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dilam 2024-04-14 15:56:24 UTC
SUMMARY
In dolphin, in icon view (the grid view), when there are very long files names with a pdf extension some of the extensions appears in a fourth line (normally it's at the end of the third line). Those extension produce visual glitches : they does not allow to select the file, they disappear when the file is selected, and (more importantly) they left pieces of text behind when scrolling (this is less visible if there is a file just under the file but extremely visible if there is empty space under the file).

This bug does not appear for all names, and I have never seen it for other extension than pdf. If I change ".pdf" by ".pfd" the bug does not appear, which means that it is not only a question of name spacing. I don't think that the bug is dependent on files extension which has icon preview because I tried with some other extensions than pdf (like png) and haven seen the bug (with correct and incorrect extension).


STEPS TO REPRODUCE
1. Open in dolphin a folder with enough files to get multiples lines to scroll in.
2. The last line should be incomplete.
3. Rename one of the file above the empty space in the second-to-last line, with a too long name (more than 3 lines) and ending in .pdf . The bug will appear even if the file is not really a pdf. It doesn't appear with all names, only for some of them like "Measuring the quality of web content using factual.pdf".
4. If you see the extension is in a fourth line of the name, congratulation you will see the bug.
5. Scroll up and down and watch for visual glitches. A click will reset the visual position of the extension.


OBSERVED RESULT
Visual glitches with the extension.


EXPECTED RESULT
All pdf extension should be in the third line like every other extensions. And there should be no visual glitches.


SOFTWARE/OS VERSIONS
Dophin version: 24.02.2
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-27-generic (64-bit)
Graphics Platform: Wayland
Comment 1 Dilam 2024-04-14 15:58:11 UTC
Created attachment 168516 [details]
Video showing the visual glitche
Comment 2 Dilam 2024-04-14 16:02:45 UTC
Created attachment 168517 [details]
Folder with condition of bug

I have created this folder for everyone to see the visual glitches themself.
You need to set the dolphin window to the right size for the last file to be just on a new line (like in the video example).
Comment 3 Dilam 2024-04-14 16:05:24 UTC
I can give more example of names that produce the bug if needed.
Comment 4 misterx42 2024-04-27 17:40:06 UTC
I can confirm this - however, for me, it happens with other extension types. Mostly video, almost always .mp4, never happened on a PDF for me. I can add a visual attachment if needed, but it is pretty much the same as the one in the bug filing.

Some details:
-As far as I can tell, this started with KDE6
-It only happens if the focus of the mouse cursor is inside the Dolphin window - if I move the mouse out of the window, the glitch disappears without me clicking on anything or changing focus to anything else in any way. It also disappears when I click on the window.
-Happens on both Wayland and X11 for me

Details:
Dophin version: 24.02.2 (dolphin-24.02.2-2 in pacman)
Operating System: EndeavorOS
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 5 Dilam 2024-05-02 12:47:34 UTC
(In reply to misterx42 from comment #4)
> I can confirm this - however, for me, it happens with other extension types.
> Mostly video, almost always .mp4, never happened on a PDF for me. I can add
> a visual attachment if needed, but it is pretty much the same as the one in
> the bug filing.
Yes, your are true. It's not only ".pdf", it's also ".mp4". But I had much more difficulties to found a name with this bug on ".mp4" than ".pdf".
Here is one name : "difficulties creating the mp4 extension visual glitch llllll.mp4"

> -It only happens if the focus of the mouse cursor is inside the Dolphin
> window - if I move the mouse out of the window, the glitch disappears
> without me clicking on anything or changing focus to anything else in any
> way. It also disappears when I click on the window.
Yes, same behavior. The view reset on click or when exiting or entering the folder zone of Dolphin.
But it is still possible to get the visual glitch without having the mouse inside the folder zone of Dolphin by manipulating the view through buttons or shortcuts.
Comment 6 Dilam 2024-05-02 18:38:45 UTC
Created attachment 169111 [details]
Video of even more glitches
Comment 7 Dilam 2024-05-02 18:50:21 UTC
Created attachment 169112 [details]
A collection of glitched pdf names

Here is a collection of pdf names selected to produce the bug. (mp4 extensions are not include in that folder and I suppose that they are other extensions that produce the bug).
The dolphin zoom needs to be at the right size for all those selection of names to overflow on the fourth line. And having dolphin small enough to have scrolling is preferable.
I'm replacing the folder of the previous video example.
Comment 8 filip.kendes1 2024-05-07 06:38:07 UTC

*** This bug has been marked as a duplicate of bug 432530 ***
Comment 9 Dilam 2024-05-07 08:10:22 UTC
I have seen that what overflow can be not an extension (especially if the name doesn't have one).
I will not change the name of this bug report because I want people who search "name extension glitch" to find my bug report and be redirected to the other one.