KaOSx / apps

KDE SC and applications
https://kaosx.us/packages/packages.php?sortby=name&sordir=asc&repo=apps
27 stars 20 forks source link

The Windows Switcher installation is broken, resources are missing #219

Closed ArrayBolt3 closed 8 months ago

ArrayBolt3 commented 8 months ago

Submission type

Package name & version you are having issues with or have a request for

kwin6

Used repositories

kde-next, build, core, main, apps

Expected behaviour

Pressing Alt+Tab should reveal the task switcher as you flip through the stack of open windows.

Actual behaviour

No task switcher is shown, and an alert from "kdialog" appears with the text The Window Switcher installation is broken, resources are missing. Contact your distribution about this.

Steps to reproduce the problem

  1. Open at least two windows.
  2. Press Alt+Tab.

System info link created by Octopi > Tools > SysInfo

https://dpaste.com/8KNUFMBWN

demmm commented 8 months ago

Since I cannot reproduce on 2 systems (Alt-Tab just works) and an important part of the SysInfo is left empty (pacman.log is the most important for this), make sure to post your /var/log/pacman.log

marco-parillo commented 8 months ago

I have the same symptom, and other than the message, alt-tab seems to work fine for me. Anyway, my full pacman log is: https://raw.githubusercontent.com/marco-parillo/KaOS-Notes/main/pacman.log

demmm commented 8 months ago

On startup, it just worked, now with many windows open, I see the same, have either of you looked at the upstream bug reports for this already?

demmm commented 8 months ago

It looks to be this file that is not loading https://invent.kde.org/plasma/kwin/-/blob/master/src/tabbox/switchers/thumbnail_grid/contents/ui/main.qml?ref_type=heads

ArrayBolt3 commented 8 months ago

I think it's a problem with the Midna theme based on log output:

Dec 24 12:19:35 user-optiplex9020 kwin_wayland[1712]: kwin_tabbox: Component failed to load:  QList(file:///usr/share/plasma/look-and-feel/org.kde.midna.desktop/contents/windowswitcher/WindowSwitcher.qml:94:29: PlasmaCore.IconItem >
                                                                                      PlasmaCore.IconItem {
                                                                                      ^)

See https://invent.kde.org/plasma/plasma-workspace/-/issues/82

EDIT: This is indeed part of the problem, tweaking that file has gotten me a working window switcher. I haven't found all of the issues yet, but I'm to the point where I get no more kdialog errors, and I see a stack of window icons pop out of the left side of my screen when I hit Alt+Tab. The journal log is filled with stuff though, so I'm debugging still.

ArrayBolt3 commented 8 months ago

Assuming this is how it's supposed to look, I think I fixed it.

image

Here's the diff:

window_switcher_fix.txt

demmm commented 8 months ago

https://github.com/KaOSx/midna/commit/c279c1950c78a4e66fc305fc6e72983d823f708f should fix this issue No longer use separate theme files for desktop & window switchers, just use the upstream (moved to a lib) settings.