Closed
Bug 76820
Opened 23 years ago
Closed 23 years ago
Xlib-toolkit does not render images correctly...
Categories
(Core :: XUL, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: roland.mainz, Assigned: timecop)
References
()
Details
Attachments
(5 files)
63.83 KB,
image/gif
|
Details | |
5.30 KB,
patch
|
Details | Diff | Splinter Review | |
13.70 KB,
patch
|
Details | Diff | Splinter Review | |
14.04 KB,
patch
|
Details | Diff | Splinter Review | |
14.27 KB,
patch
|
Details | Diff | Splinter Review |
Xlib-toolkit based Mozilla build from 2001-04-17 CVS snapshot does not render images correctly - and at the same time it spamms the log with "nsImageXlib::DrawToImage not yet implemented: 'Not Reached'" messages. It looks that the not-yet-implemented function nsImageXlib::DrawToImage() is responsible for this problem... ;-( CC:'ing pavlov as he wrong the code for GTK+-toolkit and dbaron@fas.harvard.edu for the partial implementation for Xlib-toolkit...
Reporter | ||
Comment 1•23 years ago
|
||
I tried to actually fix that implementation, and I'll attach what I've done so far. However, it doesn't actually help at all...
Reporter | ||
Comment 5•23 years ago
|
||
Uhm... after looking twice on that code... What about creating a XImage from incoming nsIImage, run XSubImage() (and care about alpha stuff if required) and pass contents of resulting XImage back to destination... blizzard.... do you see any problems with that idea ?
Blocks: 75125
There are some fixes for image drawing attached to bug #66082 as part of xlib gc-cache update.
Now that bug 66082 is in, here are additional fixes to sync nsImageXlib with the GTK version and fix nearly *all* image related problems :)
Assignee | ||
Comment 10•23 years ago
|
||
gisburn: can you give this a couple tests on your build and see how it works? This should fix some 1x1 scaled transparent gif issues and also a couple typos I had in bug 66082
Assignee | ||
Comment 11•23 years ago
|
||
Assignee | ||
Comment 12•23 years ago
|
||
Comment 13•23 years ago
|
||
Lates patch looks good and works ok. Patch is just collection of gtk changes ported to xlib. r=tomilepp
Assignee | ||
Comment 14•23 years ago
|
||
Sorry about this, but I have noticed you gave out sr= on some other Xlib related stuff, so I thought I would send this your way. This is mostly a cut & paste from ImageGTK to bring it in sync, plus a couple typos fixes from my last patch.
Comment 15•23 years ago
|
||
rs=darin
Comment 17•23 years ago
|
||
fix checked in, thanks
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 18•23 years ago
|
||
Looks good here with latest xlib-toolkit build
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•