Closed
Bug 1502772
Opened 8 years ago
Closed 7 years ago
WinUtils::WriteBitmap should use BITMAPV4HEADER (v4+ header)
Categories
(Core :: Widget: Win32, defect)
Tracking
()
RESOLVED
FIXED
mozilla66
People
(Reporter: m_kato, Assigned: m_kato)
References
Details
Attachments
(1 external file)
Native toast notification uses WinUtils::WriteBitmap to bitmap for notification now. Since it uses old BITMAPINFOHEADER structure, it doesn't support alpha. So some notification bitmap's background color is black, not transparent.
| Assignee | ||
Comment 1•8 years ago
|
||
s/to bitmap/to write bitmap/
| Assignee | ||
Comment 2•7 years ago
|
||
Native toast notification uses WinUtils::WriteBitmap to bitmap for notification now. Since it uses old BITMAPINFOHEADER structure, it doesn't support alpha.
So I would like to support alpha value to WinUtils::WriteBitmap.
Comment 3•7 years ago
|
||
Would it be better to use the encoder that's in imagelib and get rid of this code?
| Assignee | ||
Comment 4•7 years ago
|
||
(In reply to Timothy Nikkel (:tnikkel) from comment #3)
> Would it be better to use the encoder that's in imagelib and get rid of this
> code?
Yes, it is nice that imagelib has encoder that saves bitmap v4+. Notification and setting wallpaper use this utility method.
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → m_kato
Pushed by m_kato@ga2.so-net.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/5fce19a3307f
WinUtils::WriteBitmap should use BITMAPV4HEADER (v4+ header) r=aklotz
Comment 6•7 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Comment 8•7 years ago
|
||
Is this something we should consider uplifting to Beta or can it ride the trains?
Flags: needinfo?(m_kato)
Comment 9•7 years ago
|
||
Answering my own question, this is still only enabled on Nightly builds, so I'm going to say no to that question.
Flags: needinfo?(m_kato)
You need to log in
before you can comment on or make changes to this bug.
Description
•