Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The XApp Status applet is randomly duplicated #158

Open
adam083b opened this issue Aug 29, 2022 · 9 comments
Open

The XApp Status applet is randomly duplicated #158

adam083b opened this issue Aug 29, 2022 · 9 comments

Comments

@adam083b
Copy link

adam083b commented Aug 29, 2022

Expected behaviour

Only one instance of the XApp Status applet should be displayed:
Screenshot at 2022-08-29 09-52-02

Actual behaviour

After starting a new session the XApp Status applet is randomly duplicated

Steps to reproduce the behaviour

Execute the following command multiple times to reproduce the issue:
mate-panel --replace

MATE general version

v1.26.0

Package version

v2.2.14+vanessa

Linux Distribution

Linux Mint 21 Vanessa 64-bit

@billyswong
Copy link

billyswong commented Jan 19, 2023

Could the workaround solution in #157 work for Mate too?

If such workaround works reliably, someone should make such setting become default.

@adam083b
Copy link
Author

adam083b commented Jan 19, 2023

Hello,

I just just changed the xapp-sn-watcher startup delay from 0s to 6s as suggested and I'll let you know if the issue occurs again.
image

Thanks a lot for mentioning this workaround here.

@mtwebster
Copy link
Member

xapp-sn-watcher shouldn't even be enabled for MATE. MATE's normal notification tray takes care functionality it provides.

What is the output from:

gsettings get org.x.apps.statusicon status-notifier-enabled-desktops

And also:

killall xapp-sn-watcher
killall xapp-sn-watcher # (yes twice - the session manager may try to restart it)

G_MESSAGES_DEBUG=all XAPP_DEBUG=SnWatcher /usr/libexec/xapps/sn-watcher/xapp-sn-watcher

@adam083b
Copy link
Author

gsettings get org.x.apps.statusicon status-notifier-enabled-desktops
['Cinnamon', 'X-Cinnamon']

I disabled xapp-sn-watcher at startup let me reboot several times and confirm it solved the issue.

@adam083b
Copy link
Author

adam083b commented Jan 30, 2023

I just got the issue again:
image

As root:

killall xapp-sn-watcher
xapp-sn-watcher: no process found

So the issue on mate is not related to xapp-sn-watcher :(

@mtwebster
Copy link
Member

That's ok -

When they're duplicated like that, can you run:

ps -A | grep xapp

I'm guessing it's really only a single instance of the applet showing duplicate icons, but I want to be sure.

@adam083b
Copy link
Author

adam083b commented Jan 31, 2023

image

As root user:

ps -A | grep xapp
5121 ?        00:00:00 mate-xapp-statu

@billyswong
Copy link

I'm guessing it's really only a single instance of the applet showing duplicate icons, but I want to be sure.

When the icons get duplicated, it is usually the legacy "Notification Area" plus "XApp Status Applet" both showing those icons.

@adam083b
Copy link
Author

adam083b commented Jul 4, 2024

Hello, I only notice this bug with the "XApp Status Applet", the "Notification Area" never duplicates icons as far as I see.
Thanks for looking at my bug report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants