ubuntu / gnome-shell-extension-appindicator

Adds KStatusNotifierItem support to the Shell
https://extensions.gnome.org/extension/615/appindicator-support/
GNU General Public License v2.0
1.17k stars 157 forks source link

Top right area not clickable in Ubuntu 23.04 #439

Open chinmayroy opened 1 year ago

chinmayroy commented 1 year ago

This problem happens after the installation of Anydesk.

After updating from Ubuntu 22.10 to 23.04, I am experiencing an issue where the top right area of the desktop is not clickable. This problem happens below the icons for sound, wifi, battery, and system settings. I have restarted my laptop multiple times, but the problem persists.

Screenshot: image

Steps to reproduce:

Anydesk Install
Update Ubuntu from 22.10 to 23.04
Boot up laptop
Attempt to click on icons in the top right area of the desktop

Expected behavior: Below the icons in the top right area should be clickable and allow access to their respective functions.

Actual behavior: Below the icons in the top right area are not clickable and do not respond to mouse clicks.

Possible solution: One possible solution could be to reset the GNOME desktop settings using the following command:

gsettings reset org.gnome.desktop.interface icon-theme

Alternatively, updating the system to the latest version, installing any missing updates, and checking for any conflicting applications that might be causing the issue could help to resolve the problem.

Additional information:

The laptop is an HP Elitebook Pro
The issue only occurs in the top right area of the desktop, and the rest of the desktop functions normally.
No other issues have been reported with the update to Ubuntu 23.04.
ychromosome commented 1 year ago

I have the same issue on Fedora 38. It is probably keyed to Anydesk. It even occurs when I close anydesk. I think it has something to do with the Update to gnome-shell 44.1, since the faulty behaviour started after updating e.g. these components:

    Upgrade  gnome-maps-44.1-1.fc38.x86_64           @updates
    Upgraded gnome-maps-44.0-4.fc38.x86_64           @@System
    Upgrade  gnome-remote-desktop-44.1-1.fc38.x86_64 @updates
    Upgraded gnome-remote-desktop-44.0-1.fc38.x86_64 @@System
    Upgrade  gnome-shell-44.1-1.fc38.x86_64          @updates
    Upgraded gnome-shell-44.0-4.fc38.x86_64          @@System
    Upgrade  gnome-calendar-44.1-1.fc38.x86_64       @updates-testing
    Upgraded gnome-calendar-44.0-2.fc38.x86_64       @@System
    Upgrade  gnome-connections-44.1-1.fc38.x86_64    @updates-testing
    Upgraded gnome-connections-44.0-1.fc38.x86_64    @@System
chinmayroy commented 1 year ago

How did you fix this issue?

ychromosome commented 1 year ago

I sadly have no fix yet. I simply removed anydesk from autostart. I hope that one of the developers will jump in and help us find a solution.

chinmayroy commented 1 year ago

I found the exact issue: The issue is happening when I updated ubuntu 22.10 to 23.04

Present Solution: Again I installed ubuntu 22.10, Because 23.04 has issue with anydesk which I menitioned above.

If I found any permanent solution then I will try to write an article on https://chinmayroy.medium.com

elyohan14 commented 1 year ago

I sadly have no fix yet. I simply removed anydesk from autostart. I hope that one of the developers will jump in and help us find a solution.

I did update anydesk version and it works

ychromosome commented 1 year ago

@elyohan14 I only find 6.2.1 on the anydesk website. To which version did you upgrade?

ychromosome commented 1 year ago

@3v1n0 would it be possible, that you take a look into this issue, since it renders the plugin basically useless.

vageliskatsiotis commented 1 year ago

I sadly have no fix yet. I simply removed anydesk from autostart. I hope that one of the developers will jump in and help us find a solution.

I did update anydesk version and it works

To which version? Latest is 6.2.1 and still the issue persists. Arch Linux x64

CubeTheThird commented 1 year ago

This issue occurs for me with any application using the Legacy icon type. These seem to have a "hitbox" that goes beyond the tray border. My guess is that it's related to #447

IatIqbalSajid commented 1 year ago

AssalamoAlekum wa Rahmatullah,

I have the same issue and finally removed Anydesk as of now. Still looking for a solution.

I installed Ubuntu 23.04 from scratch on a server, and wanted to use it from home or anywhere, after installing Anydesk, used it with my mobile and it was working, but when I was sitting in front of the server, anydesk disabled many things, one of it to use X to close anydesk, and X is not working on any window.

I have another system running Ubuntu 22.04 and installed Anydesk (don't know the version), its client is working fine i.e. I can see and control other PC's and Mobiles, But the server is not working, i.e. I cannot see this PC from any other device.

mabugaj commented 1 year ago

As a workaround I simply disabled Legacy Tray Icon Support. Not sure which other apps work with legacy tray icons but for me it was only AnyDesk...

Still I'm using not the default extension for tray icons:

image

gil-obradors commented 12 months ago

I confirm the same behavior @chinmayroy . The issue persistent despite of closing Anydesk. Solved disabling Anydesk from systemd startup. systemctl disable anydesk

Ubuntu 23.04 fresh install


ii  gnome-shell                                                      44.3-0ubuntu1                
ii  gnome-shell-common                                       44.3-0ubuntu1        
ii  gnome-shell-extension-appindicator                53-1                  
ii  gnome-shell-extension-desktop-icons-ng        46+really47.0.2-3Shell
ii  gnome-shell-extension-ubuntu-dock                79ubuntu2.23.04.2
ii  yaru-theme-gnome-shell                                  23.04.4-0ubuntu1    
arisraurus commented 11 months ago

As a workaround I simply disabled Legacy Tray Icon Support. Not sure which other apps work with legacy tray icons but for me it was only AnyDesk...

Still I'm using not the default extension for tray icons:

image

thanks, it's work for me

rzrobbi commented 10 months ago

Exit Anydesk

Restart the Gnome Shell: hit Alt+F2 to open the “Run a Command” window, type the command “r” (yes, just a lowercase letter “r”, without quotes or other parameters) and hit Enter.

by https://launchpad.net/~davimedrade

AndreiCherniaev commented 10 months ago

As a workaround I simply disabled Legacy Tray Icon Support. Not sure which other apps work with legacy tray icons but for me it was only AnyDesk... Still I'm using not the default extension for tray icons: image

thanks, it's work for me

thanks, it's work for my Ubuntu 23. I prepare more detail screenshot: 1) sudo apt install gnome-shell-extension-manager 2) using gnome-shell-extension-manager install 'AppIndicator and KStatusNotifierItem Support' using gnome-shell-extension-manager install 'AppIndicator and KStatusNotifierItem Support'

3) in 'AppIndicator and KStatusNotifierItem Support' go setting and disable 'Legacy Tray Icon Support location of 'Legacy Tray Icon Support' Login

For more information see X11 window (usually AnyDesk) at top-right of the screen is invisible and steals mouse clicks

jobimas commented 9 months ago

Same happens to me. Ubuntu 23.10 and AnyDesk 6.3.0 Workaround fix that worked for me: systemctl disable anydesk

boustanihani commented 8 months ago

Disabling the support for legacy tray icons solved the Anydesk problem for me :)

TuranTimur commented 6 months ago

Oh my god.. I struggled really a lot not knowing how to even search but happened to find this post. thank you so much.

ASRodrigo1 commented 4 months ago

Same problem on Ubuntu 24.04 LTS. Disabling Legacy Tray Icons solved, but Dropbox also disappears from tray. Someone should be looking for this thing, 'cause it's very annoying. I'm going back to Ubuntu 22, 'cause i seek stability.

nasatome commented 3 months ago

Same problem in Ubuntu 24.04 LTS, disabling support for Legacy Tray Icons is not such a viable option because other icons disappear

tatuiot commented 3 months ago

Same issue here, Ubuntu 24.04 Gnome Wayland , dual monitor , Chromium & Spotify cannot be clicked on the rightmost area. I still need to keep on the taskbar the Dropbox icon. it would be great to have this solved, thanks

tatuiot commented 3 months ago

Same issue here, Ubuntu 24.04 Gnome Wayland , dual monitor , Chromium & Spotify cannot be clicked on the rightmost area. I still need to keep on the taskbar the Dropbox icon. it would be great to have this solved, thanks

Solved : I was just about to switch to Debian... but Managed to fix it changing from wayland to x11 using this tip https://helpdesk.psionline.com/hc/en-gb/articles/13470827149332-How-to-perform-the-switch-from-the-Wayland-display-server-to-Xorg-X11-on-Linux-Ubuntu-22-04-LTS

danielmota commented 3 months ago

i'm with the same problem on Ubuntu 24.04.

Tried on Fedora 40 and problem happens.

I disabled legacy and problem persist.

Captura de tela de 2024-05-22 21-00-00

I just can see using tree fingers no swap workspace.

jiapei100 commented 3 months ago

Exit Anydesk

Restart the Gnome Shell: hit Alt+F2 to open the “Run a Command” window, type the command “r” (yes, just a lowercase letter “r”, without quotes or other parameters) and hit Enter.

by https://launchpad.net/~davimedrade

This works for me... But I have to log out and back in again...

danielmota commented 3 months ago

Don't work.

When try ALT + F2 and ' r ' receive a message: unavailable on wayland.

Screencast from 2024-05-24 15-09-11.webm

berdmival commented 3 months ago

I have the same problem with Anydesk on Fedora. I found a solution that works (in this comment on bug tracker):

The solution is to use the following bash script that closes the opened service and invisible window

#!/bin/bash
window_id=$(xwininfo -root -tree | grep -E "200x200" | grep -E "\(has no name\)" | awk '{print $1}')
if [ ! -z "$window_id" ]; then
    flatpak kill com.anydesk.Anydesk > /dev/null 2>&1 &
    xdotool windowclose $window_id
fi

NOTE: you need xwininfo and xdotool installed (I needed to install these programs). And in my case, there were two invisible windows, and I ran commands from this script by hand:

  1. xwininfo -root -tree | grep -E "200x200" | grep -E "\(has no name\)" | awk '{print $1} showed IDs of these windows
  2. flatpak kill com.anydesk.Anydesk > /dev/null 2>&1 kills the anydesk service
  3. xdotool windowclose $window_id (use IDs that were found instead of $window_id by one) helped to close these invisible squares in the top-right corner.
rtfmfm commented 3 months ago

I have the same problem with Anydesk on Fedora. I found a solution that works (in this comment on bug tracker):

The solution is to use the following bash script that closes the opened service and invisible window

#!/bin/bash
window_id=$(xwininfo -root -tree | grep -E "200x200" | grep -E "\(has no name\)" | awk '{print $1}')
if [ ! -z "$window_id" ]; then
    flatpak kill com.anydesk.Anydesk > /dev/null 2>&1 &
    xdotool windowclose $window_id
fi

NOTE: you need xwininfo and xdotool installed (I needed to install these programs). And in my case, there were two invisible windows, and I ran commands from this script by hand:

  1. xwininfo -root -tree | grep -E "200x200" | grep -E "\(has no name\)" | awk '{print $1} showed IDs of these windows
  2. flatpak kill com.anydesk.Anydesk > /dev/null 2>&1 kills the anydesk service
  3. xdotool windowclose $window_id (use IDs that were found instead of $window_id by one) helped to close these invisible squares in the top-right corner.

Thank you! That worked. Ubuntu 24.04

zamoosh commented 3 months ago

This problem happens after the installation of Anydesk.

After updating from Ubuntu 22.10 to 23.04, I am experiencing an issue where the top right area of the desktop is not clickable. This problem happens below the icons for sound, wifi, battery, and system settings. I have restarted my laptop multiple times, but the problem persists.

Screenshot: image

Steps to reproduce:

Anydesk Install
Update Ubuntu from 22.10 to 23.04
Boot up laptop
Attempt to click on icons in the top right area of the desktop

Expected behavior: Below the icons in the top right area should be clickable and allow access to their respective functions.

Actual behavior: Below the icons in the top right area are not clickable and do not respond to mouse clicks.

Possible solution: One possible solution could be to reset the GNOME desktop settings using the following command:

gsettings reset org.gnome.desktop.interface icon-theme

Alternatively, updating the system to the latest version, installing any missing updates, and checking for any conflicting applications that might be causing the issue could help to resolve the problem.

Additional information:

The laptop is an HP Elitebook Pro
The issue only occurs in the top right area of the desktop, and the rest of the desktop functions normally.
No other issues have been reported with the update to Ubuntu 23.04.

I just removed the anydesk, and it solved!

berdmival commented 3 months ago

I just removed the anydesk, and it solved!

@zamoosh

It is a too radical solution, I think. If somebody takes this bug after installing Anydesk, this means that they need to use this program. And uninstalling it's not the way :wink: . To stop it (as I suggest above) will be a softer solution :nerd_face:

vanan1996 commented 3 months ago

I have the same problem with Anydesk on Fedora. I found a solution that works (in this comment on bug tracker):

The solution is to use the following bash script that closes the opened service and invisible window

#!/bin/bash
window_id=$(xwininfo -root -tree | grep -E "200x200" | grep -E "\(has no name\)" | awk '{print $1}')
if [ ! -z "$window_id" ]; then
    flatpak kill com.anydesk.Anydesk > /dev/null 2>&1 &
    xdotool windowclose $window_id
fi

NOTE: you need xwininfo and xdotool installed (I needed to install these programs). And in my case, there were two invisible windows, and I ran commands from this script by hand:

  1. xwininfo -root -tree | grep -E "200x200" | grep -E "\(has no name\)" | awk '{print $1} showed IDs of these windows
  2. flatpak kill com.anydesk.Anydesk > /dev/null 2>&1 kills the anydesk service
  3. xdotool windowclose $window_id (use IDs that were found instead of $window_id by one) helped to close these invisible squares in the top-right corner.

Does this script completely solve the problem? Or after every time you start your computer, you have to run this script again? thank you

berdmival commented 3 months ago

Does this script completely solve the problem? Or after every time you start your computer, you have to run this script again? thank you

@vanan1996

This script helps only to stop Anydesk completely. So, you need to run it every time after using Anydesk program. And if Anydesk is in your autostart programs – every time you start your computer. But if you don't need Anydesk every day, I suggest that you remove it from the autostart list (you can do this from the Anydesk settings).

vanan1996 commented 3 months ago

Does this script completely solve the problem? Or after every time you start your computer, you have to run this script again? thank you

@vanan1996

This script helps only to stop Anydesk completely. So, you need to run it every time after using Anydesk program. And if Anydesk is in your autostart programs – every time you start your computer. But if you don't need Anydesk every day, I suggest that you remove it from the autostart list (you can do this from the Anydesk settings).

Thank you, this wonderful knowledge has been acquired 😎😎

seaSharkDenis commented 2 months ago

So basically anydesk has been the problem, completely removed it by "sudo aprt purge anydesk", and restarted my PC. My affected windows were chrome and VS Code. Once restarted, the area was clickable.

berdmival commented 2 months ago

So basically anydesk has been the problem, completely removed it by "sudo aprt purge anydesk", and restarted my PC. My affected windows were chrome and VS Code. Once restarted, the area was clickable.

@seaSharkDenis , I don't think that this is a good solution for a person who needs to use Anydesk sometimes or even more regularly. For example, I sometimes need this program to help my father with his computer, who lives far away in another city. Do you suggest installing Anydesk every time I need it and then removing it :new_moon_with_face: ?

The author of this issue wrote:

This problem happens after the installation of Anydesk.

I think this means that he needed this program if he installed it :wink:

seaSharkDenis commented 2 months ago

So basically anydesk has been the problem, completely removed it by "sudo aprt purge anydesk", and restarted my PC. My affected windows were chrome and VS Code. Once restarted, the area was clickable.

@seaSharkDenis , I don't think that this is a good solution for a person who needs to use Anydesk sometimes or even more regularly. For example, I sometimes need this program to help my father with his computer, who lives far away in another city. Do you suggest installing Anydesk every time I need it and then removing it 🌚 ?

The author of this issue wrote:

This problem happens after the installation of Anydesk.

I think this means that he needed this program if he installed it 😉

@berdmival, That's the issue, the anydesk needs to have the issue fixed for guys who use the program frequently.

berdmival commented 2 months ago

So basically anydesk has been the problem, completely removed it by "sudo aprt purge anydesk", and restarted my PC. My affected windows were chrome and VS Code. Once restarted, the area was clickable.

@seaSharkDenis , I don't think that this is a good solution for a person who needs to use Anydesk sometimes or even more regularly. For example, I sometimes need this program to help my father with his computer, who lives far away in another city. Do you suggest installing Anydesk every time I need it and then removing it 🌚 ? The author of this issue wrote:

This problem happens after the installation of Anydesk.

I think this means that he needed this program if he installed it 😉

@berdmival, That's the issue, the anydesk needs to have the issue fixed for guys who use the program frequently.

@seaSharkDenis Of course it is really so. But while they haven't fixed it yet, the better solution will be to stop Anydesk completely by hand (as I wrote above) instead of removing it :wink:

seaSharkDenis commented 2 months ago

So basically anydesk has been the problem, completely removed it by "sudo aprt purge anydesk", and restarted my PC. My affected windows were chrome and VS Code. Once restarted, the area was clickable.

@seaSharkDenis , I don't think that this is a good solution for a person who needs to use Anydesk sometimes or even more regularly. For example, I sometimes need this program to help my father with his computer, who lives far away in another city. Do you suggest installing Anydesk every time I need it and then removing it 🌚 ? The author of this issue wrote:

This problem happens after the installation of Anydesk.

I think this means that he needed this program if he installed it 😉

@berdmival, That's the issue, the anydesk needs to have the issue fixed for guys who use the program frequently.

@seaSharkDenis Of course it is really so. But while they haven't fixed it yet, the better solution will be to stop Anydesk completely by hand (as I wrote above) instead of removing it 😉

Thank you @berdmival , I'm gonna try that.

robogo82 commented 2 months ago

This issue is fixed in gnome-shell version 46.2:

https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-appindicator/+bug/2012388

berdmival commented 2 months ago

This issue is fixed in gnome-shell version 46.2:

https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-appindicator/+bug/2012388

On Fedora with Gnome 46.2 problem with Anydesk still kept:

image

In my case it helps only complete stopping that I described above.

I made two commands and all fixed: image

FiestaLake commented 2 months ago

This issue is fixed in gnome-shell version 46.2:

https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-appindicator/+bug/2012388

On Fedora with Gnome 46.2 problem with Anydesk still kept:

image

In my case it helps only complete stopping that I described above.

I made two commands and all fixed: image

I think the fix is only available in the Ubuntu's gnome-shell package. Other distros may require the specific downstream patch.

vanan1996 commented 2 months ago

This issue is fixed in gnome-shell version 46.2: https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-appindicator/+bug/2012388

On Fedora with Gnome 46.2 problem with Anydesk still kept:

image

In my case it helps only complete stopping that I described above.

I made two commands and all fixed: image

https://github.com/ubuntu/gnome-shell-extension-appindicator/issues/439#issuecomment-2182519748

How did you install gnome-shell 46.2? Use PPA?

berdmival commented 2 months ago

This issue is fixed in gnome-shell version 46.2: https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-appindicator/+bug/2012388

On Fedora with Gnome 46.2 problem with Anydesk still kept: image In my case it helps only complete stopping that I described above. I made two commands and all fixed: image

#439 (comment)

How did you install gnome-shell 46.2? Use PPA?

In the Fedora distributive with the last updates, it is by default

vanan1996 commented 2 months ago

I think Ubuntu hasn't released Gnome-shell 46.2 yet

vanan1996 commented 2 months ago

This issue is fixed in gnome-shell version 46.2: https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-appindicator/+bug/2012388

On Fedora with Gnome 46.2 problem with Anydesk still kept: image In my case it helps only complete stopping that I described above. I made two commands and all fixed: image

#439 (comment) How did you install gnome-shell 46.2? Use PPA?

In the Fedora distributive with the last updates, it is by default

can you guide me how to install gnome shell 46.2 on ubuntu 24.04?

3v1n0 commented 2 months ago

Hi, sorry for not replying here in long time, but indeed the issue is in the shell, I've prepared an upstream fix quite some long time ago, but I've not yet proposed but I'll do it in the next days hopefully.

vageliskatsiotis commented 2 months ago

Agreed. Still occurs in 46.2-1 gnome-shell on Arch

This issue is fixed in gnome-shell version 46.2: https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-appindicator/+bug/2012388

On Fedora with Gnome 46.2 problem with Anydesk still kept: image In my case it helps only complete stopping that I described above. I made two commands and all fixed: image

I think the fix is only available in the Ubuntu's gnome-shell package. Other distros may require the specific downstream patch.

FiestaLake commented 2 months ago

Agreed. Still occurs in 46.2-1 gnome-shell on Arch

This issue is fixed in gnome-shell version 46.2: https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-appindicator/+bug/2012388

On Fedora with Gnome 46.2 problem with Anydesk still kept: image In my case it helps only complete stopping that I described above. I made two commands and all fixed: image

I think the fix is only available in the Ubuntu's gnome-shell package. Other distros may require the specific downstream patch.

I have added the needed patches in a gnome-shell-performance AUR package from Ubuntu. Can you see if it fixes the issue?

rdp77 commented 2 months ago

As a workaround I simply disabled Legacy Tray Icon Support. Not sure which other apps work with legacy tray icons but for me it was only AnyDesk...

Still I'm using not the default extension for tray icons:

image

This worked for me but there were some apps that were affected such as

  1. Anydesk (this must have happened)
  2. Discord
  3. Slack

Maybe there are other additions? because I'm just using that for now.

nasatome commented 4 weeks ago

Steps to Resolve the Issue with Anydesk Stealing Clicks on Ubuntu 24.04

(Works for Me, will not necessarily work for you)

I encountered an issue where Anydesk was stealing clicks when the program was opened. Here's how I resolved it:

I ran the following command to check the installed version of gnome-shell:

apt list --installed | grep gnome-shell

I noticed that the output showed:

gnome-shell-common/noble-security,noble-security,now 46.0-0ubuntu5.1 all [installed,upgradable to: 46.0-0ubuntu6~24.04.1]

To update the package, I used:

sudo apt install gnome-shell-common

After updating, I verified the installation and got this output: gnome-shell-common/noble-updates,noble-updates,now 46.0-0ubuntu6~24.04.1 all [installed,automatic]

I then restarted my machine by running:

sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo snap refresh && shutdown now -r

After the restart, the issue was resolved. Anydesk no longer steals clicks when the program is opened.

Those steps worked for me, I hope they work for you too.

https://launchpad.net/ubuntu/+source/gnome-shell/46.0-0ubuntu6~24.04.1

image

image