https://bugs.kde.org/show_bug.cgi?id=479552

--- Comment #4 from Ismael Asensio <isma...@gmail.com> ---
Can confirm too. Thanks for submitting! 

This is happening on Plasma5 too. The preview code mocks up `TabBoxSwitcher`
and `Thumbnail` items, without using the actual tabbox code or linking to kwin,
so it cannot access the KWin plugin that provides the background.  This is
enough for simpler switchers but fails for those who access specific KWin API.

I cannot think of a simple fix. A proper one would require some refactoring:
- Plasma provides the background as part of a `FullScreenPlasmaWindow`
component.
- We refactor the tabbox code into a small individual library, so it's kwin who
provides a "fake" model but actual items for the preview (larger scope, but
might be part on something I've been planning to do eventually).
- Also mocking-up the DesktopBackground component, using a "fake" one, (but it
may fail for other 3rd party switchers which rely on different KWin API that is
not mocked up)

(In reply to Doug from comment #1)
> Created attachment 164765 [details]
> Task switcher previews piling up
> 
> Can reproduce.  Also, task switcher previews don't go away, even after
> exiting System Settings.  Should I submit a separate bug for that?

Yes please, that's a different issue and it helps keeping thinks separated.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to