Bug 1650051 - [Wayland] When switched by ALT+TAB, Alt remains present for scrolling
Summary: [Wayland] When switched by ALT+TAB, Alt remains present for scrolling
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk3
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL: https://gitlab.gnome.org/GNOME/mutter...
Whiteboard:
: 1724092 1754265 1758130 (view as bug list)
Depends On:
Blocks: ffwayland
TreeView+ depends on / blocked
 
Reported: 2018-11-15 09:20 UTC by Vít Ondruch
Modified: 2019-10-29 16:43 UTC (History)
27 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
GNOME Gitlab GNOME/gtk/issues/2112 None None None 2019-10-29 16:43:55 UTC

Description Vít Ondruch 2018-11-15 09:20:38 UTC
Description of problem:
When FF does not have focus, but the mouse cursor is above its window and I scroll the wheel, instead of scrolling the page, the history backward/forward is browsed.


Version-Release number of selected component (if applicable):
$ rpm -q firefox
firefox-63.0.1-3.fc30.x86_64


How reproducible:
Always


Steps to Reproduce:
1. Browse FF.
2. Give focus to another then FF window
3. Move cursor above FF and scroll the wheel.

Actual results:
The history forward/backward is browsed


Expected results:
The page (or nothing) is scrolled.


Additional info:

Comment 1 Adam Williamson 2019-02-14 21:06:43 UTC
I've been suffering from this too. It's insanely, incredibly annoying and drives me nuts. I have a two-display setup and Firefox is usually maximized on one display, so I run into this *all the time* when I want to scroll the page open in Firefox but a window on the other screen happens to have the focus.

Note this doesn't *always* happen, sometimes scrolling the wheel over the inactive Firefox window does scroll the page not browse the history. I think the difference is whether you change focus by clicking the other window (bug does not happen) or hitting alt-tab (bug does happen).

Comment 2 Martin Stransky 2019-02-18 09:29:35 UTC
ALT + mouse wheel scrolls history on focused window. Looks like the ALT modifier remains active for Firefox when ALT+TAB is used and then the history scroll is used. I'll look at it.

Comment 3 Adam Williamson 2019-02-18 22:49:39 UTC
That makes sense... and actually there's another thing I've been seeing lately which might *possibly* be related: the Firefox test in openqa has been failing quite often lately and always when trying to type something that involves a modifier key (e.g. ctrl-t to open a new tab, or just typing a colon). It might turn out not to be the same thing at all, of course, but I thought I'd mention it.

Comment 4 Martin Stransky 2019-02-26 11:53:59 UTC
Can you confirm that this is Wayland only? I can't reproduce on X.

Comment 5 Martin Stransky 2019-02-26 13:28:29 UTC
This is a Mutter bug, can be preproduced on simple testcase. Filed as https://gitlab.gnome.org/GNOME/mutter/issues/474

Comment 6 Adam Williamson 2019-02-26 16:36:39 UTC
Thanks a lot!

Comment 7 Alessio 2019-06-27 08:54:48 UTC
*** Bug 1724092 has been marked as a duplicate of this bug. ***

Comment 8 Martin Stransky 2019-09-23 08:08:45 UTC
*** Bug 1754265 has been marked as a duplicate of this bug. ***

Comment 9 Martin Stransky 2019-09-23 08:10:19 UTC
It still entertains us on Fedora 31.

Comment 10 Martin Stransky 2019-09-23 08:12:32 UTC
Moving to Gtk3 according to upstream ticket.

Comment 11 Martin Stransky 2019-10-03 11:08:38 UTC
*** Bug 1758130 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.