Open Bug 1194117 Opened 9 years ago Updated 2 years ago

search grabs X server

Categories

(Core :: XUL, defect)

38 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: hramrach, Unassigned)

Details

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?
https://nightly.mozilla.org/
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
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.
Component: XP Toolkit/Widgets: Menus → XUL
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.