Opened 10 years ago

Last modified 2 years ago

#5078 assigned bug

[Tracker] Wrong file icons displayed

Reported by: mpanasyuk Owned by: nobody
Priority: normal Milestone: R1
Component: Applications/Tracker Version: R1/alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Sometimes after I copy files in Tracker new files displayed with wrong icon. And this wrong icon is the icon of other file I did some operations with some time before.

Like in this example (see images attached) new text file (of 'text/x-source-code' mime-type) has icon of Haiku kernel.

First image - just created new file. Second image - did Alt+I on it. Third image - closed folder, opened again (icon is right) and did Alt+I again.

Fourth image - then I opened file with Pe end edited it. Fifth image - after I saved it icon again became wrong.

I closed and opened folder again. Icon is right. Changed file contents and saved - again wrong icon.

checkfs reports nothing wrong, listattr says there are only 2 attributes: 'BEOS:TYPE' (with 'text/x-source-code' value) and 'pe-info', nothing strange.

Restarted Tracker and icon became right 'forever', can't change it anymore using previous trick with file editing.

I've tried to find way to reproduce this bug with no luck. But It happened 2 times already. hrev33922, don't know if it's still present in more recent builds.

Attachments (5)

1.png (48.4 KB ) - added by mpanasyuk 10 years ago.
2.png (59.6 KB ) - added by mpanasyuk 10 years ago.
3.png (58.4 KB ) - added by mpanasyuk 10 years ago.
4.png (20.0 KB ) - added by mpanasyuk 10 years ago.
5.png (20.0 KB ) - added by mpanasyuk 10 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 by mpanasyuk, 10 years ago

Summary: [Tracker] Wrong file icons[Tracker] Wrong file icons displayed

by mpanasyuk, 10 years ago

Attachment: 1.png added

by mpanasyuk, 10 years ago

Attachment: 2.png added

by mpanasyuk, 10 years ago

Attachment: 3.png added

by mpanasyuk, 10 years ago

Attachment: 4.png added

by mpanasyuk, 10 years ago

Attachment: 5.png added

comment:2 by stippi, 10 years ago

I've seen similar weirdness as well. It may also be a problem with the icon cache inside Tracker. Even when you could reproduce the bug, that the icon always went back to the correct one hints that there is nothing wrong with the file system and the attribute. So it may either be a problem in the mime database code (not so likely IMHO), or in the Tracker icon cache.

comment:3 by axeld, 2 years ago

Owner: changed from axeld to nobody
Status: newassigned
Note: See TracTickets for help on using tickets.