Closed Bug 1749426 Opened 3 years ago Closed 2 years ago

Notifications appear in wrong place on multi-monitor setups

Categories

(Core :: Widget: Win32, defect, P2)

Unspecified
Windows
defect

Tracking

()

RESOLVED DUPLICATE of bug 1746774

People

(Reporter: handyman, Unassigned)

References

Details

(Whiteboard: [win:multimonitors])

Attachments

(2 files)

STR:

  1. Open Firefox on a Windows machine that has more than one display.
  2. Go to a page with notifications - e.g. https://tests.peter.sh/notification-generator/
  3. Watch it spawn a notification

Expected:
The notification appears above the bottom-right of the browser (so, it appears over the browser) (notification_ok.png, taken from a single-monitor display)

Actual:
The notification appears over the taskbar (notification_bad.png)

Seen on Windows 10 and 11.

Attached image notification_bad.png (deleted) —
Attached image notification_ok.png (deleted) —

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

For more information, please visit auto_nag documentation.

Flags: needinfo?(spohl.mozilla.bugs)
Severity: -- → S3
Flags: needinfo?(spohl.mozilla.bugs)
Priority: -- → P2
Whiteboard: [win:multimonitors]

This appears to have been fixed by bug 1746774. This much better STR properly reproduces the issue for me in broken builds and mozregression shows the push from bug 1746774 resolves it:

STR

  1. Open Firefox on a Windows machine that has more than one display. My configuration is a laptop with internal display as leftmost display, 1920x1080 (150%) and an external display, set to be primary, 3840x2160 (150%).
  2. Go to a page with notifications - e.g. https://tests.peter.sh/notification-generator/
  3. Requesting a notification should work here.
  4. Disconnect the other monitor (the external monitor in my case). Wait for Windows to adjust the windows to the new configuration.
  5. Reconnect the other monitor and again wait for Windows to update.
  6. Request a new notification

Actual:
Covers the taskbar like notification_bad.png

Expected:
Proper layout like notification_good.png, same as in step 3.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: