Open Bug 1712017 Opened 3 years ago Updated 3 years ago

Menu bar inaccessible in pop-up windows

Categories

(Core :: DOM: Core & HTML, defect, P3)

Firefox 88
Desktop
Windows
defect

Tracking

()

Tracking Status
firefox-esr78 --- wontfix
firefox88 --- wontfix
firefox89 --- wontfix
firefox90 --- wontfix
firefox91 --- fix-optional

People

(Reporter: tom_mozilla, Unassigned)

References

(Depends on 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

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

Steps to reproduce:

Click a link that opens a pop-up window. Press Alt.

Actual results:

The menu bar is not displayed.

Expected results:

When "Menu Bar" is enabled in the toolbar context menu, the menu bar should be displayed when the window opens. When disabled, the menu bar should be displayed after pressing Alt.

OS: Unspecified → Windows
Regressed by: 1507375
Hardware: Unspecified → Desktop
Has Regression Range: --- → yes

The Bugbug bot thinks this bug should belong to the 'Firefox::Menus' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Menus

(In reply to Thomas Arnett from comment #0)

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

Steps to reproduce:

Click a link that opens a pop-up window. Press Alt.

Can you provide a link to a test site where you see this problem? Also, can you clarify how you determined this regressed with bug 1507375?

Flags: needinfo?(tom_mozilla)

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

Hi,
I am able to reproduce the issue in release 88, beta 89.0b14 and latest nightly 90.0a1 (2021-05-21) using Windows 10, but I am not sure if this an issue or this is the expected behavior. I also tried an old Fx 74, before the bug 1507375 fix and the behavior is the same, the Menu Bar is not displayed in the pop-up window even if the Menu Bar option is checked/enabled.

Thanks for your input.

Status: UNCONFIRMED → NEW
Ever confirmed: true

Hi Thomas, we're still waiting to hear back from you (see comment 2). Any updates here?

(In reply to :Gijs (out; back Jun 21; he/him) from comment #2)

Can you provide a link to a test site where you see this problem?

The page where I noticed the problem requires an account. Comment 4 shows how to reproduce it with Reddit.

Also, can you clarify how you determined this regressed with bug 1507375?

This used to be controlled by dom.disable_window_open_feature.menubar. The comments on bug 1507375 indicate that the dom.disable_window_open_feature settings were removed for that bug, and the related bugs document related regressions. I subsequently found Firefox 76 was affected but Firefox 75 was not, matching the tracking flags for that bug.

Flags: needinfo?(tom_mozilla)

Arai, can you take a look based on comment #6?

Component: Menus → DOM: Core & HTML
Flags: needinfo?(arai.unmht)
Product: Firefox → Core

Yes, dom.disable_window_open_feature setting were removed because they were for the old behavior that had been allowing websites to control each UI parts visibility separately.

The better solution here (and for other bugs) would be to provide an option in about:preferences that controls whether to open popup or normal window (either tab or new window) when a website requests opening a popup window.

Currently I'm working standardizing "request opening a popup window" part.
After that, I'll work on adding the option, given the spec will mention about such cusotmizability.

Flags: needinfo?(arai.unmht)

:arai: can you please help setting the issue type and severity of this ticket? I'm tending towards "enhancement" and S3.

Flags: needinfo?(arai.unmht)
Depends on: 1714939
Severity: -- → S3
Type: defect → enhancement
Flags: needinfo?(arai.unmht)
Priority: -- → P3

:arai: thanks.

Type: enhancement → defect
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: