Opened 11 years ago

Last modified 5 years ago

#9480 new enhancement

Match up well known entries in the file system with specialized icons stored in Tracker's resources

Reported by: mmadia Owned by: stippi
Priority: normal Milestone: R1
Component: Applications/LaunchBox Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

hrev45285

Special folders such as home, preferences, system get an overlay. However, their actual on disk icon remains a generic folder. If a user were to drag one of those special folders onto LaunchBox, the overlay would not be shown. That is unexpected.

Would it be possible for LaunchBox to retrieve the specialized icon? http://cgit.haiku-os.org/haiku/tree/src/kits/tracker/IconCache.cpp#n666

Change History (4)

comment:1 by axeld, 11 years ago

Actually, this should be fixed in BNodeInfo::GetTrackerIcon(): it should already return the icon Tracker would use.

Not sure if LaunchBox is already using that method, though.

comment:2 by pulkomandy, 9 years ago

Why is this hardcoded in Tracker anyway? Shouldn't the folders get an icon attribute instead?

in reply to:  1 comment:3 by Janus, 6 years ago

Replying to axeld:

Actually, this should be fixed in BNodeInfo::GetTrackerIcon(): it should already return the icon Tracker would use.

Not sure if LaunchBox is already using that method, though.

I confirm that LaunchBox uses the BNodeInfo::GetTrackerIcon() to render the icons.

comment:4 by luroh, 5 years ago

Type: bugenhancement
Note: See TracTickets for help on using tickets.