Skip to content

Draft: Panel: Do not change state before the filter model starts counting after changing virtual desktop

Fushan Wen requested to merge (removed):adaptive-panel into master

countChanged signal of visibleWindowsModel will be emitted when &QAbstractItemModel::rowsRemoved and &QAbstractItemModel::rowsInserted signals are emitted, but we want to get the count of TasksModel after &QAbstractItemModel::rowsInserted.

This will prevent early state changes of panels before &QAbstractItemModel::rowsInserted, so when the opacity mode 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.

plasma-workspace!1152 (closed) must be merged before this MR is merged.

BUG video: https://www.youtube.com/watch?v=S3FVSNdu0vo

Edited by Fushan Wen

Merge request reports

Loading