Closed Bug 726074 Opened 13 years ago Closed 13 years ago

Under Gnome3 the context menu (bug 684445) fails to appear in the style editor window

Categories

(DevTools :: Style Editor, defect, P1)

All
Linux
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: miker, Unassigned)

References

Details

Under Gnome3 the context menu (bug 684445) fails to appear in the style editor window. 1. Open the style editor via the "Web Developer" menu. 2. Right-click on some stylesheet text. 3. Click the style editor's close button. 2 problems ... the context menu does not appear and the close button then fails to close the style editor.
Neil: I investigated this with Mike and it behaves as if the menupopup opens, but it's not visible. If the user presses Escape, the menu is dismissed, then the style editor becomes usable. We tested this in the Scratchpad window as well. We did setup the code to use the default context menu instead of the default one: same problem. The contextmenu even is properly fired, the popup open location is correctly set. The only technical difference, at this point, is that the default menupopup comes from the source-editor-overlay.xul file, while the custom context menu in Scratchpad comes from the main scratchpad.xul file. It's quite weird that the latter menupopup works fine, while the former fails to display. The executed code is identical, to our knowledge. Can this be a bug in how Gecko handles menupopups coming from overlays? It works fine on Ubuntu 10.04 LTS (Gnome 2.30.2 with the default Metacity window manager, no Compiz). However, it fails for Mike on his Gnome3 Fedora machine. Please let us know what we can do about this. Thank you!
Looking at the window source I can see that <xul:menupopup id="sourceEditorContextMenu"/> remains empty even after the window is loaded. This means that source-editor-overlay.xul is not getting applied to styleeditor.xul even though the overlay is specified in the file.
(In reply to Michael Ratcliffe from comment #2) > Looking at the window source I can see that <xul:menupopup > id="sourceEditorContextMenu"/> remains empty even after the window is > loaded. This means that source-editor-overlay.xul is not getting applied to > styleeditor.xul even though the overlay is specified in the file. Why would that happen for you on your machine? Can you please investigate more? Shall we schedule another teamviewer meeting for further investigation? Please ping me on IRC when you have time. Thanks!
I spent hours investigating today. I can try on another PC tomorrow and see if I have the same issue.
Set up a new PC with Fedora 16 ... the issues on the other PC are identical.
Mike: without any patches applied, in the fx-team. Does Ctrl-F work for you? Do you get the find command? and Jump to line and so on.
In Scratchpad, yes, in the style editor, no.
The problem was a missing dtd file that was not included in a jar.mn.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.