Closed Bug 1240328 Opened 8 years ago Closed 8 years ago

Toast notifications appear at center of screen rather than bottom right on 4K screen at 200%

Categories

(Core :: DOM: Push Subscriptions, defect)

46 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1240085
Tracking Status
firefox45 --- unaffected
firefox46 --- fixed

People

(Reporter: josh.tumath+bugzilla, Unassigned)

References

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:46.0) Gecko/20100101 Firefox/46.0
Build ID: 20160116030240

Steps to reproduce:

Firefox push notifications are appearing in the centre of my display rather than the bottom left.

I am using a high DPI screen (set to 200%) on a monitor with a 4K resolution.
Same issue with the stable FF43?
(In reply to Loic from comment #1)
> Same issue with the stable FF43?

No. I think the bug was introduced about four days ago in Nightly.
Do you have a demo to test?

I tried this demo of simple push: https://simple-push-demo.appspot.com/
WFM, the push notification is displayed at bottom right with Nightly (1080p screen, resolution 125%).
Attached image Screenshot
(In reply to Loic from comment #3)
> Do you have a demo to test?

The screenshot shows the bug occurring in the demo.
And if you go back to 100%, same issue? (to know if it's related to 4K screen or not)
(In reply to Loic from comment #5)
> And if you go back to 100%, same issue? (to know if it's related to 4K
> screen or not)

Yeah, was just trying that now. After setting my resolution to 1080p and 100%, the bug didn't occur. Also doesn't occur if I set my resolution to 4K but keep the DPI at 100%.
Component: Untriaged → DOM: Push Notifications
Product: Firefox → Core
Summary: Toast notifications appear at center of screen rather than bottom right → Toast notifications appear at center of screen rather than bottom right on 4K screen at 200%
As you have a 4K screen to test, it would be useful to find a regression range in Nightly.
There is the tool Mozregression for that, see http://mozilla.github.io/mozregression/ for details.
You just need to install python 2.7 and the package mozregression (the command-line version).

After that, you can run the command "mozregression --good=2016-01-01" and make your test about the push notification.
At the end, just copy here the pushlog provided in the console output.
I can reproduce the notification position problem.

Regressed by: Bug 890156

This bug also be affected bot only the push notifications but also Notifications API[1].

[1]https://developer.mozilla.org/en-US/docs/Web/API/Notification
Blocks: 890156
Status: UNCONFIRMED → NEW
Ever confirmed: true
Looks like a dup of bug 1240085.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: