Multiple user profiles behavior inconsistent in Chromium snap on Ubuntu 20.04 LTS

Bug #1877463 reported by Nour
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
New
Undecided
Unassigned

Bug Description

Just did a clean install of Ubuntu 20.04 LTS. After updating packages and installing chromium snap 81.0.4044.138

I signed in to my main account (I'll call it profile 1)

Profile Path: /home/photon/snap/chromium/1143/.config/chromium/Default

I tried to place a website shortcut in the desktop to my launch my website directly

But whenever I tried to open the shortcut https://i.stack.imgur.com/dFxlD.png,
it opened a different (generic) user window with the default new tab,
not my signed in user nor my website (I'll call this profile 2).

Profile Path: /home/photon/.config/chromium/Default

Whatever shortcuts I created in profile 1 it just open a window on profile 2, a new window like clicking Ctrl + N

I decided to sign in to profile 2 using a different account to test and place a shortcut https://i.stack.imgur.com/2FczV.png,

this time the shortcut opened properly windowed instance of the website I wanted, it also displayed the website icon properly on the desktop and the app launcher, no workarounds needed

Now, this worked only for the shortcuts created through profile 2 and opens automatically in profile 2 , which path is:

Profile Path: /home/photon/.config/chromium/Default

Also, the chromium icon in the app launcher, opens profile 1

Profile Path: /home/photon/snap/chromium/1143/.config/chromium/Default

Note 1: shortcut created through profile 1:

#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=‎‫Dashboard — WordPress‬‎
Exec=/snap/chromium/1143/usr/lib/chromium-browser/chrome --profile-directory=Default --app-id=hdaffjkmdkmlhclgajaoglfdfdnekfma
Icon=chrome-hdaffjkmdkmlhclgajaoglfdfdnekfma-Default
StartupWMClass=crx_hdaffjkmdkmlhclgajaoglfdfdnekfma

Shortcut created through profile 2:

#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=‎‫الرئيسية — ووردبريس‬‎
Exec=/snap/chromium/1143/usr/lib/chromium-browser/chrome --profile-directory=Default --app-id=hkpaiaaolchnaojdcmflgldhaopicfpa
Icon=chrome-hkpaiaaolchnaojdcmflgldhaopicfpa-Default
StartupWMClass=crx_hkpaiaaolchnaojdcmflgldhaopicfpa

Nour (nour-sherif)
summary: - Multiple users behavior inconsistent in Chromium snap on Ubuntu 20.04
- LTS
+ Multiple user profiles behavior inconsistent in Chromium snap on Ubuntu
+ 20.04 LTS
Revision history for this message
Olivier Tilloy (osomon) wrote :

That's yet another symptom of bug #1732482, marking as duplicate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.