Closed Bug 1732446 Opened 3 years ago Closed 3 years ago

[Windows] Close Shortcuts doesn't offer close modal dialog with browser.tabs.warnOnClose = true

Categories

(Firefox :: General, defect, P1)

Firefox 94
Desktop
Windows
defect
Points:
1

Tracking

()

VERIFIED FIXED
94 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- unaffected
firefox92 --- unaffected
firefox93 --- unaffected
firefox94 --- verified
firefox95 --- verified

People

(Reporter: aflorinescu, Assigned: Gijs)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [fidefe-mr11-close-tabs])

Attachments

(1 file)

[Description:]

While "Confirm while closing multiple tabs" is enabled, shortcuts should display close confirmation.

[Environment:]

Windows 10

[Steps:]
  1. New profile, about:preferences#general, enable "Confirm while closing multiple tabs".
  2. Ctrl+T open several new tabs.
  3. Access File/Exit.
    3'. Use shortcut for File/Exit - Ctrl+Shift+Q
    3". Use Alt+F4
[Actual Result:]
  1. Close confirmation is displayed.
    3'. Browser just quits, no confirmation is displayed.
    3''. Browser just quits, no confirmation is displayed.
[Expected Result:]

The behavior of the Ctrl+Shift+Q shortcut, the File menu and Alt+F4 need to be aligned and to my understanding while the "Confirm while closing multiple tabs" is selected (non-default 94 option), the user should get the modal close warning.

[Regression Range:]

N/A - new feature

Setting S3 severity (forgot to add it @ creation)

Severity: -- → S3

I think my understanding of the described behavior from this issue might be a bit amiss, blocking with bug 1732643.

Depends on: 1732643

I'm kind of confused - I agree something is wrong here, but I am seeing different results on current nightly.

File > Exit: warning
Ctrl-Shift-Q: no warning
Alt-F4: warning

Maybe it depends where focus is when using Alt-F4? Can you do a screencast and/or provide more precise detail about what tabs are open when you hit that shortcut?

The Ctrl-Shift-Q bit is a bug anyway, so I'll investigate that in the meantime.

Flags: needinfo?(adrian.florinescu)

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

I'm kind of confused - I agree something is wrong here, but I am seeing different results on current nightly.

This is due to my initial confusion, now the preferences details solves my confusion.

Alt-F4: warning

Uncertain at this point, I might've been messing around with browser.warnOnQuit from what I can see on the profiles history. I'll keep an eye open on this and spin it to a different bug if I can reproduce it with default config.

Maybe it depends where focus is when using Alt-F4? Can you do a screencast and/or provide more precise detail about what tabs are open when you hit that shortcut?

The Ctrl-Shift-Q bit is a bug anyway, so I'll investigate that in the meantime.

This was the original bug, but I've added the 3" point before figuring I don't fully understand the prefs. For clarity, let's continue tracking here the Ctrl-Shift-Q.

Flags: needinfo?(adrian.florinescu)
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Points: --- → 1
Priority: -- → P1
Whiteboard: [fidefe-mr11-close-tabs]
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/afe05f311e80
fix multiple tab warning for quit shortcut usage on Windows, r=NeilDeakin,mhowell
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch

Last good revision: a8b9260fbdef0f3600dc0b8e2e245cb0f82c3470
First bad revision: 9f39ead09bf362121599a4965136529e55880de7
Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=a8b9260fbdef0f3600dc0b8e2e245cb0f82c3470&tochange=9f39ead09bf362121599a4965136529e55880de7

Can you mark this as Regressed by bug 1726736

Flags: needinfo?(gijskruitbosch+bugs)
Flags: needinfo?(gijskruitbosch+bugs)
Regressed by: 1726736
Has Regression Range: --- → yes
Flags: qe-verify+

Hello! I have managed to reproduce the issue with firefox 94.0a1 (2021-09-24) on Windows 10. I can confirm that the issue is fixed with firefox 94.0b9 and 95.0a1(2021-10-22) on Windows 10.

I will update the flags and resolution of this issue.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: