Opened 18 years ago
Closed 18 years ago
#890 closed bug (fixed)
[Deskbar] icons are broken for supertypes
Reported by: | diver | Owned by: | stippi |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Kits/Application Kit | Version: | R1/pre-alpha1 |
Keywords: | Cc: | axeld | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
comman line app have broken icons in Deskbar. To reproduce, launch top from tracker.
Change History (8)
comment:1 by , 18 years ago
Owner: | changed from | to
---|
comment:2 by , 18 years ago
Summary: | [Deskbar] cli icons are broken → [Deskbar] icons are broken for supertypes |
---|
follow-up: 4 comment:3 by , 18 years ago
Cc: | added |
---|
I think I found the problem. TBarApp::AddTeam() uses BBitmap::SetBits() and passes B_RGB32 as colorspace parameter, but SetBits() interprets that as B_RGB24_BIG (to mimic R5's behaviour, AFAIK). Passing B_RGBA32 instead should be fine.
comment:4 by , 18 years ago
Replying to jackburton:
I think I found the problem. TBarApp::AddTeam() uses BBitmap::SetBits() and passes B_RGB32 as colorspace parameter, but SetBits() interprets that as B_RGB24_BIG (to mimic R5's behaviour, AFAIK). Passing B_RGBA32 instead should be fine.
Actually it already passes RGBA32. looks like the problem was elsewhere. Should be fixed in rev 19420, please review.
follow-up: 6 comment:5 by , 18 years ago
Stefano, in case you missed it: please always write hrev19420, so Trac can pick it up and create a link to the revision.
comment:6 by , 18 years ago
comment:7 by , 18 years ago
Also, the generic application icon in deskbar is still the old style 8 bit icon (and that's why my change fixed the problem)
comment:8 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Original bug is fixed, I'll open a new bug for the 8 bit icon problem
Doesn't affect just CLI applications; anything without a custom icon that relies on the parent type's icon has this issue (like Playground)