Change:
When I click on any program in latte-dock, nothing happens. If I run in a terminal, I get these warnings:
I figured out the issue is that latte-dock code fails to detect the version of plasma desktop. For that they parse the output of . I made a dirty test with hardcoded value in and which works around the issue. What is the correct solution to have latte-dock detect the version of plasma? Does it not have access to plasmashell path? Also I noticed that the command results in a segfault. Is that an issue?
See for more discussion. Would you mind describing how to trigger the issue for a person (such as me) who doesn't use plasma shell nor latte dock and so is unaware of (a) how the thing is supposed to work (b) how to set it up?
Sure. the latte-dock package latte-dock. There will be a in the nix store path/share/applications that should appear in your application launcher. For more verbosity, run will see the default layout for latte-dock appear at the bottom of the screen ! By default it has in my case Firefox, Dolphin, and a clock widget. I don't know if it will show your default browser and file manager instead. will auto-hide if a windows covers its area. app that you open should also appear there (eg. a terminal emulator) on an icon of an app that is not already open should open a new instance on an icon of an app that is already open should show that windows if there is only one. If there are more than one, it should show an option to chose the window. At point 6 or 7 in NixOS currently nothing happens and we get in the log which is due to in latte-dock (see )
Curious. I can't reproduce this. Could you try cleaning latte-dock qml cache () and trying again? [aroun plasmashell -v plasmashell 5.26.4 Segmentation fault (core dumped) Can't reproduce this either with Plasma 5.27.
When running , the issue is still happening for me. The segfault also happens for me in plasma 5.27 on NixOS unstable (inside a VM). ! Which DE are you using? Maybe this happens only in KDE plasma?
NixOS Unstable () with KDE and Radeon graphics. Ok, this seems like a plasma bug, though very weird. Can you provide a stack trace? Here's the short instruction: Install gdb in your system cp . chmod u+w ./plasmashell open plasmashell in your text editor, scroll to the last line, add gdb into it so that it looks like this: (the hash might be different) run You'll be presented with the gdb repl. Run commands and . If you get a segfault, run . Copy the stack trace and paste it here. Also, having your VM would help.
Thank you for the instructions.
Oh sorry.. i forgot to ask you to run in gdb if you get a segfault. That was actually supposed to give you the stack trace. Updated the instruction above. But from the looks of it, there's something wrong with d-bus in your system and this is a plasma bug, not a latte-dock or nix bug. The best course of action for you would be to create an issue in KDE bug tracker and attack system info, stack trace, and other relevant data.
Here is the bt Ok I will try to create an issue in the KDE bug tracker. Are you saying that latte-dock works perfectly well on NixOS on your side, in the current state? Can you share your nix config? EDIT: How do I install debug symbols on NixOS?
Are you saying that latte-dock works perfectly well on NixOS on your side, in the current state? Can you share your nix config? It's pretty generic. I have latte-dock in and KDE installed as per wiki: This has worked with Radeon, Nvidia, and Intel graphics. EDIT: How do I install debug symbols on NixOS? This might be tricky. Here are a couple of relevant links. I haven't tried this myself, mind you. P.S. I use X11 only. Scrolled through this thread and didn't find any mentions of whether you test this with Xorg or Wayland.
My config is pretty generic too, especially in the VM, I installed NixOS with KDE Plasma, latte-dock in system packages and not much more. I actually switched channel to unstable to try with plasma 5.27, but apart from that I'm basically on default nix config. I did slightly more configuration on my main NixOS install, 22.11, but get same behavior in both cases. Debug symbols seems painful on NixOS. Unsure if I will do that now. Thank you for the help. I use X11 too.
Ok, so after reading the suggested , I enabled and followed the instructions of the option I have and The part for plasma-workspace seems to work fine, but the one for qt5 givers this:
To reproduce the bug described in this issue, a simple way is this: the official NixOS virtualbox ova from (22.11.2939. at the date of writing this) it in VirtualBox the vm konsole will segfault will run latte-dock and you will see that clicking on items in the dock does nothing
I also tried to update the vm to unstable still segfaults, only that the version shown is 5.27.2 still nothing happens when clicking on items in the dock
Again, this seems like a Plasma bug, possibly due to VirtualBox video drivers or something.

Discussion:
{ mkDerivation, lib, cmake, xorg, plasma-framework, plasma-wayland-protocols, fetchFromGitLab <del> , extra-cmake-modules, karchive, kwindowsystem, qtx11extras, qtwayland, kcrash, knewstuff, wayland }: </del> <ins> , extra-cmake-modules, karchive, kwindowsystem, qtx11extras, qtwayland, kcrash, knewstuff , wayland, plasma-workspace }: </ins> mkDerivation rec { pname = "latte-dock"; <del> version = "unstable-2022-09-06"; </del> <ins> version = "unstable-2023-03-31"; </ins> src = fetchFromGitLab { domain = "invent.kde.org"; owner = "plasma"; repo = "latte-dock"; <del> rev = "cd36798a61a37652eb549d7dfcdf06d2028eddc4"; sha256 = "sha256-X2PzI2XJje4DpPh7gTtYnMIwerR1IDY53HImvEtFmF4="; </del> <ins> rev = "4f93251d8c635c6150483ecb321eb276f34d4280"; sha256 = "sha256-oEfKfsVIAmYgQ7+WyBEQfVpI4IndWhYXWBsJE8bNNyI="; </ins> }; <del> buildInputs = [ plasma-framework plasma-wayland-protocols qtwayland xorg.libpthreadstubs xorg.libXdmcp xorg.libSM wayland ]; </del> <ins> buildInputs = [ plasma-framework plasma-wayland-protocols qtwayland xorg.libpthreadstubs xorg.libXdmcp xorg.libSM wayland plasma-workspace ]; </ins> nativeBuildInputs = [ extra-cmake-modules cmake karchive kwindowsystem qtx11extras kcrash knewstuff ];