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

--- Comment #11 from Spinybuddy662 <spiny_buddy...@simplelogin.com> ---
(In reply to Ismael Asensio from comment #2)
> (In reply to Spinybuddy662 from comment #1)
> > I  think I can help to correct the bug, as I have some programming knowledge
> > and I am ready to take some time to look at it. 
> > Do someone has an idea of where I should start the investigation ? And where
> > to find the code for the task icon manager ?
> 
> Nice!
> 
> The backend model for the tasks is in plasma-workspace/libtaskmanager:
> https://invent.kde.org/plasma/plasma-workspace/-/tree/master/libtaskmanager
> And the frontend applet in plasma-desktop/applets/taskmanager:
> https://invent.kde.org/plasma/plasma-desktop/-/tree/master/applets/
> taskmanager
> 
> This looks like some bad update of the filter model (which should filter out
> by activity) when a task is moved, so the problem could be in either of
> them. 
> Happy hacking!

Thank you for pointing me in the right direction in the code. Sorry for the 
late reply. Unfortunately, this year has been quite overwhelming for me, and I
suppose I won't have much time to delve deeply into the taskmanager code or
fully understand how the engine works until next year.

Still is there any documentation or a README that explains the basics of how
the taskmodel works? Specifically, I'm looking for information on whether there
are objects like 'launcher' or 'tasks' and where are they declared. I noticed
that the order in the taskbar seems to be controlled by an index, but I'm not
entirely sure I understand how this index works.

However, I did observe that when we don't reorder the icons, the tasks are
properly filtered when changing activities. This leads me to think the issue
might not be with the filter model, but more with the methods which control the
reordering, possibly within `taskmodel::move()`, or
`taskmodel::syncLaunchers()` if I've understood correctly.

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

Reply via email to