! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Thunar (1.6.3) gives Mach-O binaries (OS X) the 'Java' icon
Status:
RESOLVED: INVALID
Severity:
trivial

Comments

Description William Woodruff 2015-10-19 22:27:30 CEST
Created attachment 6487 
An image of the incorrect icon and description, along with the output of `file`.

Hello,

On Thunar 1.6.3 (and possibly previous/later versions), Mach-O files are given the Java icon and 'Java class' description under 'Kind' in Properties. Mach-O files do share some of the same magic numbers as Java classfiles (specifically 0xcafebabe), but are easily distinguishable by parsing a few bytes further into the header. 

This isn't a major issue, just a cosmetic mistake I noticed while looking at OS X binaries on a Linux distribution. If this is being caused by something upsteam (I don't know where/how Thunar gets its icons), please point me to the upstream source and I'll file a bug with them instead.

Best regards,
William Woodruff
Comment 1 Andre Miranda editbugs 2018-06-16 21:02:32 CEST
Not anymore, Thunar now recognizes .dylib files as Unknown and displays a blank icon.
Just for comparison, Nemo and Nautilus recognize these files as Program (application/octet-stream) and also display blank icon.

Bug #12270

Reported by:
William Woodruff
Reported on: 2015-10-19
Last modified on: 2018-06-16

People

Assignee:
Xfce Bug Triage
CC List:
4 users

Version

Version:
unspecified

Attachments

Additional information