Ctrl+tab switches to the wrong tab (started taking the mouse position into account)
Categories
(Firefox :: Tabbed Browser, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox-esr128 | --- | unaffected |
firefox133 | --- | wontfix |
firefox134 | --- | wontfix |
firefox135 | --- | wontfix |
firefox136 | --- | wontfix |
firefox137 | --- | fixed |
People
(Reporter: mstange, Assigned: dao)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(1 file)
Steps to reproduce:
- Be on macOS.
- On
about:config
, setbrowser.ctrlTab.sortByRecentlyUsed
totrue
. - Open two additional tabs.
- Position your mouse somewhere halfway between the top and the bottom of the screen.
- Press and hold Ctrl, press Tab, keep holding Ctrl.
- Once the Ctrl+Tab panel appears, release Ctrl.
Expected results:
You should be switched to the most recently-used tab, regardless of where your mouse is when the panel appears.
Actual results:
You are switched to the tab which the panel displays under the mouse.
This is a regression from https://hg.mozilla.org/integration/autoland/rev/3613fc672c501bd6280abfe58e1f53e72f2cd5de .
Emilio, can you take a look?
It might well be that the new behavior is "correct" from the widget / platform side and that the frontend-side workaround needs tweaking.
Assignee | ||
Updated•3 months ago
|
Updated•3 months ago
|
Comment 1•3 months ago
|
||
Setting 133 to disabled since Comment 0 mentions a pref change.
Not sure if this is something needed for 134.
:emilio you have a pending NI already, maybe you would also know if these needs a fix in time for Fx134?
Updated•3 months ago
|
Comment 2•3 months ago
|
||
The pref browser.ctrlTab.sortByRecentlyUsed
is exposed in the settings UI as the "Ctrl+Tab cycles through tabs in recently used order" checkbox under General > Tabs, so this is a bug in a released feature.
This isn't the same as a feature that's only enabled in Nightly behind a flag.
Comment 3•2 months ago
|
||
Too late for Fx133.
There is a pending NI for :emilio already and this was triaged as S3
The final beta for Fx134 builds tomorrow so it's too late for Fx134 beta also. Not sure if it should be considered in a later Fx134 dot release or should wait until Fx135.
Updated•2 months ago
|
Updated•1 month ago
|
Updated•21 days ago
|
Comment 4•19 days ago
|
||
Sorry for not replying to this earlier. I confirmed that this is broken on Linux and intermittently on Windows already.
We could tweak the synthetic mousemove timing or something but I think it'd be more reliable if we could do something like showing the panel with pointer-events: none
and remove it once the mouse starts moving.
Problem there would be how to detect the mousemove if the panel is outside of the firefox window tho...
Comment 5•19 days ago
|
||
Maybe something like starting with pointer-events: none, then wait for two animation frames (to make sure the synthetic mousemove event is dispatched), then remove the pointer-events...
Assignee | ||
Updated•19 days ago
|
Assignee | ||
Comment 6•19 days ago
|
||
Updated•19 days ago
|
Comment 8•19 days ago
|
||
bugherder |
Description
•