Bug 409866 - Multiple taskbar icons for sublime at launch
Summary: Multiple taskbar icons for sublime at launch
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: 5.14.5
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-16 17:06 UTC by David
Modified: 2024-02-23 22:40 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
several_taskbar_icons (10.86 KB, image/png)
2019-07-16 17:06 UTC, David
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David 2019-07-16 17:06:55 UTC
Created attachment 121556 [details]
several_taskbar_icons

Sometimes, when I launch sublime text (opens multiple windows with previous sessions), it will at times and seemingly at random create more than 1 icon in the taskbar. Sometimes it's 2 icons, sometimes 1 per window, sometimes everything is one single icon.

After the icons are clicked, they merge back into the pinned application icon. Only happens with sublime text.

KDE 5.14.5 running on Debian buster.
Comment 1 Nate Graham 2019-07-17 15:54:58 UTC
I suspect that a bug in Sublime is causing this.

For each one, please run `xprop WM_CLASS` click on it, and then paste the output here.
Comment 2 David 2019-07-17 17:07:58 UTC
(In reply to Nate Graham from comment #1)
> I suspect that a bug in Sublime is causing this.
> 
> For each one, please run `xprop WM_CLASS` click on it, and then paste the
> output here.

They all say the same thing:
WM_CLASS(STRING) = "latte-dock", "lattedock"

If I click the window bar, whether before or after they merge, it says:
WM_CLASS(STRING) = "sublime_text", "Sublime_text"
(same text for all of them)

So no, it's not like that issue from LO.
Comment 3 Nate Graham 2019-07-17 17:19:38 UTC
Thanks!
Comment 4 Nate Graham 2020-07-12 03:51:26 UTC
Is this still happening in Plasma 5.19 with the latest version of Sublime?
Comment 5 David 2020-07-12 08:43:04 UTC
Cannot tell if it happens in 5.19, but it's still happening in 5.17.5.
Comment 6 Bug Janitor Service 2020-07-27 04:33:11 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 David 2020-07-27 19:22:22 UTC
Information is already provided.
Comment 8 galder 2022-01-30 16:13:10 UTC
Looks like an old issue. Setting it to needs more info.
Please try with a newer version(plasma 5.23.5) and if this is not an issue any more let us know.
Bugs placed into NEEDSINFO status will receive a reminder if the ticket:

    Is at least 15 days old
    Has not received any comment within 15 days

If a bug remains in NEEDSINFO for another 15 days with no comment, it will be closed as RESOLVED > WORKSFORME.
If a bug remains in NEEDSINFO with a comment provided within less than 15 days, no action will be taken (as it does not meet the above criteria).
Comment 9 David 2022-01-30 16:13:45 UTC
(In reply to galdera from comment #8)
> Looks like an old issue. Setting it to needs more info.
> Please try with a newer version(plasma 5.23.5) and if this is not an issue
> any more let us know.
> Bugs placed into NEEDSINFO status will receive a reminder if the ticket:
> 
>     Is at least 15 days old
>     Has not received any comment within 15 days
> 
> If a bug remains in NEEDSINFO for another 15 days with no comment, it will
> be closed as RESOLVED > WORKSFORME.
> If a bug remains in NEEDSINFO with a comment provided within less than 15
> days, no action will be taken (as it does not meet the above criteria).

Still an issue.
Comment 10 galder 2022-01-30 16:52:59 UTC
Thanks for your reply. 

I'm afraid our resources are limited and we need to close this particular issue because is difficult for us to reproduce.

Regards
Comment 11 David 2022-01-30 16:57:46 UTC
(In reply to galdera from comment #10)
> Thanks for your reply. 
> 
> I'm afraid our resources are limited and we need to close this particular
> issue because is difficult for us to reproduce.
> 
> Regards

You can also reproduce it with dolphin by middle-clicking its icon quickly several times while system resources are being heavily used by a different process.
Comment 12 galder 2022-01-30 17:15:50 UTC
Lets see if I have it clear
steps:
add dolphin to icon only task manager.
have some heavy process in the cpu.
dolphin by middle-clicking its icon quickly several times
multiple icons instances of dolphin should appear the task  manager

if this is correct, I cant reproduce in the latest Kde
Comment 13 Nate Graham 2022-01-30 19:32:43 UTC
Things that we can't immediately reproduce don't automatically deserve to be closed; re-opening.
Comment 14 Nate Graham 2024-02-23 22:40:52 UTC
> WM_CLASS(STRING) = "sublime_text", "Sublime_text"
> (same text for all of them)
The string comparison is case-sensitive, and those WM_CLASS strings differ by case; one starts with a capital S, while the other is lowercase.As a result they don't match the the Task Manager can't map them as the same app. I suspect this is unintentional on the part of Sublime Text and ought to be reported to them as a bug.

We could also do case-insensitive string comparisons, but there's a chance that this sort of thing could actually be intentional in certain circumstances, so best to report it as an app bug.