Open Bug 1219775 Opened 4 years ago Updated 13 days ago

The urlbar is not focused when a new tab is opened with Ctrl+T while the window is in DOM full screen mode

Categories

(Firefox :: Tabbed Browser, defect, P3)

defect

Tracking

()

Tracking Status
firefox45 --- affected

People

(Reporter: sjakthol, Unassigned)

References

(Blocks 1 open bug)

Details

STR:
1. Go to https://developer.mozilla.org/samples/domref/fullscreen.html
2. Press Enter to enter full screen mode
3. Press Ctrl+T to open a new tab

What happens: The new tab opens but the urlbar is not focused.
What should happen: The urlbar is focused as if it would if you opened a new tab when the window is not in DOM fullscreen mode.

I can reproduce this issue in both Nightly and current release, Fx41, on Ubuntu 14.04.
I have the same problem on Mac, usually when I decide to pause a video to look something up.
OS: Linux → All
Hardware: x86_64 → All
Component: Keyboard Navigation → Tabbed Browser
Priority: -- → P3
Duplicate of this bug: 1503168
Duplicate of this bug: 1529483
Duplicate of this bug: 1527006
Duplicate of this bug: 1430397
Duplicate of this bug: 1538562
Duplicate of this bug: 1498796
Duplicate of this bug: 1549919
Duplicate of this bug: 1560160

Since there are tons of duplications and because this issue is open for 4 years, despite the fact that it probably annoys the hell out of all who use the fullscreen mode and keyboard shortcuts, which is probably not too less of the userbase: Could somebody please increase the importance?

Thanks in advance

Duplicate of this bug: 1614149

I debugged this a little after working on bug 1610200. It looks like the front end takes all the same code paths it does when not in full-screen mode. The difference is that this conditional is false in full-screen mode but true when not in full screen: https://searchfox.org/mozilla-central/source/dom/html/HTMLInputElement.cpp#3039

I stopped debugging at that point, so I don't know why that is.

I tried adding a one-second timeout here, and that fixed it: https://searchfox.org/mozilla-central/rev/a4be2fbe9bd4f405c91cc16e4e3a80400f5a9301/browser/base/content/browser.js#2906 Full-screen mode is exited right above that. So we might be able to listen for the end of the full-screen transition and then do the select after that.

I can't reproduce this on Windows... Comment 0 mentions Linux and I can reproduce it on macOS (like comment 1), so this is Linux and Mac only?

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0

I can reproduce with the STR in comment 0 on Windows 10.

Ah, actually I can too. I think I didn't follow the STR but used the View > Full Screen command instead. So this is all platforms. Thanks.

Duplicate of this bug: 1615827
You need to log in before you can comment on or make changes to this bug.