This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Task switcher not working aynmore (Alt+Tab)

Tags: None
(comma "," separated)
sxe
Registered Member
Posts
65
Karma
0
OS
Hi,
i saw the other thread but this looks like a different problem to me so i figured separating it in two threads makes more sense.

As the title says, the task switcher (Alt+Tab) is not working anymore.

1. I tried to install new layouts from GHNS.
2. None of those worked (visually). The windows are switching but they just pop in, without any visual effect.
3. When "Show selected window" is enabled that works but not the actual layout.
4. I logged out an in again, still not working.
5. I changed back to the Breeze layout, that's not working either now. :( (Worked before)
6. The other default layout are working. "Cover switch" for example.

So i am lost, i deleted the new layouts by hand from .local/share/kwin/tabbox/ but still no change.

I am using archlinux with the latest Plasma 5 Release.

Would appreciate some help here.

Thanks
luebking
Karma
0
run "kbuildsycoca5" and restart "kwin_x11 --replace &"

Otherwise run" strace kwin_x11 --replace 2>&1 | grep main.qml | grep open", try to invoke the tabbox and watch out which paths are tested.
sxe
Registered Member
Posts
65
Karma
0
OS
Hi luebking,
first of all thx for your help, you seem around here a lot and i really appreciate your help.

luebking wrote:run "kbuildsycoca5" and restart "kwin_x11 --replace &"

ok, this fixes the problem with the non working "Breeze" layout, no idea why this was not fixed with a logout -> login.

Anyway,
luebking wrote:Otherwise run" strace kwin_x11 --replace 2>&1 | grep main.qml | grep open", try to invoke the tabbox and watch out which paths are tested.

this gives no ouptut what so ever but
Code: Select all
"strace kwin_x11 --replace 2>&1 | grep main.qml"

gives
Code: Select all
stat("/home/myusername/.local/share/kwin/tabbox/black_icons/contents/ui/main.qml", {st_mode=S_IFREG|0644, st_size=4977, ...}) = 0

But that layout still does not work.
sxe
Registered Member
Posts
65
Karma
0
OS
Hi luebking,
any more ideas how to debug this?
luebking
Karma
0
Is that the only strace match?

Try
"strace kwin_x11 --replace 2>&1 | grep black_icons"

It's completely weird that there's a successful stat but no further action on the file, it looks like you've read/write permissions and the file isn't empty - so something should rather happen with it after the stat (which has to occur from some QFile::open call, stat is a low-level detail)
tanasis
Registered Member
Posts
1
Karma
0
OS
Any luck with this? I am having the same problem... :(
I tried also deleting the .config/kwinr* folders but no luck (based on this post viewtopic.php?f=111&t=130470).
luebking
Karma
0
The OPs problem is about (some?) 3rd party switchers. Deleting kwinrc (NEVER do such EVER! - move it away, but don't destroy the information) shoul kick you back to the defaults - ie. a working system in this context.
Otherwise you face a different problem which you should elaborate on.
sxe
Registered Member
Posts
65
Karma
0
OS
luebking wrote:Is that the only strace match?

Try
"strace kwin_x11 --replace 2>&1 | grep black_icons"

It's completely weird that there's a successful stat but no further action on the file, it looks like you've read/write permissions and the file isn't empty - so something should rather happen with it after the stat (which has to occur from some QFile::open call, stat is a low-level detail)


Sry for being this late, had a buys week.

Here is the output you asked for:
Code: Select all
$ strace kwin_x11 --replace 2>&1 | grep black_icons
stat("/home/USERNAME/.local/share/plasma/look-and-feel/black_icons/contents/windowswitcher/WindowSwitcher.qml", 0x7ffd551cd200) = -1 ENOENT (No such file or directory)                                                                                                                       
stat("/usr/share/plasma/look-and-feel/black_icons/contents/windowswitcher/WindowSwitcher.qml", 0x7ffd551cd200) = -1 ENOENT (No such file or directory)                                                                                                                                   
stat("/usr/local/share/plasma/look-and-feel/black_icons/contents/windowswitcher/WindowSwitcher.qml", 0x7ffd551cd200) = -1 ENOENT (No such file or directory)                                                                                                                             
stat("/home/USERNAME/.local/share/kwin/tabbox/black_icons", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0                                       
open("/home/USERNAME/.local/share/kwin/tabbox/black_icons", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 14                                     
statfs("/home/USERNAME/.local/share/kwin/tabbox/black_icons/", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=61500793, f_bfree=49155263, f_bavail=46025442, f_files=15630336, f_ffree=15333628, f_fsid={1665198025, 2061219228}, f_namelen=255, f_frsize=4096}) = 0
stat("/home/USERNAME/.local/share/kwin/tabbox/black_icons/contents", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/home/USERNAME/.local/share/kwin/tabbox/black_icons/contents", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 15
statfs("/home/USERNAME/.local/share/kwin/tabbox/black_icons/contents/", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=61500793, f_bfree=49155263, f_bavail=46025442, f_files=15630336, f_ffree=15333628, f_fsid={1665198025, 2061219228}, f_namelen=255, f_frsize=4096}) = 0
stat("/home/USERNAME/.local/share/kwin/tabbox/black_icons/contents/ui", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/home/USERNAME/.local/share/kwin/tabbox/black_icons/contents/ui", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 16
statfs("/home/USERNAME/.local/share/kwin/tabbox/black_icons/contents/ui/", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=61500793, f_bfree=49155263, f_bavail=46025442, f_files=15630336, f_ffree=15333628, f_fsid={1665198025, 2061219228}, f_namelen=255, f_frsize=4096}) = 0
open("/home/USERNAME/.local/share/kwin/tabbox/black_icons/metadata.desktop", O_RDONLY|O_CLOEXEC) = 13
stat("/home/USERNAME/.local/share/kwin/tabbox/black_icons/contents/ui/main.qml", {st_mode=S_IFREG|0644, st_size=4977, ...}) = 0


And yes it was the whole output before. Nothing more after that.
luebking
Karma
0
Hmmm... can you paste "/home/USERNAME/.local/share/kwin/tabbox/black_icons/metadata.desktop"?

it should contain sth. like
Code: Select all
X-Plasma-API=declarativeappletscript
X-Plasma-MainScript=ui/main.qml
X-KDE-ServiceTypes=KWin/WindowSwitcher
Type=Service


(and nothing invalidating these values)
sxe
Registered Member
Posts
65
Karma
0
OS
Here we go:

Code: Select all
[Desktop Entry]
Comment=Black Icons is a fork of original "Large Icons" window switcher with custom styling.
Comment[bs]=Izgled prozora Switcher pomoću velike ikone za zastupanje prozor
Comment[ca@valencia]=Una disposició del commutador de finestres que utilitza icones grans per representar la finestra
Comment[ca]=Una disposició del commutador de finestres que utilitza icones grans per representar la finestra
Comment[da]=Et vinduesskifter-layout som bruger store ikoner til at repræsentere vinduet
Comment[de]=Ein Fensterwechsler-Layout, das große Symbole zur Darstellung der Fenster verwendet
Comment[el]=Μια διάταξη εναλλαγής παραθύρων που χρησιμοποιεί μεγάλα εικονίδια για να αναπαραστήσει το παράθυρο
Comment[es]=Un esquema de cambiador de ventanas que usa iconos grandes para representar las ventanas
Comment[et]=Aknavahetaja paigutus suurte, aknaid tähistavate ikoonidega
Comment[eu]=Leihoak irudikatzeko ikono handiak erabiltzen dituen leiho-kommutadorearen diseinu bat
Comment[fi]=Tehtävänvalitsimen asettelu, jossa ikkunat esitetään suurilla kuvakkeilla
Comment[fr]=Un sélecteur de fenêtres utilisant de grandes icônes pour représenter les fenêtres
Comment[gl]=Unha disposición do alternador de xanelas que usa iconas grandes para representar a xanela
Comment[hu]=Egy ablakváltó elrendezés, amely nagy ikonokat használ az ablak ábrázolásához
Comment[ia]=Un disposition de commutator de fenestra usante icones grande pro representar le fenestra
Comment[it]=Una disposizione dello scambiafinestre che usa icone grandi per rappresentare le finestre
Comment[kk]=Терезелерді үлкен таңбашалармен белгілейтін терезе ауыстырғышының қалыпы
Comment[km]=ប្លង់​កម្មវិធី​ប្ដូរ​បង្អួច ដោយ​ប្រើ​រូបតំណាង​ធំ ដើម្បី​បង្ហាញ​បង្អួច​ឡើងវិញ
Comment[ko]=큰 아이콘으로 창을 나타내는 창 전환기 레이아웃
Comment[lt]=Langų perjungimo išdėstymas naudojantis dideles piktogramas langų pristatymui
Comment[mr]=चौकटींचे प्रतिनिधित्व करणारी मोठी चिन्हे वापरणारी एक चौकट बदल रचना
Comment[nb]=En vindusbytterutforming som bruker store ikoner for å representere vinduer
Comment[nds]=En Finsterwesseln mit groot Lüttbiller för de Finstern
Comment[nl]=Een indeling van de vensterwisselaar die grote pictogrammen gebruikt om vensters te representeren
Comment[pl]=Układ przełączania okien używający dużych ikon do prezentowania okien
Comment[pt]=Uma disposição de mudança de janelas que usa ícones grandes para representar a janela
Comment[pt_BR]=Um leiaute do seletor de janelas que usa ícones grandes para representá-las
Comment[ro]=Aranjament pentru comutarea ferestrelor ce folosește pictograme mari pentru a reprezenta fereastra
Comment[ru]=Переключатель окон, показывающий большие значки окон
Comment[sk]=Rozloženie prepínača okien používajúce veľké ikony na reprezentáciu okna
Comment[sl]=Razpored preklapljanja za predstavitev oken uporablja velike ikone
Comment[sr@ijekavian]=Распоред мењача прозора који представља прозоре великим иконама
Comment[sr@ijekavianlatin]=Raspored menjača prozora koji predstavlja prozore velikim ikonama
Comment[sr@latin]=Raspored menjača prozora koji predstavlja prozore velikim ikonama
Comment[sr]=Распоред мењача прозора који представља прозоре великим иконама
Comment[sv]=En layout för fönsterbyte som använder stora ikoner för att representera fönstret
Comment[tr]=Büyük simgeleri kullanan bir pencere değiştirme düzeni pencere temsilini gösteriyor
Comment[uk]=Компонування засобу перемикання вікон з великими піктограмами вікон
Comment[vi]=Một kiểu chuyển đổi cửa sổ sử dụng các biểu tượng lớn để đại diện cho cửa sổ
Comment[x-test]=xxA window switcher layout using large icons to represent the windowxx
Comment[zh_CN]=一个用大图标表示窗口的窗口切换器布局
Comment[zh_TW]=使用大圖示來表示視窗的視窗切換器佈局
Encoding=UTF-8
Icon=preferences-system-windows-switcher-big-icons
Keywords=
Name=Black Icons
Name[bs]=Velike ikone
Name[ca@valencia]=Icones grans
Name[ca]=Icones grans
Name[cs]=Velké ikony
Name[da]=Store ikoner
Name[de]=Große Symbole
Name[el]=Μεγάλα εικονίδια
Name[es]=Iconos grandes
Name[et]=Suured ikoonid
Name[eu]=Ikono handiak
Name[fi]=Suuret kuvakkeet
Name[fr]=Grandes icônes
Name[ga]=Deilbhíní Móra
Name[gl]=Iconas grandes
Name[he]=סמלים גדולים
Name[hu]=Nagy ikonok
Name[ia]=Icones grande
Name[it]=Icone grandi
Name[kk]=Үлкен таңбашалар
Name[km]=រូបតំណាង​ធំ
Name[ko]=큰 아이콘
Name[lt]=Dideli ženkliukai
Name[mr]=मोठे चिन्ह
Name[nb]=Store ikoner
Name[nds]=Groot Lüttbiller
Name[nl]=Grote pictogrammen
Name[pa]=ਵੱਡੇ ਆਈਕਾਨ
Name[pl]=Duże ikony
Name[pt]=Ícones Grandes
Name[pt_BR]=Ícones grandes
Name[ro]=Pictograme mari
Name[ru]=Крупные значки
Name[sk]=Veľké ikony
Name[sl]=Velike ikone
Name[sr@ijekavian]=Велике иконе
Name[sr@ijekavianlatin]=Velike ikone
Name[sr@latin]=Velike ikone
Name[sr]=Велике иконе
Name[sv]=Stora ikoner
Name[tr]=Büyük Simgeler
Name[uk]=Великі піктограми
Name[vi]=Biểu tượng lớn
Name[x-test]=xxLarge Iconsxx
Name[zh_CN]=大图标
Name[zh_TW]=大圖示
Type=Service
X-KDE-ParentApp=
X-KDE-PluginInfo-Author=Victor Polevoy (FX)
X-KDE-PluginInfo-Category=Miscellaneous
X-KDE-PluginInfo-Depends=
X-KDE-PluginInfo-Email=vityatheboss@gmail.com
X-KDE-PluginInfo-License=GPL
X-KDE-PluginInfo-Name=black_icons
X-KDE-PluginInfo-Version=1.0
X-KDE-PluginInfo-Website=
X-KDE-ServiceTypes=KWin/WindowSwitcher
X-Plasma-API=declarativeappletscript
X-Plasma-MainScript=ui/main.qml
X-Plasma-RemoteLocation=
luebking
Karma
0
Tried installing "Black Icons" and it immediately spammed a dialog "Installation broken, resources are missing", I assume because it's using QtQuick 1 and reg. plasma components which are not installed w/ plasmashell / KF5
=> the switcher simply needs to be ported.
sxe
Registered Member
Posts
65
Karma
0
OS
Hm ok,
have you tried any other switcher?
They all seem to be broken then. Would be great if either GHNS or kwin itself would notice outdated components and does not make us hunt non existing bugs.

Greetings
luebking
Karma
0
There seems no versioning, probably nobody considered an API break in qml
My guess is that every 3rd party switcher will be broken on KDE/5 until there's an explicit port.
Please don't make me rant on QML, thanks.
mgraesslin
KDE Developer
Posts
572
Karma
7
OS
We can introduce a version number in the metadata.desktop file and exclude all other versions.
sxe
Registered Member
Posts
65
Karma
0
OS
Sounds good to me.

luebking lets talk QML. xD


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]