XP Toolkit/Widgets: Menus
3 years ago
4 minutes ago


(Reporter: Michal 'hramrach' Suchanek, Unassigned)


38 Branch

Firefox Tracking Flags

(Not tracked)




3 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.1.0
Build ID: 20150703062643

Steps to reproduce:

type in the search field

Actual results:

a dropdown pops up and grabs the X server

I cannot use other applications because the X server is grabbed

Expected results:

X server is not grabbed
Michal, are you still experiencing this issue?  Was this an issue on previous Firefox versions or on other browsers?
Is this issue reproducible with the latest Nightly version?

Comment 2

3 years ago
This is still a problem with iceweasel 42.0-1

This is toolkit and UI problem.

toolkit implements dropdown menu using X server grab and UI pops up a dropdown on every occasion - > X server is grabbed
I'm not able to reproduce using the latest Nightly version on Ubuntu 14.04, perhaps there's someone with extensive knowledge on this area that might be able to help here.
Component: Untriaged → XP Toolkit/Widgets: Menus
Product: Firefox → Core

Comment 4

3 years ago
You probably cannot reproduce this with click to focus.

When X is set to give focus to application under mouse cursor (focus follows mouse) application pointed at gets focus. However, X server grabs prevent the window manager from setting focus and break this.

Probably due to poor design of the X protocol all menus including listbox dropdowns are implemented using X server grab.

When the menu is invoked by user action such as clicking a menubar or a button this is not a problem since the user requested the thing to happen.

X server grab is a problem when it happens without request and without any obvious way to prevent it.

Previously the searchbar only activated the dropdown on pressing the magnifier glass button. That was fine since you could easily get at it and it did not get in the way. Now it gets activated on its own when typing into the search text box. So the only obvious way to prevent this is to not search in Firefox.

Comment 5

4 minutes ago
Per policy at If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Last Resolved: 4 minutes ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.