Closed Bug 137223 Opened 23 years ago Closed 23 years ago

PNG images used in drop-down DIVs paint poorly

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

All
Windows 2000
defect
Not set
major

Tracking

()

VERIFIED FIXED
mozilla1.0.1

People

(Reporter: arun, Assigned: dcone)

References

()

Details

(Keywords: regression, topembed, Whiteboard: [adt2 rtm] custrtm-)

Attachments

(2 files, 1 obsolete file)

Navigate to http://www.thekompany.com/ and put your mouse over the drop down menus in the top region. You'll see that the drop-down menus (DIVs) are using a small tiled PNG image to create a transparent menuing experience. This demo works great in 0.9.4-based browsers such as N6.2.2, but NOT in Mozilla 0.9.9+ or 1.0 branch builds. That's a shame :-(
Nominating nsbeta1 .
Keywords: nsbeta1
Target Milestone: --- → mozilla1.0
Blocks: 137224
let's make sure we mark all of these regressions. i don't like the trend i am seeing here and want to have some stats since that is all that matters to the powers that be.
Keywords: regression
CCing myself. This bug is really significant. We do not want web sites broken that have changed their code to use PNGs and DIVs for Gecko-based browsers like we asked the to do. That would be terrible for the evangelism effort.
over to dcone. this works fine on linux. it looks like the tile offset isn't being properly used.. or one of the translations isn't quite right..
Assignee: pavlov → dcone
nsbeta1+
Keywords: nsbeta1nsbeta1+
Whiteboard: [adt2]
Attached patch Fixes the PNG offset problem. (obsolete) — Splinter Review
*** Bug 123511 has been marked as a duplicate of this bug. ***
*** Bug 125629 has been marked as a duplicate of this bug. ***
*** Bug 125896 has been marked as a duplicate of this bug. ***
Don: Can you attach a cvs diff -u patch instead?
Attachment #80784 - Attachment is obsolete: true
Comment on attachment 80799 [details] [diff] [review] -u version of patch.. r=pavlov
Attachment #80799 - Flags: review+
Keywords: topembed
OK, who can give dcone an SR so this can land for beta? kmcclusk?
Keywords: adt1.0.0
I'd love to super review this bug, but I'm not a super-reviewer ;). attinasi@netscape.com will perform the super-review.
dcone: could you describe what this change does? I'm not really familiar with the code. thanks, chris.
Comment on attachment 80799 [details] [diff] [review] -u version of patch.. sr=attinasi
Attachment #80799 - Flags: superreview+
Component: ImageLib → Image: Layout
adding adt1.0.0-. Let's look at this for rtm.
Keywords: adt1.0.0adt1.0.0-
Whiteboard: [adt2] → [adt2 rtm]
fixed
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
http://home.t-online.de/home/tobias.preclik/cp/ look at the url. somehow the png graphics are somehow rendered rastered like they where dithered or downconverted. the dropdowns are redrawn correctly now (2002042608) but as i said the vertical wave for example which is a background png and all the other png graphics look dithered (hope this is the right word for it in english).
A couple things. 1.) I noticed the dither also when I went to a 16 bit display, thats probably normal since its a 24 bit image offscreen being blended.. some colors could be dithered. 2.) I fixed a bug that had to do with a 32 bit PNG.. there may be some artifacts due to that, I am not sure.. but that should be in the trunk soon. Bottom line .. PNG's should be getting alot better within the next few days.
tpreston@netscape.com: Can you verify on the trunk? Thanks.
Nice that this is fixed and thanks Jaime for the topembed nomination ;) Not only a regression but this is really important for embed-based users. We want to be able to provide our APIs, sample and demos accross all the Gecko browsers and reuse our evangelism content! :) without exceptions! This have also special value for Dinamic Interface/DHTML applications. PNG images with alpha channel are really effective when are placed inside DHTML objects.
fixed on win 2k trunk build 2002051508
Status: RESOLVED → VERIFIED
Comment on attachment 80799 [details] [diff] [review] -u version of patch.. a=rjesup@wgate.com for branch checkin. Please checkin ASAP
Attachment #80799 - Flags: approval+
adding adt1.0.0+. Please get drivers approval again since more than 3 days have passed and then check into the 1.0 branch.
Keywords: adt1.0.0-adt1.0.0+
Whiteboard: [adt2 rtm] → [adt2 rtm] custrtm-
changing to adt1.0.1+ for checkin to the 1.0 branch for the Mozilla1.0.1 milestone. Please get drivers approval before checking in.
Keywords: adt1.0.0+adt1.0.1+
re-approval for 1.0.1 please check into the 1.0.1 branch ASAP. once landed remove the mozilla1.0.1+ keyword and add the fixed1.0.1 keyword
Keywords: mozilla1.0.1+
Target Milestone: mozilla1.0 → mozilla1.0.1
*** Bug 148412 has been marked as a duplicate of this bug. ***
please check this into the branch asap.
Just so I can track this until it gets on the branch.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Summary: PNG images used in drop-down DIVs paint poorly → [FIXED TRUNK]PNG images used in drop-down DIVs paint poorly
Don checked this into the branch.
Status: REOPENED → RESOLVED
Closed: 23 years ago23 years ago
Keywords: fixed1.0.1
Resolution: --- → FIXED
Summary: [FIXED TRUNK]PNG images used in drop-down DIVs paint poorly → PNG images used in drop-down DIVs paint poorly
Verified win 2k branch build 2002061008
Status: RESOLVED → VERIFIED
*** Bug 150870 has been marked as a duplicate of this bug. ***
Keywords: mozilla1.0.1+
Attached image Messed up
Now the transparrency works (2002080119/win98se), but it gets messed up time to time. Should I file a separate bug?
Product: Core → Core Graveyard
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: