#9444: [setmime] misbehaves if not all args are specified -------------------------+---------------------------- Reporter: ttcoder | Owner: nobody Type: bug | Status: new Priority: normal | Milestone: R1 Component: - General | Version: R1/Development Resolution: | Keywords: setmime Blocked By: | Blocking: Has a Patch: 0 | Platform: All -------------------------+---------------------------- Comment (by ttcoder): Steps: - call e.g. setmime -add audio/x-mpeg -attribute tunetracker:spotid -attrName SpotID - open FileTypes, click on audio/x-mpeg Expected: - all values initialized Actual: - the right column shows "?£*#" and if you double-click the entry to see even more details, the column width is equal to 4029 pixels (!) Things fare better if you specify most/all args as in e.g. setmime -set audio/x-mpeg -attribute tunetracker:spotid -attrName SpotID -attrType CSTR -attrViewable 1 -attrEditable 1 -attrExtra 1 -attrWidth 60 but setmime should at least assign "0" rather than random values if not. -- Ticket URL: <http://dev.haiku-os.org/ticket/9444#comment:1> Haiku <http://dev.haiku-os.org> Haiku - the operating system.