mate-desktop / mate-panel

MATE panel
https://mate-desktop.org
GNU General Public License v2.0
184 stars 115 forks source link

clock applet tiled when calendar is opened when using i3wm #1147

Open bart9h opened 3 years ago

bart9h commented 3 years ago

Expected behaviour

The calendar shows in a popup window when I click on the clock applet on the panel.

Actual behaviour

The calendar is tiled below the panel.

here's a screenshot

Steps to reproduce the behaviour

Replace the window manager with i3, then click on the clock applet to show the calendar.

MATE general version

1.20.4 (as shown in System/About Mate)

Package version

mate-panel 1.20.5-1

Linux Distribution

Devuan beowulf

Link to downstream report of your Distribution

?

raveit65 commented 1 year ago

Can you test latest master? There is a fix for same issue in wayland session.

lukefromdc commented 1 year ago

The Wayland fix is wayland specific, using gtk-layer-shell which is specific to wlroots-based wayland compositors. My guess is a tiling x11 window manager (which does not and cannot use the wayland code) is forcing the calendar into a tiled window like any other. That it would be on the other side of the panel is seriously odd, but I have never used a tiling WM so don't know my way around the code for working with them. It's certainly a bug that it's on the wrong side of the panel, but if the WM either does not support a "free floating" window or isn't being told not to treat it as any other tiles window I would expect it to be tiled above a bottom panel or below a top panel.

Possibly i3WM is deciding both the panel toplevel window and calendar window are "panel windows" so tiling both of them all the way across, and the calendar is being considererd a bottom panel?