Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Firefox Notifications Default to Different Monitor / Coordinates #59

Open
megamorphg opened this issue Oct 16, 2022 · 7 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@megamorphg
Copy link

Is your feature request related to a problem? Please describe.
I use a CSS config to keep notifications on-screen for a day (or when I manually click close on them or they expire by themselves).
It's really nice because then my Google Calendar notifications just stay on screen hour by hour... and help remind me what I am supposed to be doing. However, they get in the way on my primary monitor since Firefox notifications can only load on the primary monitor and there are no configs or CSS to change that.

Describe the solution you'd like
A script to change the location where notifications spawn or even create about:config to define X and Y coordinates for such.

Describe alternatives you've considered
Changing primary monitor. (not feasible since it's only these semi-permanent notifications I want to change location of)
Changing from Firefox Notifications to Windows 10 Action notifications (not desireable)

Additional context

@megamorphg megamorphg added the enhancement New feature or request label Oct 16, 2022
@aminomancer
Copy link
Owner

Have you posted about this on bugzilla? This sounds more like a Firefox bug than anything else

@megamorphg
Copy link
Author

@aminomancer sounded more like a enhancement than a bug? I've reported it anyway and responded on some of the Ideas out there.

Would be great if they overall improve the notification experience to at least have a notifications center like almost every web app has so we don't have to do hackey workarounds like making notifications permanent and trying to move it to a different monitor 😅

@aminomancer
Copy link
Owner

The name is a little confusing, but posting enhancement requests on Bugzilla is fine too. Everything is done through Bugzilla, so even planned changes are called "bugs" haha. This is probably better resolved in the Firefox source code, since it's not practical to change the behavior through autoconfig. I could add behavior on top of what's there, but it would mean the alert moves twice, so there would probably be some stuttering.

However, the XUL alerts system may not be around for long. It's only used on Windows and only because of problems with the native backend, but those may be resolved soon (there's some work being done on that now). So improving it is likely not going to be a high priority. But I'll try working on this in any case.

@megamorphg
Copy link
Author

The Windows native notifications for FF never worked for me... Honestly not looking forward to it being fixed since notifications wouldn't automatically disappear when they are no longer relevant. Current XUL system removes my Google Calendar and Pushbullet notifications when they are also removed on the server without me having to interact with it... something an "inbox" type notification system never would do.

I much prefer the XUL alert system so hopefully it is replaced with something better. Web browsers definitely need their own notification system nowadays for that reason.

@aminomancer
Copy link
Owner

That sounds like an OS problem. Isn't there an option for that in the Windows 10 settings app? Ease of Access > Display > Simplify and Personalize Windows > Show notifications for [n seconds]. I have it set to the minimum, 5 seconds.

Maintaining the XUL alert system is a lot of work for something that every OS can already natively provide. And it's not very desirable for most users since it means Firefox's alerts will not have a consistent appearance with other apps.

@megamorphg
Copy link
Author

You're right, I guess the only benefit was that:

Current XUL system removes my Google Calendar and Pushbullet notifications when they are also removed on the server without me having to interact with it

I'll just have to get used to Windows 10 notifications when the change happens and maybe just hit the "clear all" button so I don't have to close too many expired notifications.

Feel free to close this if you haven't already started working on the script.

@aminomancer
Copy link
Owner

Ah yeah I see what you mean, they do kind of pile up in the notification panel. Pretty annoying. Hopefully that is fixed in Windows 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants