Opened 14 years ago

Closed 14 years ago

#174 closed bug (fixed)

BRoster::FindApp() changes MIME type

Reported by: axeld Owned by: bonefish
Priority: normal Milestone: R1
Component: - General Version:
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

BRoster::FindApp() seems to do a bit more than it should. Why would it want to set the app's MIME type again, and even resets its MIME type? It should only do this when the type found is not installed yet.

On a related note, the Registrar don't need to send update messages in case a MIME types value stayed the same (ie. it sends out B_APP_HINT_CHANGED everytime).

Change History (3)

comment:1 by axeld, 14 years ago

Status: newclosed

comment:2 by axeld, 14 years ago

Resolution: fixed

comment:3 by axeld, 14 years ago

The registrar now checks the string attributes for changes before writing them (since hrev16432).

Note: See TracTickets for help on using tickets.