linuxmint / wayland

All issues related to Wayland (Cinnamon, XApp, tools etc..)
43 stars 0 forks source link

The context menu of the icons on the panel displays away #21

Open haggen88 opened 6 months ago

haggen88 commented 6 months ago

Distribution

Mint 21.3

Package version

cinnamon 6.0.4

Graphics hardware in use

No response

Frequency

Always

Bug description

When right-clicking on the tray icons, the menus are displayed too far apart.

terminal output when right clicking on tray icon: mint@mint:~$ sticky

(sticky.py:21815): Gdk-WARNING **: 04:05:15.951: Couldn't map as window 0x55f68076ab80 as popup because it doesn't have a parent

w-clic derecho muestra menu my lejos de mintupdate

terminal output when right clicking on tray icon: (mintUpdate.py:22194): Gdk-WARNING **: 04:08:25.966: Couldn't map as window 0x55ffb79f0440 as popup because it doesn't have a parent

Steps to reproduce

right click on the tray icon

Expected behavior

that the menu is displayed near the tray icon

ENRORMA commented 5 months ago

I have the same Problem on cinnamon 6.0.4 and sometimes when i right click on the tray icon for steam nothing happens

TerminusDeus commented 3 months ago

The following workaround worked for me in scope of Linux Mint 21.3 Cinnamon (6.0.4) wayland experimental session (mintupdate 6.1.0):

  1. for proper Update manager tray menu position: quit from Update manager and then run GDK_BACKEND=x11 mintupdate-launcher
  2. for proper xapp-xn-watcher menus (e.g. steam tray menu, flatpak apps (running under x11 socket) tray menus) position: GDK_BACKEND=x11 /usr/lib/x86_64-linux-gnu/xapps/xapp-sn-watcher

It could be used in Startup applications GUI by creating startup items for launching mintupdate-launcher & xapp-sn-watcher (/etc/xdg/autostart/xapp-sn-watcher.desktop could be modified also) and rebooting.