Bug 467559 - After changing view modes artefact stay visible
Summary: After changing view modes artefact stay visible
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 22.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-19 07:52 UTC by Robert Dady
Modified: 2024-03-12 20:28 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Dady 2023-03-19 07:52:54 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
Generally when changing view modes (control+1,+2,+3) and (not necessarily size control + + or control + -) filename artefacts stay visible. Better seen when entering a directory with less content than previosly. This definetely is a 15 minute bug.


STEPS TO REPRODUCE
1. open directory with many files, maybe better with long file names
2. change view mode couple of times
3. enter a subdirectory with few to no files
4. See some leftover text from prevous directory file names

OBSERVED RESULT


EXPECTED RESULT
No filename artefacts visible after directory change.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora Linux 37
(available in About System)
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Sometimes the artefacts disappear in 1-2 seconds, sometimes they don't.
Comment 1 Ilya Bizyaev 2023-08-04 22:00:27 UTC
Can also reproduce by changing icon size with Ctrl+wheel a few times when filenames span ≥3 lines.
Comment 2 fin-w 2024-03-12 20:28:45 UTC
I can confirm Ilya's comment, scrolling in and out quickly in "Icons view mode" will leave artefacts from where the text / highlighting was, as you scroll to reduce icon size. Looks like it's perhaps related to the file names being vertically restricted as the icons reduce width, meaning the filename takes up more lines? Scrolling slowly does not cause this issue, but doing so fast will show it. It only happens on files where the number of lines the filename takes up increases as the icon is scrolled smaller: if the number of lines the filename takes up stays the same (i.e. one line only, or maxed out and truncated filename display due to long file name) then there are no artefacts. Looks to me like Dolphin is drawing beyond where it knows to refresh / clear...

Dolphin 24.02.0
Operating System: Arch Linux 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.9-arch1-1 (64-bit)
Graphics Platform: Wayland