Closed
Bug 1258765
Opened 8 years ago
Closed 1 year ago
[Linux] Reader Mode intro popup (about "Reader View") steals focus from Firefox window, which prevents user from scrolling article with keyboard
Categories
(Toolkit :: Reader Mode, defect, P5)
Tracking
()
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
firefox48 | --- | affected |
People
(Reporter: dholbert, Unassigned)
Details
(Whiteboard: [reader-mode-firefox-integration])
Attachments
(1 file)
STR: 1. In a fresh Firefox profile, load some longish page that we can render in Reader View. For example: 1a) visit http://www.gutenberg.org/ebooks/11 1b) click "HTML" or "Plain Text" 2. Try to scroll using the keyboard -- e.g. spacebar, PageDown, downarrow. 3. Switch focus away from & back to Firefox (e.g. Alt-Tab away, and then Alt-Tab back) 4. Try to scroll again. ACTUAL RESULTS: - In step 2, no scrolling actually happens. It seems the popup has stolen keyboard focus. - In step 4, scrolling does happen; we've reclaimed keyboard focus after the alt-tab operation. EXPECTED RESULTS: - Scrolling should be possible in step 2. The popup should not steal focus from the page.
Reporter | ||
Comment 1•8 years ago
|
||
This is not a regression (or not a recent one at least) -- I can reproduce this in current release (45) as well as Nightly (48).
Comment 2•8 years ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #1) > This is not a regression (or not a recent one at least) -- I can reproduce > this in current release (45) as well as Nightly (48). This is filed very generically. Do you see it with any other popups than the reader mode one?
Flags: needinfo?(dholbert)
Reporter | ||
Comment 3•8 years ago
|
||
I've only seen it with the reader mode one. I've just tested two other types of doorhanger-popups, and I can't reproduce with them: - Geolocation permission: tried loading https://forecast.io/ (in a smallish window so that there's something to scroll). After a few seconds, a location permissions doorhanger appears. I'm still able to scroll with arrowkeys. - Password-save notification: tried visiting my bank's website. Typed in username and password & pressed enter. A "save password" doorhanger appeared, but I was still able to scroll on the landing page. So, this may be specific to this Reader View popup. Updating summary/component accordingly.
Component: General → Reader Mode
Flags: needinfo?(dholbert)
Product: Firefox → Toolkit
Summary: Firefox's informational doorhanger-popups (e.g. to introduce Reader View) steal keyboard focus → Reader View intro popup steals keyboard focus
Reporter | ||
Comment 4•8 years ago
|
||
[tweaking summary to include both "Reader Mode" (the name of the component) & "Reader View" (the text that's actually displyaed on the popup), for searchability]
Summary: Reader View intro popup steals keyboard focus → Reader Mode intro popup (about "Reader View") steals keyboard focus
Reporter | ||
Comment 5•8 years ago
|
||
Actually, on further investigation, it looks like the popup makes my Firefox window become no longer the foreground window -- the title-bar darkens when the Reader Mode popup appears, as it does when another window has stolen focus. This definitely does not happen with e.g. location permission popups.
Summary: Reader Mode intro popup (about "Reader View") steals keyboard focus → Reader Mode intro popup (about "Reader View") steals focus from Firefox window
Reporter | ||
Comment 6•8 years ago
|
||
Reporter | ||
Updated•8 years ago
|
Attachment #8733466 -
Attachment description: screencast #1 (watch the titlebar -- main Firefox window loses focus when popup appears) → screencast #1 (watch the titlebar -- main Firefox window loses focus 5 seconds in, when popup appears)
Reporter | ||
Updated•8 years ago
|
Summary: Reader Mode intro popup (about "Reader View") steals focus from Firefox window → Reader Mode intro popup (about "Reader View") steals focus from Firefox window, which prevents user from scrolling article with keyboard
Comment 7•8 years ago
|
||
I expect that this is a side-effect of that panel being noautohide and therefore level="top" on Linux. If so, this is restricted to Linux (just checked, can't reproduce on Windows), and indeed restricted to this popup (the other doorhangers won't have this problem). I also believe that means we can't fix it independent of having it be so hard to dismiss. It seems to already have the "noautofocus" attribute, which seems to not be enough, so beyond that I don't think this is independently fixable... though panels on Linux are especially buggy, and if you have time to invest in those, it's possible you could fix bugs in the XUL code for that... I don't know if that's worth the time investment, though. :-\
Updated•8 years ago
|
OS: Unspecified → Linux
Priority: -- → P5
Summary: Reader Mode intro popup (about "Reader View") steals focus from Firefox window, which prevents user from scrolling article with keyboard → [Linux] Reader Mode intro popup (about "Reader View") steals focus from Firefox window, which prevents user from scrolling article with keyboard
Updated•8 years ago
|
Whiteboard: [reader-mode-firefox-integration]
Updated•2 years ago
|
Severity: normal → S3
Comment 8•1 year ago
|
||
This popup was removed.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•