Closed Bug 1881775 Opened 7 months ago Closed 6 months ago

Firefox screenshot notifications steals Alt+Tab focus

Categories

(Firefox :: Screenshots, defect, P5)

Firefox 123
defect

Tracking

()

RESOLVED DUPLICATE of bug 1878037

People

(Reporter: diegojp, Unassigned)

Details

Attachments

(2 files)

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

Steps to reproduce:

Take a screenshot with the builtin tool (Ctrl+Shift+S)
Click to select the element I want
Then Control+C to copy that screenshot
Notification pops in the lower right corner
Paste the screenshot in another website in another Firefox window.
Alt+Tab...

Actual results:

Windows Alt+Tabs to the notification pop up (see attachment)

Expected results:

Windows to Alt+Tab to the other Firefox window and not the notification.
Notifications (native) shouldn't create a window. Windows confuses and then alt tabs to a mere notification breaking my workflow (I'm taking a 50+ screenshots for work).
I have to disable pause notifications altogether to stop this behaviour. This didn't happen about a week ago.

Regards
Diego Jp

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

Component: Untriaged → Screenshots

This behaviour doesn't occur in 122.0.1 (installed in my laptop, refused to update yet)

This bug affects all Firefox notifications on Windows using the "old" non-Windows-native notifications, not only screenshots.

Hello Christoffer , and yes. The Firefox native notifications are broken. Also Firefox autoupgraded yesterday on my laptop confirming the same behaviour (stealing alt+tabbed focus). I might test the behaviour on Linux, I have manjaro installed with dual boot in my laptop. Will test later.

Hello! I have tried to reproduce the issue with firefox 125.0a1(2024-02-28) on Ubuntu 22.04 and Windows 10, unfortunately I wasn't able to reproduce the issue on my end.
Could you please answer the following questions in order to further investigate this issue:

  1. Does this issue happen with a new profile? Here is a link on how to create one: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
  2. Does this issue happen in the latest nightly? Here is a link from where you can download it: https://www.mozilla.org/en-US/firefox/channel/desktop/
  3. Do you have any addons installed? If yes could you please list them?
Flags: needinfo?(diegojp)

Using a new profile didn't help. But the issue seems to be resolved in Nightly.

Attached image bugnotif_newprofile.png
Flags: needinfo?(diegojp)

(In reply to Negritas Sergiu, Desktop QA from comment #5)

Hello! I have tried to reproduce the issue with firefox 125.0a1(2024-02-28) on Ubuntu 22.04 and Windows 10, unfortunately I wasn't able to reproduce the issue on my end.
Could you please answer the following questions in order to further investigate this issue:

  1. Does this issue happen with a new profile? Here is a link on how to create one: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
  2. Does this issue happen in the latest nightly? Here is a link from where you can download it: https://www.mozilla.org/en-US/firefox/channel/desktop/
  3. Do you have any addons installed? If yes could you please list them?
  1. Yes, it still happens on a new profile. Check attachment bugnotif_newprofile.png

  2. Confirming what @christoffer said, no. It doesn't happen in latest nightly (125.0a1). So something broke between 122 and 123, and then fixed in 125.

  3. I have several addons but none of them interferes with screenshots or notifications (I'd like to think). Also the question doesn't matter if I answered yes in question 1 as I created a new empty profile, which have no addons.

Also worth mentioning I actually use the notifications and I like them because they're quite useful and I will always avoid to use the System Backend (Windows Notifications in this case). It's quite sad that you need to navigate to about:config to enable this "old" behaviour of using the built in alerts.

Regards

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

For more information, please visit BugBot documentation.

Flags: needinfo?(sfoster)

I don't think there's anything screenshots-specific going on here. We use the ConfirmationHint from browser.js to show the clipboard copy confirmation. Any fix to this issue would be near there presumably, not Screenshots.

I'm not sure if there's a better component for that than Firefox::General - I'll start there.

Component: Screenshots → General
Flags: needinfo?(sfoster)
Severity: -- → S4
Priority: -- → P5

(In reply to Sam Foster [:sfoster] (he/him) from comment #10)

I don't think there's anything screenshots-specific going on here. We use the ConfirmationHint from browser.js to show the clipboard copy confirmation. Any fix to this issue would be near there presumably, not Screenshots.

I'm not sure if there's a better component for that than Firefox::General - I'll start there.

It somehow solved in 124.0. You may close this now or rename it (since it obviously affected more than the screenshot notification)
Thanks!

Status: UNCONFIRMED → RESOLVED
Closed: 6 months ago
Resolution: --- → WORKSFORME
Component: General → Screenshots
Duplicate of bug: 1878037
Resolution: WORKSFORME → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: