Bug #163
Failed to load deskbar icon add-on on Haiku
| Status: | Closed | Start: | 10/29/2008 | |
|---|---|---|---|---|
| Priority: | High | Due date: | 10/31/2008 | |
| Assigned to: | % Done: | 100% |
||
| Category: | im_server | Spent time: | 1.50 hour | |
| Target version: | 0.9.2 | |||
| Operating System: | Haiku |
Description
im_server fails to load deskbar icon add-on on Haiku.
History
Updated by Pier Luigi Fiorini almost 2 years ago
- Target version set to 0.9.2
Updated by Pier Luigi Fiorini almost 2 years ago
- Operating System set to Haiku
Updated by Bruno Albuquerque almost 2 years ago
I know what the problem is and there are 2 possible fixes:
The first one (and easier) is to simply add a rdef file that sets the app signature for the one that the im_)server expects (it tries to launch the Deskbar icon by signature and fails because there is none). Manually setting the BEOS:APP_SIG attribute got the deskbar icon to be loaded but I only see a red square in Deskbar. Menu is fully functional tough.
The second option, and maybe better, is to besides adding the signature, make it a reakl BApplication. The idea is that if it is started by hand, it would just open an alert to inform it should not be directly run and would quit automatically after the user clicks ok in the alert. This seems to be more user friendly than just issuing an error if the user tries to runit manually.
Again, I will look into this this weekend if you do not beat me to it.
On a related note (maybe we should open a separate bug for this), we should standardized all the app sigs we use as, right now, they are a mess.
Updated by Pier Luigi Fiorini almost 2 years ago
Yes in fact in my old private repo (http://svn.osdrawer.net/chatkit) I moved DeskbarIcon to the im_server.
But then slaad explained to me that the deskbar icon could be customize, so it's better to leave it outside the im_server.
I agree on making it an executable and I also want to push signature reorganization.
I know that application compatibility will break, but it's better to break it now.
And I am still not sure how many applications use our signatures...
Updated by Pier Luigi Fiorini almost 2 years ago
- % Done changed from 0 to 50
Now IMDeskbarIcon is an application.
If you run it, it just add the deskbar icon.
It still shows a red square, but I guess it's because Icons.zip is not uncompressed (yet).
I am backporting HVIF icon loading, though :)
Updated by Pier Luigi Fiorini almost 2 years ago
- Due date set to 10/31/2008
- Status changed from Assigned to Closed
- % Done changed from 50 to 100
BGA: I won, closed this issue on r753 :)