Bug 405657 - New option for QML TasksModel: "filterTransients"
Summary: New option for QML TasksModel: "filterTransients"
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (other bugs)
Version First Reported In: 5.15.3
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-19 19:09 UTC by Michail Vourlakos
Modified: 2022-06-25 19:45 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michail Vourlakos 2019-03-19 19:09:13 UTC
SUMMARY

TaskManager.TasksModel by use-case decision excludes all windows that do have the flag "SkipTaskBar" and that creates a limit to its usage from plasma applets. Last years many kde developers have adopted TaskManager.TasksModel in order to provide window-specific functionality from applets. But because of "SkipTaskBar" filtering some windows can not be accessed and more specific the all important normal windows that are transients for main windows.

Applets example:
https://store.kde.org/p/1274218/
https://store.kde.org/search/projectSearchText/window%20buttons

These applets currently can not provide functionality or information for the transient windows.

What I propose is a new flag for TasksModel called "filterTransients" which is going to be ENABLED by default but will give the option to kde developers to DISABLE it in order to gain access to transients.

I dont know if this is even possible in current plasma wayland infrastructure or it will influence the main use case which is the taskmanager but I want to open the discussion in order to get ideas. 

Of course I can help a bit for developing some parts of it.
Comment 1 Eike Hein 2019-03-19 20:07:58 UTC
This seems OK to me. Feel free to write a patch.
Comment 2 Michail Vourlakos 2019-03-30 17:57:37 UTC
(In reply to Eike Hein from comment #1)
> This seems OK to me. Feel free to write a patch.

I tried but it is harder than it sounds... :(
filtering transients goes down to xwindowtaskmodel and waylandtaskmodel, this is a big change for this model I think...

but I will give it one more shot the next days