If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Page loses focus after adding bookmark due to tag autocompletion dropdown




Bookmarks & History
5 years ago
4 years ago


(Reporter: scott, Unassigned)


17 Branch

Firefox Tracking Flags

(Not tracked)


(Whiteboard: [bugday-20131002])



5 years ago
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0
Build ID: 20121120063459

Steps to reproduce:

1. Go to a page that's too long to fit in a single screen
2. Make sure page is focused - keyboard up/down/PgUp/PgDn scrolls the page
3. Press Ctrl-D to bookmark
4. Type in one or more tags for the bookmark
5. Press Enter
6. Try using keyboard up/down/PgUp/PgDn to scroll page

Actual results:

Page doesn't scroll. Have to click on page to get keyboard scrolling back.

Expected results:

Keys should still scroll the page, as they did before adding the bookmark.

NOTE: This appears to work if I don't type anything in the "Tags:" box. The bug is ONLY if a tag is entered.

Comment 1

5 years ago
Coould you try the basic troubleshooting steps:

1) Safe mode: https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode

2) New profile: https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles

Does it fix your issue?
Flags: needinfo?(scott)

Comment 2

5 years ago
Safe mode does not fix the issue.

Using a new profile DID at first seem to fix the issue, and I think I've figured out why: The bug only happens when a tag autocompletion is suggested.

Even in my normal profile, if I bookmark and type a tag that begins with "z" I don't get the loss of focus, because I have no other tags beginning with "z" so nothing is ever autosuggested. But if I bookmark and type a "t" into the tag field, a dropdown comes up suggesting a bunch of tags that start with "t", and focus is lost.
Flags: needinfo?(scott)

Comment 3

5 years ago
Where does the focus stay? In the location bar?

Comment 4

5 years ago
Apparently nowhere. Typing or pressing arrow keys after dismissing the bookmark popup does nothing.

Are you unable to reproduce this? It should be as simple as: add a bookmark with a tag that begins with "t" (or any letter), then go to a new page and do the steps in the initial bug report, but entering another tag that begins with "t" (or the same letter you used for the first tag).

Just verified this reproduces the bug on a new profile.

Comment 5

4 years ago
Confirmed with 2013-10-01-03-02-04-mozilla-central-firefox-27.0a1.en-US.linux-x86_64.
Component: Untriaged → Bookmarks & History
Ever confirmed: true
Whiteboard: [bugday-20131002]


4 years ago
Summary: Page loses focus after adding bookmark → Page loses focus after adding bookmark due to tag autocompletion dropdown
You need to log in before you can comment on or make changes to this bug.