Skip to content

kcms/tabbox: Add mock-up object for KWin.DesktopBackground

The window switcher previews don't use the actual quick components the KWin plugin provides, but mock-up objects of those.

Add a mock-up component for KWin.DesktopBackground, which is just a thumbnail of the desktop default image but stretched to cover the whole parent size.

Eventually we'll want to improve the way tabbox previews are done, but for now this fixes the previews for flip&cover window switchers.

BUG: 479552
FIXED-IN: 5.93.0


On the same fashion, the second commit mocks-up the closeable role for previews.

This fixes a qml warning and a wrong representation for the default switcher when it tries to access this model property

Edited by Ismael Asensio

Merge request reports

Loading