Skip to content
Commit 0a52b94a authored by Vlad Zahorodnii's avatar Vlad Zahorodnii Committed by Fushan Wen
Browse files

libtaskmanager: Improve handling of not yet mapped windows in region filter in TaskFilterProxyModel

If a new window is created but it's not mapped yet, kwin is going to
announce that window anyway.

On the other hand, the region filter in TaskFilterProxyModel checks
whether the window geometry is valid. If it's invalid, then it's going
to skip performing region checks. However, this may result in the filer
proxy model including windows that should not be there. For example,
this results in the panel losing its translucency temporarily when
launching apps because a filter proxy model is used to determine if any
window overlaps with the panel.

In order to fix that, TaskFilterProxyModel should ignore windows without
valid geometry yet.
parent 7de0a1e9
Pipeline #459987 canceled with stage
in 6 minutes and 41 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment