I have a very weird problem with gnome. I’m using Gnome 45.2 on kali 2024.1 . The problem is I cannot click on the top right side of the screen, right beneath the Gnome top bar, Nothing works in that area. If it’s a close/max/min button of the window. or a chrome tab, it won’t work. or if it is a Google Chrome page maximized to full height, settings button or downloads button or etc, won’t work.
And what makes it more weird is that, if anydesk is running, clicking in this area will open up anydesk!
I have closed/uninstalled anydesk, the problem is not anydesk.
It’s worth mentioning that I have a two monitor setup.
I have seen this issue mentioned multiple times as something that was caused by Anydesk. I think it is creating a window in that area but somehow is not drawing it properly, but still receiving input. Might be related to status icons and the corresponding extensions.
Yes, I completely removed it, and the issue was there even before I installed anydesk. As soon as I installed the new OS 2024.1, I noticed this. That’s why I guess that might not be an anydesk issue.
I have pictures and videos to show the bug, but I don’t know how to attach them here.
If the window persists after restarting your session (not just gnome-shell), there probably is another app that creates a system tray icon the same way AnyDesk does and is autostarted.
Yesterday I have been able to reproduce this issue using the AnyDesk Flatpak and the “Tray Icons Reloaded” extension. That confirmed my suspicions that the window is part of the tray implementation and that there are two bugs with this on the shell side:
Tray icons work by creating a X11 window in gnome-shell and then reparenting a client window that actually draws the icon to it. Due to a bug the window created by the shell is never destroyed so it remains until the session is restarted (that’s why I asked about this). This is the window you see in xwininfo or xprop when clicking in that area after stopping AnyDesk or whatever else was creating the corresponding icon.
The window created by gnome-shell for this follows the size requested by the client instead of what is shown in the panel and apparently AnyDesk requests a size of 200x200, while other apps might only request something much smaller, so the issue won’t be noticeable with those.
Is there any way that it can be fixed in the short term? or should I wait for an update?
I’m seriously considering moving to another shell since it’s kind of impossible to work with the system this way.
You can try disabling the legacy tray support in the app indicator extension or disable tray icons in the applications that create these large tray icons.