The source project of this merge request has been removed.
Draft: taskmanager: Introduce isVirtualDesktopChanging property for taskmodel and taskfilterproxymodel
countChanged
signal of TaskModel will be emitted when
&QAbstractItemModel::rowsRemoved
and &QAbstractItemModel::rowsInserted
signals are emitted, but we want to get the count of TasksModel after
&QAbstractItemModel::rowsInserted
after the virtual desktop is changed.
This will prevent early state changes of panels before
&QAbstractItemModel::rowsInserted
, so when the opacity mode of a panel
is set to adaptive, the opacity will not change to transparent and
change back to opaque when both virtual desktops have at least one
maximized window.
BUG video: https://www.youtube.com/watch?v=S3FVSNdu0vo
Edited by Fushan Wen