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

fix: incorrect icon for app running in a separate pid namespace #11907

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gaory1
Copy link

@gaory1 gaory1 commented Oct 29, 2023

To reproduce:
With grouped-window-list, keep 'Group windows by application' off.
Run Chromium in a separate pid namespace. Chromium gets pid 2. (In my case firejail and 'ip netns' are used.)
Run another app in another pid namespace. It gets pid 2 too.
Sometimes the icon of this app in the grouped-window-list is replaced with the Chromium's icon, quite often after closing and opening a new window.

After examining the window properties of the two apps above, I find their _NET_WM_PID are both 2, and this makes get_app_from_window_pid() return the same CinnamonApp.

@mtwebster
Copy link
Member

I can't reproduce the issue described, and I'm concerned disabling this will affect other programs.

Please provide more info - what distribution, cinnamon and webapp-manager version mainly.

@mtwebster mtwebster added the Blocked Needs rebase, changes, or discussion label Jan 31, 2024
@gaory1
Copy link
Author

gaory1 commented Jan 31, 2024

Linux Mint 21.2
cinnamon 5.8.4+victoria
webapp-manager 1.3.2

Please take a look at the window-info.txt

It's really hard to reproduce. Happens with Chromium and Goland only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocked Needs rebase, changes, or discussion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants