Closed
Bug 348759
Opened 19 years ago
Closed 19 years ago
[Mac] Shadow missing around favicon in location bar
Categories
(Firefox :: General, defect, P1)
Tracking
()
RESOLVED
FIXED
Firefox 2
People
(Reporter: mark, Assigned: asaf)
References
Details
(Keywords: fixed1.8.1, Whiteboard: see comment 19 and below)
Attachments
(7 files)
This only happens sometimes, and I can't reproduce it on command, but I do see it often. Sometimes, the leftmost part of the location bar around the favicon loses its shadow. This began when the new theme landed. I mentioned this problem in bug 347468 comment 1 and bug 348758 comment 1.
| Reporter | ||
Updated•19 years ago
|
Flags: blocking-firefox2?
Whiteboard: [Fx2 theme change]
| Reporter | ||
Comment 1•19 years ago
|
||
Comment 2•19 years ago
|
||
Mark, can you reproduce this in nightlies? I'm not seeing it right now ... or is this a "only sometimes sorta thing"? Renominate if you're still seeing it.
Flags: blocking-firefox2?
| Reporter | ||
Comment 3•19 years ago
|
||
Yeah, I saw it again in today's build, about 20 minutes ago.
Flags: blocking-firefox2?
Updated•19 years ago
|
Flags: blocking-firefox2? → blocking-firefox2+
Target Milestone: --- → Firefox 2
Comment 4•19 years ago
|
||
I've seen this extending beyond the favicon area. This is an "occurs sometimes" bug.
| Reporter | ||
Comment 5•19 years ago
|
||
I'm able to reproduce consistently by hovering between the home button (immediately to the left of the location bar) and whatever bookmark happens to be in the toolbar below. In Fig. 1, this would be moving the mouse quickly between the home button and the Latest Headlines livemark. After moving the mouse like this a few times, part of the location bar's shadow disappears.
Comment 6•19 years ago
|
||
I have noticed that related behavior that stems from Flash content being scrolled up and essentially "underneath" the address bar. See my attachment (Fig. 3) taken from dpreview.com.
Updated•19 years ago
|
Attachment #234531 -
Attachment description: Munged address bar → Fig. 3. Munged address bar
Comment 7•19 years ago
|
||
Just to confirm - this is 100% reproducible with any Flash content that is scrolled up and "underneath" the address bar.
Updated•19 years ago
|
Assignee: nobody → dietrich
Comment 8•19 years ago
|
||
STR:
1. scroll until the flash movie is behind the URL bar, using either arrows, or mouse. (if you scroll w/ the mouse, you bug will occur when the mouse button is released)
Expected results: The URL bar's shadow should remain visible.
Actual results: The URL bar's shadow disappears where the flash movie is, or has been.
Notes:
- The effect does not go away after moving the flash movie away from the URL bar. Only reloading, or navigating away fixes it.
- The effect can be partial: If you scroll the flash movie only halfway under the URL bar, only the bottom shadow disappears.
Comment 9•19 years ago
|
||
Another test case, but with quicktime:
http://www.apple.com/getamac/
Start playing one of the videos, then do the same scroll steps detailed in the previous comment.
This indicates that the bug might affect plugins generally, not just flash.
Comment 10•19 years ago
|
||
(In reply to comment #5)
> I'm able to reproduce consistently by hovering between the home button
> (immediately to the left of the location bar) and whatever bookmark happens to
> be in the toolbar below. In Fig. 1, this would be moving the mouse quickly
> between the home button and the Latest Headlines livemark. After moving the
> mouse like this a few times, part of the location bar's shadow disappears.
>
I can reproduce the bug using these steps now, which indicates that the problem is not plugin-specific. The key for reproducing using these steps is to use a livemark. I was not able to reproduce the problem using these steps when testing with regular bookmark.
Comment 11•19 years ago
|
||
I've updated the testcase to include another instance of the flash movie, this time underneath the search bar. It seems that the presence of the flash movie
behind the search bar darkens (or bolds) the font of the search engine name.
That might be a separate bug though.
Comment 12•19 years ago
|
||
Removing the deck hack in browser.xul fixes the URL bar problem:
http://lxr.mozilla.org/mozilla1.8/source/browser/base/content/browser.xul#216
After removing the <deck> and the extra <textbox>, I was not able to reproduce the bug in the URL bar.
However, the deck hack itself is likely not the root cause of the problem, as the bug manifests itself in the search box as mentioned previously. Also, on trunk neither the search box or URL bar have the problem. Instead, there's distortion on the tab text immediately outside the flash movie, as shown in the attached screenshot.
Comment 13•19 years ago
|
||
I'm at a loss to find out what's causing this bug. It seems like this must be lower level than theme changes. Does anyone else have any ideas as to what's causing this bug?
Comment 14•19 years ago
|
||
Mark, do you know who would be the best person to follow up here?
Comment 15•19 years ago
|
||
We really, really need some people to dig in here. Josh, any ideas?
Whiteboard: [Fx2 theme change] → [Fx2 theme change][at risk]
| Reporter | ||
Comment 16•19 years ago
|
||
Ccing jhpedemonte, who's worked with gfx/src/mac, and roc, who knows everything.
MY guess is that the text problem on trunk is due to text drawing not being clipped properly to the damage rect.
A reduced testcase would really help for the favicon problem, but I understand that that's hard to do here.
| Assignee | ||
Comment 19•19 years ago
|
||
So, I'm pretty sure this is a regression from bug 337427, and not from the VR. That bug isn't easily backoutable(tm) though. I will manually back it out later today and come back with results.
Assigning to myself for investigation.
Assignee: dietrich → bugs.mano
Blocks: 337427
Whiteboard: [Fx2 theme change][at risk] → [Fx2 theme change][at risk] see comment 19
| Assignee | ||
Comment 20•19 years ago
|
||
As expected, I can't reproduce this after getting rid of the xul deck.
No longer blocks: NewTheme
Status: NEW → ASSIGNED
Priority: -- → P1
Whiteboard: [Fx2 theme change][at risk] see comment 19 → see comment 19 and below
| Assignee | ||
Comment 21•19 years ago
|
||
Someone should go ahead and file a bug on the core issue. Using a stack here is the right thing (as much as "right thing" could be said on the entire hack used here) since it's less expensive layout/widget wise.
With that said, after some time I could reproduce this once (with the flash testcase only), but do note scrolling again reintroduced the shadow (this is very different from what happens now). I'm pretty sure I've seen this issue (with plugins involved) in 1.5 too, so I would like to get this on branch and see if this really fixes the "new" part of this bug (which is hard to reproduce).
Attachment #237620 -
Flags: review?(mconnor)
Comment 22•19 years ago
|
||
Comment on attachment 237620 [details] [diff] [review]
Patch
hmm, <stack> makes so much more sense here too. I think the core issue can still affect this, but that'll be ok enough.
Attachment #237620 -
Flags: review?(mconnor)
Attachment #237620 -
Flags: review+
Attachment #237620 -
Flags: approval1.8.1+
| Assignee | ||
Comment 23•19 years ago
|
||
1.8 branch:
mozilla/browser/base/content/browser.xul 1.268.2.63
mozilla/toolkit/content/widgets/autocomplete.xml 1.44.2.17
Keywords: fixed1.8.1
This bug doesn't exist on trunk so I think we're not really going to fix it on branch.
The trunk Mac text bug should be filed separately
| Assignee | ||
Comment 25•19 years ago
|
||
trunk:
mozilla/browser/base/content/browser.xul 1.319
mozilla/toolkit/content/widgets/autocomplete.xml 1.68
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•