Bug 379513

Summary: Firefox + panel task manager + wayland weird behavior
Product: [Plasma] plasmashell Reporter: Tony <jodr666>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Eike Hein <hein>
Status: RESOLVED WORKSFORME    
Severity: normal CC: plasma-bugs-null
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Task Manager Settings

Description Tony 2017-05-04 17:48:33 UTC
I noticed this behavior with Firefox on wayland.

Firefox icon, with the default task manager on the panel (not the icon one), "moves" between other icons when switching tabs with different web pages.

To reproduce:

Open "Dolphin" 
Open Fireofox and some pages, different ones.
Start switching between tabs.

You'll notice Firefox icon will move from either the right or left side of the "Dolphin" icon as you switch tabs.
Comment 1 Tony 2017-05-04 17:52:46 UTC
BTW forgot to mention this happens even with "Lock widgets" on.
Comment 2 Eike Hein 2017-05-04 17:56:13 UTC
Could you add a screenshot of your Task Manager's config dialog so I can reproduce your settings?
Comment 3 Tony 2017-05-04 18:24:41 UTC
Created attachment 105346 [details]
Task Manager Settings
Comment 4 Eike Hein 2017-05-05 20:43:35 UTC
This is basically because on Wayland we currently don't have all the window metadata the Task Manager needs for sorting, so the window title ends up being the sort string (to simplify), so the moving happens because the window title changes as you switch tabs.
Comment 5 Tony 2017-10-16 13:51:32 UTC
(In reply to Eike Hein from comment #4)
> This is basically because on Wayland we currently don't have all the window
> metadata the Task Manager needs for sorting, so the window title ends up
> being the sort string (to simplify), so the moving happens because the
> window title changes as you switch tabs.

Well wayland's got it's metadata for sorting, its fixed, can't reproduce anymore, all good on Neon and opensuse.
Comment 6 Tony 2017-10-16 13:52:46 UTC
Making it "works for me" since i don't trully know if it is properly fixed.
Comment 7 Eike Hein 2017-10-17 02:46:39 UTC
Likely got fixed when we improved the app identification heuristics on Wayland by sharing them with X11.