Bug 424613 - .desktop shortcuts made via Chrome "Create shortcut..." option get grouped with other Chrome instances rather than with their own entry & icon
Summary: .desktop shortcuts made via Chrome "Create shortcut..." option get grouped wi...
Status: RESOLVED DUPLICATE of bug 358277
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: 5.20.4
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-24 16:35 UTC by friedmann.christopher
Modified: 2021-09-12 14:57 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
.desktop (524 bytes, application/x-desktop)
2020-07-24 16:35 UTC, friedmann.christopher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description friedmann.christopher 2020-07-24 16:35:18 UTC
Created attachment 130371 [details]
.desktop

SUMMARY
Webpage shortcuts created in Chrome using the option "More tools--> Create shortcut...--> Open as window" are grouped with other open instances of Chrome in the Icons-Only Task Manager, rather than having their own entry. Additionally, the icon in the Task Manager is the generic Chrome icon rather than the custom icon I assign it. It should be noted that the icon is correct in both Krunner and in the Application Launcher, and the window itself does open correctly (ie as a standalone window without address bar, bookmarks bar, etc.). This behavior occurs in both Plasma's own panels as well as those created by Latte Dock.

STEPS TO REPRODUCE
1. Create shortcut to webpage in Chrome ("Options--> More tools--> Create shortcut...--> Open as window")
2. Open shortcut via Application Launcher, Krunner, desktop icon, etc.

OBSERVED RESULT
a. Window opens as expected
b. The window is treated as a normal instance of Chrome by the Icons-Only Task Manager, and is grouped as such. If no instance of Chrome is currently open, the Icons-Only Task Manager creates an entry labelled as "Google Chrome" with generic Chrome icon. Instances of Chrome (including from other custom shortcuts) will be grouped with this instance.

EXPECTED RESULT
a. Window opens as expected.
b. The Icons-Only Task Manager creates a discrete entry for the new window seperate from other instances of Chrome and, if a custom icon has been assigned, using this icon rather than the generic Chrome icon.

SOFTWARE/OS VERSIONS
Linux: Manjaro 
KDE Plasma Version: 5.19.3
KDE Frameworks Version: 5.72.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION
Attached is a sample desktop file.
Comment 1 Nicolas Lacombe 2020-12-20 21:05:32 UTC
I am having the same issue when installing pwa (progressive web apps) and launching them: even when they have their own icons and own icon-shortcut in the taskbar, when launched the windows/tasks get grouped into the same group/icon as chrome

see those 2 gifs for reproduction of the bug: 
- installing spotify pwa, launching and showing the grouping (longer video): https://drive.google.com/file/d/1FhIw1-61OwVK-ZjnGPt3qOv0LSE1dmp3/view?usp=sharing
- pinning the spotify pwa to the taskbar and launching it (shorter video): https://drive.google.com/file/d/1_jx0g1HAfyQ9kF4EVqeKAbIcbvQacFzR/view?usp=sharing
Comment 2 Nicolas Lacombe 2020-12-20 21:11:08 UTC
SOFTWARE/OS VERSIONS
os: manjaro

$ uname -a
Linux nlacombe-laptop 5.8.18-1-MANJARO #1 SMP PREEMPT Sun Nov 1 14:10:04 UTC 2020 x86_64 GNU/Linux

$ pamac list | grep plasma
kdeplasma-addons                   5.20.4-1                    extra      5.5 MB
plasma-desktop                     5.20.4-1                    extra      33.5 MB
plasma-framework                   5.76.0-1                    extra      9.0 MB
plasma-integration                 5.20.4-1                    extra      450.6 kB
plasma-nm                          5.20.4-1                    extra      7.8 MB
plasma-pa                          5.20.4-1                    extra      856.0 kB
plasma-workspace                   5.20.4-1                    extra      39.5 MB
plasma-workspace-wallpapers        5.20.4-1                    extra      46.6 MB
plasma5-themes-breath              0.4.0-2                     community  15.6 MB
plasma5-themes-breath2             1.0.10-2                    community  11.1 MB

$ pamac list | grep kde
kde-cli-tools                      5.20.4-1                    extra      4.2 MB
kde-gtk-config                     5.20.4-1                    extra      237.9 kB
kde-servicemenus-rootactions       2.9.1-1                     community  106.5 kB
kdeclarative                       5.76.0-1                    extra      1.5 MB
kdeconnect                         20.08.3-1                   extra      4.2 MB
kdecoration                        5.20.4-1                    extra      274.3 kB
kded                               5.76.0-1                    extra      107.8 kB
kdegraphics-thumbnailers           20.08.3-1                   extra      120.8 kB
kdelibs4support                    5.76.0-1                    extra      18.5 MB
kdenetwork-filesharing             20.08.3-1                   extra      162.0 kB
kdeplasma-addons                   5.20.4-1                    extra      5.5 MB
kdesu                              5.76.0-1                    extra      504.3 kB
libblockdev                        2.24-1                      extra      1.6 MB
manjaro-kde-settings               20200804-1                  community  790.6 kB
polkit-kde-agent                   5.20.4-1                    extra      238.5 kB
xdg-desktop-portal-kde             5.20.4-1                    extra      721.3 kB

$ pamac list | grep qt
appstream-qt                       0.13.1-1                    extra      316.0 kB
attica-qt4                         0.4.2-7                     AUR        1.0 MB
bluez-qt                           5.76.0-1                    extra      2.0 MB
libaccounts-qt                     1.16-2                      extra      160.4 kB
libdbusmenu-qt4                    0.9.3+16.04.20160218-1      AUR        642.3 kB
libdbusmenu-qt5                    0.9.3+16.04.20160218-5      extra      615.3 kB
modemmanager-qt                    5.76.0-1                    extra      1.3 MB
networkmanager-qt                  5.76.0-1                    extra      4.1 MB
phonon-qt4                         4.10.3-1                    AUR        1.2 MB
phonon-qt5                         4.11.1-2                    extra      1.3 MB
phonon-qt5-gstreamer               4.10.0-2                    extra      434.7 kB
polkit-qt4                         0.112.0+git20180107-1       AUR        291.5 kB
polkit-qt5                         0.113.0-2                   extra      301.4 kB
poppler-qt5                        20.10.0-1                   extra      667.6 kB
pulseaudio-qt                      1.2-2                       extra      558.3 kB
python-pyqt5                       5.15.2-1                    extra      28.1 MB
python-pyqt5-sip                   12.8.1-1                    extra      156.4 kB
qt4                                4.8.7-29.1                  community  90.3 MB
qt5-base                           5.15.2-1                    extra      67.2 MB
qt5-declarative                    5.15.2-1                    extra      26.0 MB
qt5-graphicaleffects               5.15.2-1                    extra      550.8 kB
qt5-imageformats                   5.15.2-1                    extra      213.1 kB
qt5-location                       5.15.2-1                    extra      11.6 MB
qt5-multimedia                     5.15.2-1                    extra      3.7 MB
qt5-quickcontrols                  5.15.2-1                    extra      5.0 MB
qt5-quickcontrols2                 5.15.2-1                    extra      9.0 MB
qt5-script                         5.15.2-1                    extra      3.7 MB
qt5-sensors                        5.15.2-1                    extra      930.7 kB
qt5-speech                         5.15.2-1                    extra      177.0 kB
qt5-svg                            5.15.2-1                    extra      502.2 kB
qt5-tools                          5.15.2-1                    extra      17.1 MB
qt5-virtualkeyboard                5.15.2-1                    extra      19.7 MB
qt5-wayland                        5.15.2-1                    extra      6.4 MB
qt5-webchannel                     5.15.2-1                    extra      228.4 kB
qt5-webengine                      5.15.2-1                    extra      153.3 MB
qt5-webkit                         5.212.0alpha4-8             extra      49.0 MB
qt5-x11extras                      5.15.2-1                    extra      41.6 kB
qtermwidget                        0.16.1-1                    community  700.1 kB

(sorry for the 2nd commment)
Comment 3 Nicolas Lacombe 2020-12-20 21:15:06 UTC
not that this issue is simmilar to https://bugs.kde.org/show_bug.cgi?id=358277
Comment 4 Nicolas Lacombe 2020-12-20 21:22:09 UTC
*note
it sucks that you can't edit coments (or I haven't found how)
Comment 5 Nicolas Lacombe 2021-01-04 17:05:17 UTC
I'd really like this bug fixed
if someone can point me to the code most likely causing this and help me a bit onboarding me to the project/code, I would be grateful
I am ready to spend at least a few hours working on this
Comment 6 Matt Day 2021-05-06 13:32:34 UTC
I can recreate this issue consistently with 5.20 and 5.21 when running Wayland - if I run X11 it does not occur.
Comment 7 Nate Graham 2021-09-12 14:57:12 UTC

*** This bug has been marked as a duplicate of bug 358277 ***