Closed
Bug 147471
Opened 23 years ago
Closed 23 years ago
Autocomplete dropdown should not XGrabPointer
Categories
(SeaMonkey :: Location Bar, defect)
Tracking
(Not tracked)
People
(Reporter: vectro, Assigned: hewitt)
Details
Attachments
(2 files)
This may be part of bug 93877, or it may be a bug with KDE.
It seems that Mozilla binds to ALT-TAB when the Location bar has focus. I'd
assume most OSes don't allow this, but under Kde 2.2.2, it appears to work.
STEPS TO REPRODUCE:
1) Open Mozilla.
2) Open some other application.
3) Give Mozilla keyboard focus.
4) Click on location bar
5) Type some text.
6) Hit ALT-TAB.
EXPECTED RESULTS:
Next application in window order should obtain focus.
ACTUAL RESULTS:
Nothing happens.
Relevant Debian packages:
Name Version Description
==============-==============-============================================
kdebase 2.2.2-14 KDE core applications
xserver-xfree8 4.1.0-16 the XFree86 X server
mozilla-browse 1+rc2-3 Mozilla Web Browser - core and browser
Comment 1•23 years ago
|
||
This isn't quite what's happening. Rather I think the URL bar dropdown
is doing an XGrabPointer, so all events are being taken the application.
Personally I don't like this behaviour either: it is very annoying when
you forget what URL you're typing and try to switch windows/desktops to
look it up.
Comment 2•23 years ago
|
||
Yes, but dropdown-like things should XGrabPointer in general, no?
Reporter, if you completely turn off autocomplete does the problem go away?
Comment 3•23 years ago
|
||
bz, I'm not sure you're right in this case, but seeing as I am not
going to produce a patch I won't comment further than to say that
ideally, the URL drop-down would be like Mac-style "sheet dialog",
and window modal only.
There are some obvious difficulties with implementing this in X
of course.
Nope, with AutoComplete off the bug is still there.
Curiously, I still see a grey bar appear right below the text entry bar with
autocomplete off. I will attach a screenshot.
Another, probably related, note: When trying to take the screenshot with the
GIMP, I was unable to use a window-only screenshot. GIMP printed "xwd: error:
Can't grab the mouse." to the console.
This problem occured with and without autocomplete.
This problem does not happen if the location bar is not active.
Comment 8•23 years ago
|
||
Reporter, what bz meant was the "Show list of results" option
under the Advanced button. If you turn this off, then you won't
get a drop-down list, and won't see the problem.
The error from gimp is perfectly normal behaviour. What's happening
is that Mozilla is doing an "XGrabPointer" call - this means that
all mouse events get relayed back to Mozilla first, for it to deal
with. This is necessary so that if you click somewhere else, Mozilla knows
to close the drop-down.
The same method is used in all applications for their menus; it's the
standard way of doing this on X.
Comment 9•23 years ago
|
||
setting summary to describe the real problem. blizzard, any ideas?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Mozilla grabs ALT-TAB in Location bar under KDE → Autocomplete dropdown should not XGrabPointer
Reporter | ||
Comment 10•23 years ago
|
||
Ah, K.
Turning off the "Show list of results" option, I no longer see the bug.
Reporter | ||
Comment 11•23 years ago
|
||
Could this be a duplicate of bug 66834?
Comment 12•23 years ago
|
||
I think it is, bug 66834 comment 7 being the crucial point I think.
Comment 13•23 years ago
|
||
yes, it is.
*** This bug has been marked as a duplicate of 66834 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Updated•16 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•