breaktimer-app
breaktimer-app copied to clipboard
Notification UI duplicated
When I receive a notification to take a break (and when the break starts), the UI is duplicated and offset slightly.
Linux Mint 20.2 (Uma) using cinnamon.
How many monitors are you using? Can you double check you definitely don't have two instances of breaktimer open, too?
I'm running two monitors @4K
There only appears to be one instance running, this was something I checked before. There are multiple processes of course, but only one for BreakTimer.AppImage itself
I assume one of the monitors didn't have a popup at all? There should be one popup on each monitor.
Ah, yep. I didn't realise it was supposed to be on each monitor. That'll be the issue then.
In Windows 10 I have two monitors where monitor 2 is the primary one. Popup shows only on monitor 1 but not duplicated or if they are duplicated they are perfectly aligned with each other.
On Windows 10 I made it so that it only displays on one monitor as a workaround because there were some other bugs (in Electron itself) where the windows would not actually render in the correct place.
Ok, can you detect which monitor is primary and show popup there?
Yeah it looks like that should be possible: https://github.com/electron/electron/blob/main/docs/api/screen.md.
I have this issue with 2 monitors and the built in monitor.