STEPS TO REPRODUCE
1. Open "Application Menu" or any of the alternatives
2. Press any global shortcut bound to "Move Window [direction]"
Latte Dock hangs and needs to be killed (latte-dock --replace doesn't work or took a long time to respond).
Latte Dock shouldn't crash.
(available in About System)
KDE Plasma Version:
KDE Frameworks Version:
1. Show me how to set the Move Window shortcut
2. With plasma panels don't you have that issue?
3. I searched in plasma systemsettings, global shortcuts, KWin I found a Move window one I set it up and tried to reproduce.... Latte in my system works ok.
The only issue I noticed is that when application launcher is constantly Latte using 1% of cpu and does not stop, but I dont think should happen... so I will open a different thread for this one.
3.Run Latte with default layout, latte-dock --default-layout is the problem present?
Looks like it's even worse than I thought and maybe this is a KDE Plasma bug and not Latte Dock. I still have the hanging issue even with clean Latte Dock install. I noticed the hanging issue with Plasma components as well like System Settings and Plasma Shell, even Dolphin sometimes doesn't respond quickly when launched like it used to be.
I have two video showing how I make both Latte Dock and/or System Settings hang here:
I forgot to include my system detail, so here is the detail:
Linux/KDE Plasma: Manjaro (testing branch)
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.0
Looks like the hang occurs when these warning messages started to appear on after I do anything related to Meta key press.
[warning 17:50:40.907907] - Expected JSON property "X-Plasma-Provides" to be a single string. but it is a stringlist
[warning 17:51:10.945945] - QProcess: Destroyed while process ("kreadconfig5") is still running.
[warning 17:51:40.974974] - Expected JSON property "X-Plasma-Provides" to be a single string. but it is a stringlist
[warning 17:52:11.012012] - QProcess: Destroyed while process ("kreadconfig5") is still running.
[warning 17:52:41.023023] - Expected JSON property "X-Plasma-Provides" to be a single string. but it is a stringlist
[warning 17:53:11.062062] - QProcess: Destroyed while process ("kreadconfig5") is still running.
[warning 17:53:41.092092] - Expected JSON property "X-Plasma-Provides" to be a single string. but it is a stringlist
[warning 17:54:11.128128] - QProcess: Destroyed while process ("kreadconfig5") is still running.
Also the process "kreadconfig5" owned by latte-dock turns to a zombie process during the hang and then "disappear"/clean properly after a while or it will just hang indefinitely and killing the latte-dock process is the only solution.
ps aux | grep kreadconfig5
xxxxx 4406 0.0 0.0 0 0 pts/3 Z+ 17:50 0:00 [kreadconfig5] <defunct>
xxxxx 4522 0.0 0.0 0 0 pts/3 Z+ 17:51 0:00 [kreadconfig5] <defunct>
xxxxx 4532 0.0 0.0 0 0 pts/3 Z+ 17:52 0:00 [kreadconfig5] <defunct>
xxxxx 4593 0.0 0.0 6276 2372 pts/4 R+ 17:53 0:00 grep --color kreadconfig5
pstree -p -s 4406
pstree -p -s 4522
pstree -p -s 4532
The only part of Latte Dock code that explicitly call QProcess to kreadconfig5 is here:
What do you think? Is this Qt bug? Race condition?
What is your video driver in use?
I am using amdgpu all the time.
I actually tried to run Plasma under Nvidia PRIME and the hanging issues is still there.
Sorry I have no idea why this occurs in your system. There are plenty of reports lately that after last updates of Arch/Manjaro plasma and Qt and Latte appear freezes
Downgrading ostree to 2019.2-1 fixes the hanging issue. Looks like we need to wait what Arch Linux team will do to fix this issue.
Relevant Arch Linux bug report: https://bugs.archlinux.org/task/63614
I can also confirm the issue is with ostree. Downgrading it solved my problem as well.
when pressing super/meta key for a period longer than 1 second, latte dock pops up and shows pinned applications and their respective shortcut keys.
This is the exact behavior that does not happen when ostree is at latest version, it hangs before it shows the dock + shortcuts.
ok, this is upstream and should influence plenty plasma cases and ostree cases...