Opened 7 years ago

Closed 6 years ago

#9468 closed enhancement (fixed)

Haiku icons filetype is unrecognized

Reported by: Giova84 Owned by: axeld
Priority: normal Milestone: R1
Component: Applications/Tracker Version: R1/Development
Keywords: Haiku icons filetype is unrecognized Cc: stippi
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

I have noticed that inside "FileType" window, Haiku icon format has generic infos (look at the screenshot), and is under the wrong category: is under "application" and should be located inside "image".

hrev45280

p.s: i have insert this ticket under Applications > Tracker since seems that is not present a category related to file types.

Attachments (1)

FileType_Icon.png (71.4 KB ) - added by Giova84 7 years ago.

Download all attachments as: .zip

Change History (15)

by Giova84, 7 years ago

Attachment: FileType_Icon.png added

comment:1 by Giova84, 7 years ago

And when i save an HVIF icon, is set as "generic file".

comment:2 by leavengood, 6 years ago

Off-topic: your screenshot looks really slick! What fonts are you using? Also did you somehow turn on Freetype subpixel rendering?

On-topic: you are right that HVIF is under application in our MIME types. I am not sure why. Stippi, if you are listening, do you have any input on this?

comment:3 by Giova84, 6 years ago

Hi Ryan, I'm using Roboto font: http://robotofont.com/ which looks very smooth: i have not turned on subpixel rendering :-)

comment:4 by axeld, 6 years ago

Cc: stippi added

comment:5 by mmadia, 6 years ago

Some related information.

... and what RGB are you using for your active window tab?

comment:6 by Giova84, 6 years ago

Hi Matt,

i have seen this commit, but if it was introduced in hrev44436, why the sniffer for HVIF files actually doesn't work as expected? EG when i make icons using Icon-O-Matic the most of time i have to set manually the file type.

About window tab: R 255 G 147 B 0

in reply to:  3 comment:7 by Giova84, 6 years ago

Replying to Giova84:

Hi Ryan, I'm using Roboto font: http://robotofont.com/ which looks very smooth: i have not turned on subpixel rendering :-)

I'm sorry for go again off topic, but i'd like to be more clear, considering the curiosity :-) the font of window tab tile, instead, is "Ubuntu Bold"

comment:8 by humdinger, 6 years ago

Resolution: fixed
Status: newclosed

This should be fixed with hrev46277. Not sure if the filetype would fit better into images/*... One may argue it's more like a data file for one specific application (I-O-M). Anyway, this ticket should be fixed.

comment:9 by Giova84, 6 years ago

Hi, this ticket, at least on my system (Haiku hrev46301) seems partially solved. Now, when i save an hvif icon (eg from the webpage of Zumi) is recognized at the first attempt. But when i create/export hvif icons with Icon-O-Matic, these icons are recognized as generic file, and i have to manually change the mime type.

comment:10 by Giova84, 6 years ago

Resolution: fixed
Status: closedreopened

comment:11 by diver, 6 years ago

Perhaps Icon-O-Matic doesn't mimeset hvif files on create/export?

comment:12 by humdinger, 6 years ago

There seems to be some confusion.
There are I-O-M files of the type "application/x-vnd.Haiku-icon" with the siffer rule "IMSGHMF1". This is what's saved from I-O-M and, though they have the extension .hvif, what Zumi's downloadable icons are.
Then there are HVIF files that can be exported from I-O-M. Currently there's no mime type registered in the mime-db for that. How about we create a "image/x-hvif" with a sniffer rule "ncif" for it?

comment:13 by axeld, 6 years ago

Sounds good to me, even though it's indeed confusing :-)

Maybe the long description of the application/x-vnd.Haiku-icon type could be improved so that it is clear that those aren't actual Haiku icons, but IOM documents.

comment:14 by humdinger, 6 years ago

Resolution: fixed
Status: reopenedclosed

Done with hrev46303. Should be fixed for real now... :)

Note: See TracTickets for help on using tickets.