Bug 408534 - [wayland]: launcher above "original launcher" when using applications with incorrect StartupWMCLASS
Summary: [wayland]: launcher above "original launcher" when using applications with in...
Status: RESOLVED UPSTREAM
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: git (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-10 15:10 UTC by Alexandre Pereira
Modified: 2019-07-10 15:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
gmail launcher that is a desktop file to exec falkon (622.59 KB, image/jpeg)
2019-06-10 15:10 UTC, Alexandre Pereira
Details
chromium gmail desktop file (304 bytes, application/x-desktop)
2019-06-11 00:23 UTC, Alexandre Pereira
Details
whatsapp firefox profile (265 bytes, application/x-desktop)
2019-06-11 00:29 UTC, Alexandre Pereira
Details
latte-dock files (5.45 KB, application/gzip)
2019-06-30 20:04 UTC, Alexandre Pereira
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Pereira 2019-06-10 15:10:25 UTC
Created attachment 120755 [details]
gmail launcher that is a desktop file to exec falkon

SUMMARY
As in the screenshot, launching gmail launcher which is a "falkon -rwp "gmail"" desktop file, which StartupWMCLASS=gmail , will put the falkon icon above the launcher icon.

This only happens in the appbar that is launched. If I launch it from plasma widget, it doesn't happen, and if I launch it on the other monitor appbar, it will happen only on that one.


STEPS TO REPRODUCE
1. Create a desktop file for a browser with a specific StartupWMCLASS
2. Add that desktop file to latte-dock
3. 

OBSERVED RESULT
Latte-dock overlaps launching and browser icon and creates an empty space

EXPECTED RESULT
Latte-dock would not overlap icons

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Michail Vourlakos 2019-06-10 15:21:47 UTC
1. Is this reproducable under X11?
2. Can you send also the desktop file in question?
Comment 2 Alexandre Pereira 2019-06-11 00:22:39 UTC
(In reply to Michail Vourlakos from comment #1)
> 1. Is this reproducable under X11?
> 2. Can you send also the desktop file in question?

1. It doesn't seem to, at least I cannot trigger it. Seems its wayland only
2. desktop file in attachment.
Comment 3 Alexandre Pereira 2019-06-11 00:23:22 UTC
Created attachment 120767 [details]
chromium gmail desktop file
Comment 4 Alexandre Pereira 2019-06-11 00:29:46 UTC
Created attachment 120768 [details]
whatsapp firefox profile
Comment 5 Alexandre Pereira 2019-06-11 00:31:02 UTC
better confirmed with whatsapp firefox profile .desktop file

It works properly with X11 and not with Wayland ( the chromium example could be dubious, because on X11 chromium sets the correct startupwmclass and kde detects that )
Comment 6 Michail Vourlakos 2019-06-24 14:49:14 UTC
please send a more general desktop file demonstrating the issue, I cant reproduce with the ones send... 

Is there any other application with no profiles in order to reproduce?
Comment 7 Alexandre Pereira 2019-06-25 22:25:53 UTC
(In reply to Michail Vourlakos from comment #6)
> please send a more general desktop file demonstrating the issue, I cant
> reproduce with the ones send... 
> 
> Is there any other application with no profiles in order to reproduce?

I don't think so. I think its only applications that don't have their taskbar icon detected properly, like browser apps.
strange that you can't reproduce, sure you are on wayland ? ( it only happens on wayland ) ? if you can't reproduce then feel free to close as invalid.
I can still reproduce it here, with any chromium desktop app shortcut
Comment 8 Michail Vourlakos 2019-06-26 14:06:30 UTC
(In reply to Alexandre Pereira from comment #7)
> (In reply to Michail Vourlakos from comment #6)
> > please send a more general desktop file demonstrating the issue, I cant
> > reproduce with the ones send... 
> > 
> > Is there any other application with no profiles in order to reproduce?
> 
> I don't think so. I think its only applications that don't have their
> taskbar icon detected properly, like browser apps.
> strange that you can't reproduce, sure you are on wayland ? ( it only
> happens on wayland ) ? if you can't reproduce then feel free to close as
> invalid.
> I can still reproduce it here, with any chromium desktop app shortcut

your desktops contain profiles that my system does not contain, so it might be a good idea to send full steps to reproduce... how to create the profile or the appwebpage, the desktop file to use etc etc... in order to reproduce
Comment 9 Alexandre Pereira 2019-06-30 20:03:16 UTC
you think sending my latte-dock profile would help ?
Comment 10 Alexandre Pereira 2019-06-30 20:04:22 UTC
Created attachment 121245 [details]
latte-dock files

my latte-dock rc files, just in case they might help
Comment 11 Alexandre Pereira 2019-07-07 13:35:41 UTC
this may be too soon, since testing for 15 minutes, but after changing kde to unstable 
 kde repositories on opensuse ( using git packages for plasma and kde apps and kde frameworks ), instantly and without changing anything, this bug seems to be gone !

Can you mark as invalid or fixed and then maybe I reopen if it reappears ?
Comment 12 Michail Vourlakos 2019-07-10 15:36:18 UTC
(In reply to Alexandre Pereira from comment #11)
> this may be too soon, since testing for 15 minutes, but after changing kde
> to unstable 
>  kde repositories on opensuse ( using git packages for plasma and kde apps
> and kde frameworks ), instantly and without changing anything, this bug
> seems to be gone !
> 
> Can you mark as invalid or fixed and then maybe I reopen if it reappears ?

of course