Open Bug 1644109 Opened 7 months ago Updated 6 months ago

macOS, Multi-Monitor: login/password autocomplete dropdown appears on wrong screen

Categories

(Toolkit :: Form Manager, defect, P2)

78 Branch
Unspecified
macOS
defect

Tracking

()

People

(Reporter: Andreas_Kahl, Assigned: haik)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Firefox/78.0

Steps to reproduce:

Open Firefox (I have 78b3) in Mac OS with an external Screen connected. (E.g. a MacBookPro Retina with an LCD via HDMI). Maximize the firefox window on the laptop's screen (green button).
Open a web page, e.g. www.twitter.com, go to login and save credentials in Firefox. Log out and go back for login. The stored credentials should appear below the login <input> field.
A similar behaviour can be observed using the addon 'Livemarks', where the live bookmarks containing RSS Feeds also open on the wrong screen.

Actual results:

Instead of appearing below the input field, the dropdown appears on the external display (in my case in the top left corner), and is rendered too large (I assume this is due to the higher pixel density on the Retina display Firefox runs in.)

Expected results:

The dropdown should open directly below the <input> field.

Marco, do you know where the logic that positions the autocomplete popup lives?

Component: Untriaged → Autocomplete
Flags: needinfo?(mak)
OS: Unspecified → macOS
Product: Firefox → Toolkit
Summary: Mac OS, Multi-Monitor: Password Dropdown appears on wrong screen → macOS, Multi-Monitor: login/password autocomplete dropdown appears on wrong screen

(In reply to :Gijs (he/him) from comment #1)

Marco, do you know where the logic that positions the autocomplete popup lives?

Sorry, no. I am just a user without any knowledge of Firefox's code.

(In reply to Marko Ramius from comment #2)

(In reply to :Gijs (he/him) from comment #1)

Marco, do you know where the logic that positions the autocomplete popup lives?

Sorry, no. I am just a user without any knowledge of Firefox's code.

Sorry - disambiguation issue here - I was asking Marco Bonardo, who I needinfo'd. :-)

Flags: needinfo?(mak)

Addendum: The search suggestions in the Cmd-K Searchbox appear on the wrong screen, too.

Thanks for the report.

This is probably another instance of bug 1592416 which was recently fixed, but probably not generally enough to cover all cases. Taking the bug.

(In reply to Marco Bonardo [:mak] from comment #4)

Probably here https://searchfox.org/mozilla-central/rev/9ad88f80aeedcd3cd7d7f63be07f577861727054/toolkit/actors/AutoCompleteParent.jsm#267 but I'm not sure how the underlying xul code picks a screen.

Thanks, that's helpful.

Assignee: nobody → haftandilian

The severity field is not set for this bug.
:mak, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(mak)
Severity: -- → S3
Status: UNCONFIRMED → NEW
Component: Autocomplete → Form Manager
Ever confirmed: true
Flags: needinfo?(mak)
Priority: -- → P2

I have the same problem in CentOS 8.1, Firefox 68.9.0esr. So I guess this is not just macOS platform.

I'd like to add that I have the same issue with Bookmark Folders in the Bookmark Menu. I have Firefox 79.0 on macOS Catalina 10.15.6.

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