https://bugs.kde.org/show_bug.cgi?id=452005

AT <atmaho...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
     Ever confirmed|0                           |1
         Resolution|DOWNSTREAM                  |---
                 CC|                            |atmaho...@gmail.com

--- Comment #14 from AT <atmaho...@gmail.com> ---
Re-opening because I believe this bug applies to my situation here. Maybe it's
a new edge case.

I have multiple chromium profiles and I create a desktop file for each. Each
desktop file gets their own icon, and specifies --user-data-dir in the cmdline.
When I add --enable-features=WaylandWindowDecorations and
--ozone-platform-hint=auto to my ~/.config/chromium-flags.conf, I no longer get
the correct icon, just the default wayland yellow circle W. Otherwise the
default chromium shows the correct icon with wayland.


Example desktop file:

~/.local/share/applications/chromium-extra.desktop

[Desktop Entry]
Version=1.0
Name=Chromium-Extra
GenericName=Web Browser
Exec=/usr/bin/chromium --class=Chromium-Extra
--user-data-dir=/home/xxxx/chromium_profiles/extra %U
StartupNotify=true
Terminal=false
#Icon=chromium
Icon=/home/xxxx/chromium_profiles/_icons/Chromium_Logo-green.svg
Type=Application
Categories=Network;WebBrowser;
MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https;
Actions=new-window;new-private-window;

[Desktop Action new-window]
Name=New Window
Exec=/usr/bin/chromium --class=Chromium-Extra
--user-data-dir=/home/xxxx/chromium_profiles/extra

[Desktop Action new-private-window]
Name=New Incognito Window
Exec=/usr/bin/chromium --class=Chromium-Extra
--user-data-dir=/home/xxxx/chromium_profiles/extra --incognito


Also note, I tried to see if a window rule could be a work-around but it
doesn't work. If I detect window properties to add exact match for window
class, it'll fill: "chromium (/home/xxx/chromium_profiles/extra)" and same if I
add Desktop file name to Appearance & Fixes. 

Another note: after I launch the extra browser profile, for a few seconds the
taskbar shows a window titled "Chromium-Extra" with the correct icon, alongside
the additional windows (from the previous session) which have the yellow W
icon. This disappears from the taskbar within a second or so.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to