Bug 498284 - In Dolphin, F12 can cause visual glitches when the number of lines of filename changes
Summary: In Dolphin, F12 can cause visual glitches when the number of lines of filenam...
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: icons mode (other bugs)
Version First Reported In: 24.12.0
Platform: Neon Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-05 15:50 UTC by Dimitri
Modified: 2025-06-19 04:56 UTC (History)
4 users (show)

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


Attachments
Video of glitch with F12 and conditions of bug (272.02 KB, video/webm)
2025-01-05 15:50 UTC, Dimitri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitri 2025-01-05 15:50:09 UTC
Created attachment 177127 [details]
Video of glitch with F12 and conditions of bug

SUMMARY
When pressing F12 in Dolphin (which changes the thumbnail) can cause glitches in case where the number of lines of a file name is increasing as the file is showing smaller. The glitch appears where the name was when it was changing. It left a part of it behind.
It only happen with files that have a name close to getting a new line.
Having a second line of files or no zooming-out animation remove the glitch.
The glitch is sometime only visible with files selected.
The bug does not appear for all level of zoom, only for some of them like 96pixels.


STEPS TO REPRODUCE
1. Have a folder is only one line of files, a zoom level of 96pixels, and files with name close to getting a new line, like the name "F12 glitches when more lines appear.txt".
2. Selecting files (to increase the visibility of the glitch)
3. Pressing F12
4. If the name(s) has a number of lines that increased and if the zooming animation has played (not skipped to the new size), see if something was left under files.

OBSERVED RESULT
There are glitches under those very specific conditions.

EXPECTED RESULT
No glitches should appear.

SOFTWARE/OS VERSIONS
Dolphin: 24.12.0
Operating System: KDE neon 6.2
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.8.0-51-generic (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
This bug remembers me a lot the bug 432530 where some file's name have a line that shouldn't exist and create glitches. Those bugs have a similar cause (but different) and the glitch then behave the same way (like disappearing if the mouse enter or exist the folder view).
Comment 1 TraceyC 2025-01-08 20:07:21 UTC
Note: The view is Icons View Mode

I can reproduce this on Dolphin 24.08.3 as well as Dolphin built from git-master (25.03.70)

Also note that you may have to increase the icon size. 96px showed the bug for me on a larger monitor, on a laptop screen I needed to use 256px. I also saw a glitch in the file name when resizing the icons moving the slider back and forth.