mate-desktop / mate-notification-daemon

Daemon to display passive pop-up notifications
https://mate-desktop.org
GNU General Public License v2.0
30 stars 26 forks source link

Wrong positioning with multiple displays #167

Open ov7a opened 4 years ago

ov7a commented 4 years ago

There is a similar bug in notify-osd package (same symptoms) https://bugs.launchpad.net/ubuntu/+source/notify-osd/+bug/331369

I have three monitors, located like this: 1 2 3 The main display is 2.

Expected behaviour

When selecting a notification popup position using mate-notification-properties, it should be placed at desired positon, e.g. top left or top right corner.

Actual behaviour

When I select "top left", notifications are displayed at top right corner of display 1. When I select "top right", notifications are displayed off-screen - the right border of a notification is shown at top left corner of display 1. When I select "bottom left", notifications are displayed off-screen - the bottom border of a notification is shown at top left corner of display 1. When I select "bottom right", notifications are displayed off-screen - the bottom right corner of a notification is shown at top left corner of display 1.

Steps to reproduce the behaviour

Have several monitors, try to switch popup position using mate-notification-properties and hit preview.

MATE general version

1.22.2-0ubuntu1

Package version

1.22.1-0ubuntu1

Linux Distribution

Ubuntu Mate 19.10

UPD: It seems like that there is an issue regarding monitor 2 - I tried to trigger a popup on it using 2 methods (using active monitor setting and using fixed monitor setting) and both failed. Chowing on other monitors works fine. After changing the default monitor, everything works fine now.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/91202979-wrong-positioning-with-multiple-displays?utm_campaign=plugin&utm_content=tracker%2F1172660&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1172660&utm_medium=issues&utm_source=github).