pop-os / cosmic-files

WIP COSMIC file manager
GNU General Public License v3.0
112 stars 83 forks source link

[BUG] Desktop icon file previews reload randomly #609

Open BrodieRobertson opened 2 weeks ago

BrodieRobertson commented 2 weeks ago

Cosmic-files version: Git Commit: d29baf1

Issue/Bug description: Opening Firefox causes the desktop icons to reload, fullscreening a window sometimes causes a reload, icons seem to reload in the background just randomly as well, every time this happens all of the desktop icons flicker for a moment

Steps to reproduce: Leave COSMIC open

Expected behavior: I would expect icons to reload in the background but the user should be aware of this happening

Other notes:

l-const commented 2 weeks ago

Can't reproduce it on version: 8b78d7a

BrodieRobertson commented 2 weeks ago

Here is an example of the issue https://www.youtube.com/watch?v=TGvpOI92yP8

l-const commented 2 weeks ago

Could you please also show the logs when you run cosmic-files-applet, i did watch your stream and some logs about some files being large or something with non UTF-8 content on a .dat file seemed dubious.

Edit: Nevermind, here is the link from that timestamp from the stream: https://www.youtube.com/watch?v=AUIWouMilLA&t=5976s

BrodieRobertson commented 1 week ago

Here's the logs

[2024-10-25T05:00:59Z WARN cosmic_files::thumbnailer] failed to read directory "/home/brodie/.local/share/thumbnailers": No such file or directory (os error 2) [2024-10-25T05:00:59Z WARN cosmic_files::thumbnailer] failed to read directory "/home/brodie/.local/share/flatpak/exports/share/thumbnailers": No such file or directory (os error 2) [2024-10-25T05:00:59Z WARN cosmic_files::thumbnailer] failed to read directory "/var/lib/flatpak/exports/share/thumbnailers": No such file or directory (os error 2) [2024-10-25T05:00:59Z WARN cosmic_files::thumbnailer] failed to read directory "/usr/local/share/thumbnailers": No such file or directory (os error 2) [2024-10-25T05:00:59Z WARN cosmic_files::tab] failed to read "/home/brodie/desktop/movies.dat": stream did not contain valid UTF-8 [2024-10-25T05:00:59Z WARN cosmic_files::tab] skipping internal text thumbnailer for "/home/brodie/desktop/ratings.dat": file size 24.6 MB is larger than 8.0 MB [2024-10-25T05:00:59Z WARN cosmic_files::tab] failed to read "/home/brodie/desktop/movies.dat": stream did not contain valid UTF-8 [2024-10-25T05:00:59Z WARN cosmic_files::tab] failed to read "/home/brodie/desktop/movies.dat": stream did not contain valid UTF-8 [2024-10-25T05:00:59Z WARN cosmic_files::tab] skipping internal text thumbnailer for "/home/brodie/desktop/ratings.dat": file size 24.6 MB is larger than 8.0 MB [2024-10-25T05:00:59Z WARN cosmic_files::tab] skipping internal text thumbnailer for "/home/brodie/desktop/ratings.dat": file size 24.6 MB is larger than 8.0 MB