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

Notifications use the whole width of the screen #183

Open NuxRo opened 3 years ago

NuxRo commented 3 years ago

Expected behaviour

Notifications use the position specified in the settings, usually top/right of active monitor.

Actual behaviour

Notifications use the whole width of the screen.

This is a dual monitor setup (stock amd xorg drivers), notifications also always go to the primary monitor instead to the active monitor. Disabling one of the monitors does not fix it.

Screenshot http://img.nux.ro/kje-Selection_177.png

Steps to reproduce the behaviour

MATE general version

1.24

Package version

Version : 1.24.1 Release : 2.fc32 Architecture: x86_64

Linux Distribution

Fedora 32

Link to downstream report of your Distribution

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/94182153-notifications-use-the-whole-width-of-the-screen?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).
raveit65 commented 3 years ago

What do you mean with stock drivers? I am using nvidia card and nvidia driver with 2 monitors on f32 system. If n-m-d-UI is on primary monitor and use-active-monitor is checked, than primary is active monitor and notification is on primary monitor. If n-m-d-UI is on secondary monitor and use-active-monitor is checked, than secondary is active monitor and notification is on secondary monitor. If use-active-monitor is unchecked i can select the monitor for notifications with the dropdown menu. That is the expected behaviour. So what is different with your f32 box? You screenshot shows only the primary monitor (with panel).

Ui is on secondary monitor and use-active-monitor is checked mnd-dual-monitor-1

Ui is on secondary monitor and use-active-monitor is unchecked mnd-dual-monitor-2

NuxRo commented 3 years ago

Stock driver = whatever driver is in the Fedora standard kernel.

First problem is that the notification takes the whole width of the screen. That's a bug.

Second, if in the settings I choose to use the active monitor and move my focus on the other one, notifications don't move there, they still show up, raking the whole width of the primary monitor.

raveit65 commented 3 years ago

Stock driver = whatever driver is in the Fedora standard kernel.

Do you really think that info is useful?

NuxRo commented 3 years ago

modinfo amdgpu says:

name: amdgpu vermagic: 5.8.15-201.fc32.x86_64 SMP mod_unload

Let me know if other information is required and I will provide it.

raveit65 commented 3 years ago

Can you explain you screenshot please? Is this with a spanning configuration and one panel over 2 monitors? Or a screenshot from one monitor and panel only on primary? And please can you make a screenshot with the notification? Use screenshot with timer.

NuxRo commented 3 years ago

Hi,

The screenshot is from the primary monitor, it takes whole top width of primary monitor.

Same behaviour in single monitor setup.

raveit65 commented 3 years ago

Can you you please make a screenshot with the notification?

NuxRo commented 3 years ago

I don't see any option to attach an image, but if you check the first message I've linked a screenshot there already.

raveit65 commented 3 years ago

You mean the brown/grey area is the notification? Or what is the notification?

NuxRo commented 3 years ago

The blue "ribbon" covering the top (and all my icons) is the notification. It says "TEST TEST TEST" on it, on the left side.

raveit65 commented 3 years ago

Weird, normally the standard theme notification with Blue-Submarine gtk-theme should look like this. Notification-Blue-Submarine

@mate-desktop/core-team Anyone around with using amd gpu?

raveit65 commented 3 years ago

Any chance that you have several notification daemons from several desktops installed? I am still wondering that your notification doesn't match you gtk-theme. How did you trigger the notification? With notify-sendor with the preview-button from GUI?

I don't see any option to attach an image,

blabla

NuxRo commented 3 years ago

First time I tried with notify-send, but both notify-send and preview button produce the same broken results. I tried changing the theme to TraditionalOK, but it has not changed anything, still broken.

raveit65 commented 3 years ago

Any chance that you have several notification daemons from several desktops installed? I am still wondering that your notification doesn't match you gtk-theme.

NuxRo commented 3 years ago

I don't think I am running notifications from other desktops, while Gnome is indeed installed, I never use it. Anyway, Fedora 33 is out, so I will upgrade soon. I'll come back if the issues persists.

lukefromdc commented 3 years ago

I have the AMDGPU driver force-enabled for a first-generation GCN card, and have never once seen this issue