Closed Bug 1783643 Opened 3 years ago Closed 3 years ago

Don't open downloads panel for very first drag-and-drop download in a new profile

Categories

(Firefox :: Downloads Panel, defect, P3)

Desktop
All
defect

Tracking

()

RESOLVED FIXED
105 Branch
Tracking Status
firefox-esr102 --- fixed
firefox105 --- fixed

People

(Reporter: Gijs, Assigned: aminomancer)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

See discussion in bug 1782205 for the context and confusion this is causing.

Assignee: nobody → shmediaproductions
Severity: -- → S3
Priority: -- → P3

Since bug 1741076, the downloads panel is already configured not to show
the downloads panel if the top chrome window is inactive. However, this
check doesn't matter if the downloads panel has never been opened before
in the profile (represented by pref browser.download.panel.shown). This
patch changes the check so that if the top window is not active, we
don't show the panel, no matter what.

Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/b00df0190ccc Don't open downloads panel if window is inactive. r=Gijs
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch

👍 Thanks

QA Whiteboard: [qa-105b-p2]

Hi Ryan, do you want to uplift this one to esr102 as well?

Flags: needinfo?(ryanvm)

I'm on board with taking whatever QoL improvements and papercut fixes we feel are important to take before ESR users see these changes for the first time.

Flags: needinfo?(ryanvm)

Comment on attachment 9288792 [details]
Bug 1783643 - Don't open downloads panel if window is inactive. r=Gijs

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: Since Fx98, the downloads panel is supposed to open automatically when starting a download, but not if the window is not active/focused. This is because of an issue on Linux where a panel, opened within a window that's underneath another window, can appear on top of the topmost window. But prior to this patch, there was a bug where, the first time the panel is opened, it opened even if the window was not focused.
  • User impact if declined: ESR102 users will encounter the bug this patch was intended to fix
  • Fix Landed on Version: 105
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): The changes are very minimal and only affect one method that determines whether the downloads panel will open or not.
Attachment #9288792 - Flags: approval-mozilla-esr102?

Comment on attachment 9288792 [details]
Bug 1783643 - Don't open downloads panel if window is inactive. r=Gijs

Approved for 102.3esr.

Attachment #9288792 - Flags: approval-mozilla-esr102? → approval-mozilla-esr102+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: