Closed
Bug 282059
Opened 20 years ago
Closed 19 years ago
No dropshadow in Windows XP in current trunk builds for context menus and tooltips
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 281709
People
(Reporter: martijn.martijn, Unassigned)
References
Details
(Keywords: regression)
This is a spin-off of bug 281709. When you have dropshadows enabled in Windows XP, you should see these dropshadows for context menu items and tooltips. But this is currently not working in Mozilla builds. This worked in: 20041011 07:23am Firefox build But not anymore in: 20041012 07:18am firefox build Boris mentioned about this bug in bug 281709, comment 15: "The context menu and tooltips issue sounds like fallout from bug 238493. To test, remove the early return at <http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/view/src/nsView.cpp&rev=3.210#370>. Sounds like the general problem is that someone is (incorrectly) expecting something to happen synchronously at all times."
FWIW this problem also affects the autocomplete popups for form fields. Unlike select lists (see bug 146719) the autocomplete popups do have shadows in 1.0 and 1.0.1. Seems to me that this should be fixed for 1.1 considering that it could be noticed as a regression by even a novice user (who is paying attention). Even though it is trivial in terms of functionality, it diminishes the very polished feel of the app a bit.
Comment 2•20 years ago
|
||
I have also been suffering from this with the nightly Trunks for a few months now. WinXP SP2 AMD64 300+ Geforce 6800GT
Updated•20 years ago
|
Flags: blocking-aviary1.1?
Comment 3•19 years ago
|
||
transferring nomination to 1.8b4. If we don't get it there, we don't get it for 1.1
Flags: blocking-aviary1.1? → blocking1.8b4?
Updated•19 years ago
|
Flags: blocking1.8b4? → blocking1.8b4-
Comment 4•19 years ago
|
||
I have also been suffering from this as well for a good number of months. XP SP2 AMD64 3000+ Geforce 6800 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050805 Firefox/1.0+
Comment 5•19 years ago
|
||
*** Bug 300319 has been marked as a duplicate of this bug. ***
| Reporter | ||
Comment 6•19 years ago
|
||
I just noticed that submenu's of the context menu (e.g This Frame ->)have dropshadows.
(In reply to comment #6) > I just noticed that submenu's of the context menu (e.g This Frame ->)have > dropshadows. [URL=http://imageshack.us][IMG]http://img381.imageshack.us/img381/6463/shadowmess1oi.jpg[/IMG]
(In reply to comment #7) > (In reply to comment #6) > > I just noticed that submenu's of the context menu (e.g This Frame ->)have > > dropshadows. > > Sorry...<a href="http://ietpower.com/orange/shadow_mess.jpg">picture</a>
Comment 9•19 years ago
|
||
*** Bug 307541 has been marked as a duplicate of this bug. ***
Comment 10•19 years ago
|
||
mconnor: what is the reason for minusing the blocking1.8b5 nomination? this regression makes popup menus look bad. is it just too hard to fix for 1.5?
Comment 11•19 years ago
|
||
I'm pleading for reconsideration for 1.8b5 -- regressions like this make us look wrong to a number of users, based on the dominant commodity platforms. This has been noticed, by random users even including managers ;-). /be
Flags: blocking1.8b5- → blocking1.8b5?
Comment 12•19 years ago
|
||
I have no firm recollection of reasoning here, although I think at that time we were throwing things overboard at a rapid clip trying to make the branch happen for July 25th, and a beta by mid-August. Anything cosmetic that didn't have a straightforward fix or an obvious owner we could rely on for a fast turnaround was getting tossed based on that short short timeline. Something in win32 widget code certainly meets that criteria even now. Now that we've stretched the schedule significantly, we can and should put some time into this/bug 281709, though I'm not sure who an appropriate owner would be here, unless Ere is active/responsive, or we can retask dougt for this (based solely on owners.html).
Flags: blocking1.9a1?
Flags: blocking1.8b5?
Flags: blocking1.8b5+
Comment 13•19 years ago
|
||
Ben had me assign bug 307541 to Kevin Gerich, but that bug was marked as a duplicate of this one, which has no owner. Kevin: can you help fix this?
Assignee: nobody → kevin
Comment 14•19 years ago
|
||
Darin, sorry I didn't say this earlier... I don't think I'm the right person to fix this bug. This isn't a theme issue AFAICT
Comment 15•19 years ago
|
||
(In reply to comment #14) > Darin, sorry I didn't say this earlier... I don't think I'm the right person to > fix this bug. This isn't a theme issue AFAICT Oh, sorry. I assigned it to you because this was introduced with the check-in for bug 303806, which was merely a theme change. But, that's okay... I'll re-assign this bug to mconnor since he owned that bug ;-)
Assignee: kevin → mconnor
Comment 16•19 years ago
|
||
(In reply to comment #15) > Oh, sorry. I assigned it to you because this was introduced with the check-in > for bug 303806, which was merely a theme change. But, that's okay... I'll > re-assign this bug to mconnor since he owned that bug ;-) Per comment 0, this isn't a regression from the theme changes. Backing out the changes from bug 303806 does not fix this.
Comment 17•19 years ago
|
||
OK. I guess I was confused then because I first noticed this regression when the theme changes landed. Must have been a coincidence then :-P
Comment 18•19 years ago
|
||
Silver, any ideas on how this could be fixed? Bug 281709 has some discussion, but I don't know the Windows widget code much, so I'm not sure how to fix this right.
Assignee: mconnor → nobody
Whiteboard: [at risk]
Comment 19•19 years ago
|
||
I don't know exactly what is wrong (currently investigating), but it is quite likely the window is being created with the wrong size, then resized later (whether this is the cause, I don't know). See what I can turn up. :)
Comment 20•19 years ago
|
||
Right, so top-level menus get the best deal: only created once per menu, positioned once, then resized just before being shown. Context menus get a really rough ride, being created /every time/, hidden, shown, moved and resized - in that order. Submenus get a deal very similar to top-level menus, except for an extra (unnessessary) call to hide them before they've even been shown. So I'm fairly sure the problem is the following really bad ordering of calls to nsWindow: [9307ec] CreateWindowEx: style = c2000000, ex_style = 88, parent = 0, DROP SHADOW [9307ec] Show: state = 0 [9307ec] Show: state = 1 [9307ec] Move to (212, 788) [9307ec] Resize to (166, 246), repaint = 1
Comment 21•19 years ago
|
||
See bug 281709 for some detailed analysis of what's going on.
Comment 22•19 years ago
|
||
Is this a dup of bug 281709?
Comment 23•19 years ago
|
||
Actually isn't bug 281709 fixed? That was originally about shadows not showing the first time a menu was opened in the bookmarks toolbar. I haven't seen that bug in months. It seems that bug 282359 fixed it. That bug spun off this bug which is about shadows not being present in context menus. So the question is why wasn't that bug resovled? I'm guessing because some people aren't cc'd to this bug. So discussion proceeded in that bug. But it's moot now as there's a patch from bug 281709 checked into the trunk which seems to work so both bugs can shortly be resolved.
Comment 24•19 years ago
|
||
Yeah, bug 281709 was originally about just the menu shadows, but the comments evolved into working on the shadows more generally. Also, that bug was way more technical than this one, which is why I did the work over there. Once bug 281709 is checked to be properly fixed, this bug is fixed too AIUI.
Comment 25•19 years ago
|
||
*** This bug has been marked as a duplicate of 281709 ***
Status: NEW → RESOLVED
Closed: 19 years ago
No longer depends on: 281709
Flags: blocking1.8b5+
Resolution: --- → DUPLICATE
Comment 26•19 years ago
|
||
Well, a fix for bug 281709 landed on the trunk and this bug is still on the trunk.
Comment 27•19 years ago
|
||
That would be because they are DIFFERENT BUGS, and so need to be fixed separately.
Comment 28•19 years ago
|
||
That was my point.
Comment 29•19 years ago
|
||
So you think that two different bugs, that must be fixed separately, should suddenly both end up fixed by the same thing? Huh?
Comment 30•19 years ago
|
||
Um, this is marked as a duplicate of bug 281709. My point was that it shouldn't be.
Comment 31•19 years ago
|
||
Then what was the comment on bug 243078 all about? This bug is marked a dup of bug 281709 because that bug actually covers (in the comments and attempted code) this one.
Comment 32•19 years ago
|
||
If a bug is a duplicate, then by definition, when the duplicate is fixed, so too is the duplicate. If one is fixed and the other is not, then they are not duplicates. The reason I asked why native menu rendering landed and this bug persisted was because I thought the native menu rendering overlaid the drop-shadow onto the window. I was not aware that the drop-shadow is drawn by the window onto which it falls.
(In reply to comment #26) > Well, a fix for bug 281709 landed on the trunk and this bug is still on the trunk. bug 281709 never landed on the trunk, only the 1.8 branch
Updated•18 years ago
|
Whiteboard: [at risk]
Comment 34•18 years ago
|
||
(In reply to comment #33) > (In reply to comment #26) > > Well, a fix for bug 281709 landed on the trunk and this bug is still on the trunk. > > bug 281709 never landed on the trunk, only the 1.8 branch ------- Comment #111 From Robert O'Callahan (Novell) 2005-10-20 19:40 PST [reply] ------- checked in on trunk and branch. (https://bugzilla.mozilla.org/show_bug.cgi?id=281709#c111)
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•