Closed
Bug 466234
Opened 16 years ago
Closed 16 years ago
Content popup menu is overly long
Categories
(Core :: General, defect)
Tracking
()
VERIFIED
FIXED
mozilla1.9.1b3
People
(Reporter: mozilla, Assigned: mozilla)
Details
(Keywords: verified1.9.1)
Attachments
(2 files, 2 obsolete files)
2.91 KB,
patch
|
mozilla
:
review+
roc
:
review+
roc
:
superreview+
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
3.11 KB,
patch
|
Details | Diff | Splinter Review |
Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.9.1b2pre) Gecko/20081118 SeaMonkey/2.0a2pre We haven't had an OS/2 nightly in a while so I cannot tell when this started, but this build shows an overly long popup menu on most content. Seems like 40 entries to me and it even shows scroll arrows at top and bottom to show them all. When right-clicking on the content area to get this menu, I see the following three errors on the JS console: Error: HTMLVideoElement is not defined Source File: chrome://communicator/content/nsContextMenu.js Line: 403 Error: gContextMenu is null Source File: chrome://navigator/content/mailNavigatorOverlay.xul Line: 138 Error: gContextMenu is null Source File: chrome://editor/content/editorApplicationOverlay.js Line: 42 The first reminds me that the OS/2 builds are currently done with --disable-ogg --disable-wave so MOZ_MEDIA is deactivated. Perhaps that needs to be tested for somewhere?
Assignee | ||
Comment 1•16 years ago
|
||
I get an additional error when selecting "Open in new tab" from the context menu: Error: gContextMenu is null Source File: chrome://navigator/content/navigator.xul Line: 1 I suspect that this is linked to the problem.
Assignee | ||
Comment 2•16 years ago
|
||
Firefox actually has the same problem and I suspect Thunderbird, too. Preprocessing contextMenu.js to exclude the lines about the HTMLVideo and HTMLAudio classes using #ifdef MOZ_MEDIA should help.
Product: SeaMonkey → Core
QA Contact: general → general
Assignee | ||
Comment 3•16 years ago
|
||
Of course I was wrong before, TB doesn't need a fix because it doesn't use HTML{Video,Audio} in its code (yet). So this is the whole fix for comm-central.
Assignee: nobody → mozilla
Status: NEW → ASSIGNED
Attachment #349603 -
Flags: superreview?(neil)
Attachment #349603 -
Flags: review?(neil)
Assignee | ||
Comment 4•16 years ago
|
||
Same fix for Firefox.
Attachment #349604 -
Flags: review?(gavin.sharp)
Comment 5•16 years ago
|
||
roc, should these --disable options in comment #0 stop the audio and video elements from existing too, or is that a bug?
Assignee | ||
Comment 6•16 years ago
|
||
That building without MOZ_MEDIA also disables compiling of nsHTML{Audio,Video,Media}Element.cpp seems to be on purpose, see <http://mxr.mozilla.org/mozilla-central/source/content/html/content/src/Makefile.in#138>. It's just weird that there is no --disable-media flag.
(In reply to comment #5) > roc, should these --disable options in comment #0 stop the audio and video > elements from existing too, or is that a bug? That's intentional, although I'm open to arguments that it should be changed.
Comment 8•16 years ago
|
||
Actually would it be enough to provide the audio and video interfaces, even when not actually supporting the elements?
In this case, perhaps yes.
Comment 10•16 years ago
|
||
Peter, I haven't actually tried building without media so I hope it works...
Attachment #349719 -
Flags: superreview?(roc)
Attachment #349719 -
Flags: review?(roc)
Attachment #349719 -
Flags: review?(mozilla)
Attachment #349719 -
Flags: superreview?(roc)
Attachment #349719 -
Flags: superreview+
Attachment #349719 -
Flags: review?(roc)
Attachment #349719 -
Flags: review+
Comment on attachment 349719 [details] [diff] [review] Like this? Something like that, if it builds
Assignee | ||
Updated•16 years ago
|
Attachment #349719 -
Flags: review?(mozilla) → review+
Assignee | ||
Comment 12•16 years ago
|
||
Comment on attachment 349719 [details] [diff] [review] Like this? Yes, it does compile and also gives me back the working menu. Thanks, Neil.
Updated•16 years ago
|
Attachment #349719 -
Flags: approval1.9.1?
Comment 13•16 years ago
|
||
Comment on attachment 349719 [details] [diff] [review] Like this? This stops people building without A/V for whatever reason from getting a broken UI in Firefox or SeaMonkey (or even, given bug 463155, Thunderbird).
Updated•16 years ago
|
Attachment #349604 -
Attachment is obsolete: true
Attachment #349604 -
Flags: review?(gavin.sharp)
Assignee | ||
Updated•16 years ago
|
Attachment #349603 -
Flags: superreview?(neil)
Attachment #349603 -
Flags: review?(neil)
Comment 14•16 years ago
|
||
Comment on attachment 349719 [details] [diff] [review] Like this? a191=beltzner
Attachment #349719 -
Flags: approval1.9.1? → approval1.9.1+
Assignee | ||
Comment 15•16 years ago
|
||
Because I want this in soon, I made this version with the header to comply with the metered checkin rules.
Attachment #349603 -
Attachment is obsolete: true
Comment 16•16 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/b32dc52a37ff
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1b3
Comment 17•15 years ago
|
||
Looks like I pushed this as changeset b32dc52a37ff on releases/mozila-1.9.1 a few months ago; sorry for not updating the bug.
Keywords: fixed1.9.1
Assignee | ||
Comment 18•15 years ago
|
||
And in the meantime I verified that it is fixed on trunk and 1.9.1 branch.
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.1 → verified1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•