SUMMARY I'm running latte-dock on NixOS, but it appears unable to find my icon themes, resulting in transparent icons much like reported at https://bugs.kde.org/show_bug.cgi?id=398623 and https://www.reddit.com/r/kde/comments/ayj1pd/latte_dock_does_not_show_icons/ (which has a GIF demonstrating the issue). That other bug mentioned confirming the icons were in `/usr/share/icons`. My distro has different paths (`/usr/share` does not exist, `~/.local/share` does though no `./icons` there). How I can check where it's looking, so I can confirm what's going wrong? STEPS TO REPRODUCE 1. start latte-dock 2. don't see icons 3. be sad OBSERVED RESULT no icons visible EXPECTED RESULT icons visible SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION ``` $ latte-dock --version Icon theme "Adwaita" not found. Icon theme "gnome" not found. lattedock 0.8.2 $ latte-dock -d -r --default-layout Icon theme "Adwaita" not found. Icon theme "gnome" not found. [debug 10:21:21.032032] - package is valid true [debug 10:21:21.032032] - connector : "eDP1" - "10" [debug 10:21:21.032032] - Known Screen - "eDP1" - 10 [debug 10:21:21.032032] - connector : "VGA1" - "11" [debug 10:21:21.032032] - Known Screen - "VGA1" - 11 [debug 10:21:21.032032] - Latte::DockCorona the package QJsonObject({"KPlugin":{"Authors":[{"Email":"mvourlakos@gmail.com, audoban@openmailbox.org","Name":"Michail Vourlakos, Smith Ar"}],"Description":"Shell provided for the Latte Dock","Description[ca@valencia]":"Intèrpret d'ordres proporcionat pel Latte Dock","Description[ca]":"Intèrpret d'ordres proporcionat pel Latte Dock","Description[da]":"Skal til Latte-dokken","Description[de]":"Shell für Latte-Dock","Description[el]":"Κέλυφος που παρέχεται από την εφαρμογή Latte","Description[en_GB]":"Shell provided for the Latte Dock","Description[es]":"Shell proporcionada para Latte Dock","Description[eu]":"Shell-a Latte Dockentzat","Description[fi]":"Latte-telakalle tarjottu käyttöliittymä","Description[gl]":"Intérprete de ordes fornecido para a doca Latte.","Description[it]":"Shell fornita per Latte Dock","Description[nl]":"Shell geleverd voor de Latte Dock","Description[nn]":"Skal frå Latte-dokk","Description[pl]":"Powłoka dla doku Latte","Description[pt]":"Consola oferecida para a área acoplável do Latte","Description[pt_BR]":"Shell fornecido pelo Latte Dock","Description[ru]":"Оболочка для Latte Dock","Description[sv]":"Skal tillhandahållet för Latte dockningsfönster","Description[uk]":"Оболонка панелі Латте","Description[x-test]":"xxShell provided for the Latte Dockxx","Description[zh_CN]":"用于 Latte 停靠栏的 Shell","Description[zh_TW]":"由 Latte Dock 提供的 Shell","Id":"org.kde.latte.shell","License":"GPLv3+","Name":"Latte Shell","Name[ca@valencia]":"Intèrpret d'ordres del Latte","Name[ca]":"Intèrpret d'ordres del Latte","Name[cs]":"Shell Latte","Name[da]":"Latte-skal","Name[de]":"Latte-Shell","Name[el]":"Κέλυφος Latte","Name[en_GB]":"Latte Shell","Name[es]":"Consola de Latte","Name[eu]":"Latte Shell-a","Name[fi]":"Latte-käyttöliittymä","Name[gl]":"Intérprete de ordes de Latte","Name[it]":"shell Latte","Name[nl]":"Latte-shell","Name[nn]":"Latte-skal","Name[pl]":"Powłoka Latte","Name[pt]":"Consola do Latte","Name[pt_BR]":"Latte Shell","Name[ru]":"Оболочка Latte","Name[sv]":"Latte skal","Name[uk]":"Оболонка Латте","Name[x-test]":"xxLatte Shellxx","Name[zh_CN]":"Latte Shell","Name[zh_TW]":"Latte Shell","ServiceTypes":["Plasma/Shell"],"Version":"0.8.2","Website":"https://github.com/psifidotos/Latte-Dock"},"Keywords":"shell","Keywords[ca@valencia]":"intèrpret d'ordres","Keywords[ca]":"intèrpret d'ordres","Keywords[da]":"skal","Keywords[de]":"Shell","Keywords[el]":"κέλυφος","Keywords[en_GB]":"shell","Keywords[es]":"consola","Keywords[eu]":"shell","Keywords[fi]":"käyttöliittymä","Keywords[gl]":"intérprete de ordes","Keywords[it]":"shell","Keywords[nl]":"shell","Keywords[nn]":"skal","Keywords[pl]":"powłoka","Keywords[pt]":"consola","Keywords[pt_BR]":"shell","Keywords[ru]":"оболочка","Keywords[sk]":"shell","Keywords[sv]":"skal","Keywords[uk]":"оболонка","Keywords[x-test]":"xxshellxx","Keywords[zh_CN]":"shell","Keywords[zh_TW]":"shell","X-KDE-ParentApp":"latte-dock"}) is valid! [debug 10:21:21.033033] - Universal Settings version : 2 [debug 10:21:21.033033] - Latte is loading its layouts... [debug 10:21:21.033033] - Layout file to create object: "/home/tycho/.config/latte/Extended.layout.latte" with name: "" [debug 10:21:21.033033] - Layout file: "/home/tycho/.config/latte/Extended.layout.latte" [debug 10:21:21.034034] - Layout name: "Extended" [debug 10:21:21.034034] - Layout file to create object: "/home/tycho/.config/latte/My Layout.layout.latte" with name: "" [debug 10:21:21.034034] - Layout file: "/home/tycho/.config/latte/My Layout.layout.latte" [debug 10:21:21.034034] - Layout name: "My Layout" [debug 10:21:21.035035] - Layout file to create object: "/home/tycho/.config/latte/Plasma.layout.latte" with name: "" [debug 10:21:21.035035] - Layout file: "/home/tycho/.config/latte/Plasma.layout.latte" [debug 10:21:21.035035] - Layout name: "Plasma" [debug 10:21:21.035035] - Layout file to create object: "/home/tycho/.config/latte/Unity.layout.latte" with name: "" [debug 10:21:21.035035] - Layout file: "/home/tycho/.config/latte/Unity.layout.latte" [debug 10:21:21.036036] - Layout name: "Unity" [debug 10:21:21.049049] - Layout file to create object: "/home/tycho/.config/latte/Default.layout.latte" with name: "" [debug 10:21:21.049049] - Layout file: "/home/tycho/.config/latte/Default.layout.latte" [debug 10:21:21.0505] - Layout name: "Default" [debug 10:21:21.0505] - Layout file to create object: "/home/tycho/.config/latte/Extended.layout.latte" with name: "" [debug 10:21:21.0505] - Layout file: "/home/tycho/.config/latte/Extended.layout.latte" [debug 10:21:21.0505] - Layout name: "Extended" [debug 10:21:21.0505] - Layout file to create object: "/home/tycho/.config/latte/My Layout.layout.latte" with name: "" [debug 10:21:21.0505] - Layout file: "/home/tycho/.config/latte/My Layout.layout.latte" [debug 10:21:21.051051] - Layout name: "My Layout" [debug 10:21:21.051051] - Layout file to create object: "/home/tycho/.config/latte/Plasma.layout.latte" with name: "" [debug 10:21:21.051051] - Layout file: "/home/tycho/.config/latte/Plasma.layout.latte" [debug 10:21:21.052052] - Layout name: "Plasma" [debug 10:21:21.052052] - Layout file to create object: "/home/tycho/.config/latte/Unity.layout.latte" with name: "" [debug 10:21:21.052052] - Layout file: "/home/tycho/.config/latte/Unity.layout.latte" [debug 10:21:21.052052] - Layout name: "Unity" [debug 10:21:21.404404] - "Default" - "/home/tycho/.config/latte/Default.layout.latte" [debug 10:21:21.404404] - Layout file to create object: "/home/tycho/.config/latte/Default.layout.latte" with name: "Default" [debug 10:21:21.404404] - Layout file: "/home/tycho/.config/latte/Default.layout.latte" [debug 10:21:21.406406] - Layout name: "Default" [debug 10:21:21.406406] - Layout ::::: "Default" added contaiments ::: 0 [debug 10:21:21.406406] - layout is saving... for layout: "Default" [debug 10:21:21.502502] - -------------------------------------------------------------------- [debug 10:21:21.502502] - -------------------------------------------------------------------- [debug 10:21:21.502502] - !!!!!!!!!!!!!!!! !!!!!!!!!!!! !!!!!!! REMOVING :::: "1" [debug 10:21:21.586586] - LOADING CORONA LAYOUT: "/home/tycho/.config/latte/Default.layout.latte" [info 10:21:21.611611] - Applet preload policy set to 1 [debug 10:21:21.623623] - Layout :::: "Default" ::: addDock was called... m_containments :: 1 [debug 10:21:21.623623] - step 1... [debug 10:21:21.623623] - step 2... [debug 10:21:21.623623] - step 3... [debug 10:21:21.623623] - add dock - containment id: 1 ,screen : -1 - "" ,onprimary: true - "eDP1" ,forceOnPrimary: false [debug 10:21:21.623623] - Adding dock for container... [debug 10:21:21.623623] - onPrimary: true screen!!! : "eDP1" [warning 10:21:21.6363] - WARNING: Cannot find style "org.kde.desktop" - fallback: "/nix/store/xhfizl0wm3qc1n2cbj8znigcb5afnnf1-system-path/lib/qt-5.11/qml/QtQuick/Controls/Styles/Desktop" [debug 10:21:21.655655] - setScreenToFollow() called for screen: "eDP1" update: true [debug 10:21:21.655655] - adapting to screen... [debug 10:21:21.655655] - setScreenToFollow() ended... [debug 10:21:21.731731] - SOURCE: QUrl("/nix/store/3cqyzrwzb7k1vgq38qwiy41br8lqc61h-latte-dock-0.8.2/share/plasma/shells/org.kde.latte.shell/contents/views/Panel.qml") [debug 10:21:21.731731] - syncGeometry() called... [debug 10:21:21.731731] - syncGeometry() calculations for screen: "eDP1" _ QRect(0,420 1920x1080) [debug 10:21:21.731731] - syncGeometry() ended... [debug 10:21:21.731731] - dock view c++ containment changed 1... [debug 10:21:21.732732] - dock view c++ containment changed 2... [debug 10:21:21.8282] - reconsiderScreen() called... [debug 10:21:21.8282] - Delayer [debug 10:21:21.8282] - D, found screen: "eDP1" [debug 10:21:21.8282] - D, found screen: "VGA1" [debug 10:21:21.8282] - dock screen exists ::: true [debug 10:21:21.8282] - syncGeometry() called... [debug 10:21:21.8282] - syncGeometry() calculations for screen: "eDP1" _ QRect(0,420 1920x1080) [debug 10:21:21.821821] - syncGeometry() ended... [debug 10:21:21.821821] - reconsiderScreen() ended... [warning 10:21:22.644644] - Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) [debug 10:21:22.721721] - PulseAudio Latte interface was loaded... [warning 10:21:22.746746] - Failed to register unity service [warning 10:21:22.7575] - QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled [warning 10:21:22.7575] - QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled [debug 10:21:22.751751] - failed to acquire GL context to resolve capabilities, using defaults.. [debug 10:21:22.896896] - ///////////////////////// [debug 10:21:22.896896] - "Plasma Desktop version: 5.14.3 (331267)" [debug 10:21:22.896896] - ///////////////////////// [warning 10:21:23.159159] - Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion [warning 10:21:23.164164] - trying to show an empty dialog [debug 10:21:23.924924] - dock view qml source - containment changed 1... [debug 10:21:23.924924] - dock view qml source - containment changed 2... [debug 10:21:23.924924] - syncGeometry() called... [debug 10:21:23.925925] - syncGeometry() calculations for screen: "eDP1" _ QRect(0,420 1920x1080) [debug 10:21:23.925925] - syncGeometry() ended... [debug 10:21:23.925925] - syncGeometry() called... [debug 10:21:23.925925] - syncGeometry() calculations for screen: "eDP1" _ QRect(0,420 1920x1080) [debug 10:21:23.925925] - syncGeometry() ended... [debug 10:21:23.927927] - syncGeometry() called... [debug 10:21:23.927927] - syncGeometry() calculations for screen: "eDP1" _ QRect(0,420 1920x1080) [debug 10:21:23.928928] - syncGeometry() ended... [warning 10:21:23.932932] - Empty filename passed to function [warning 10:21:23.932932] - Empty filename passed to function [debug 10:21:24.177177] - syncGeometry() called... [debug 10:21:24.177177] - syncGeometry() calculations for screen: "eDP1" _ QRect(0,420 1920x1080) [debug 10:21:24.177177] - syncGeometry() ended... [debug 10:21:24.177177] - syncGeometry() called... [debug 10:21:24.177177] - syncGeometry() calculations for screen: "eDP1" _ QRect(0,420 1920x1080) [debug 10:21:24.177177] - syncGeometry() ended... [debug 10:21:24.177177] - syncGeometry() called... [debug 10:21:24.177177] - syncGeometry() calculations for screen: "eDP1" _ QRect(0,420 1920x1080) [debug 10:21:24.177177] - syncGeometry() ended... [info 10:21:24.178178] - New Applet "Analog Clock" with a weight of 50 [debug 10:21:24.178178] - DOCK VIEW FROM LAYOUT ::: "Default" - activities: ("0") [debug 10:21:24.483483] - syncGeometry() called... [debug 10:21:24.483483] - syncGeometry() calculations for screen: "eDP1" _ QRect(0,420 1920x1080) [debug 10:21:24.483483] - syncGeometry() ended... [info 10:21:25.438438] - Delayed preload of "Analog Clock" after 1.259 seconds [warning 10:21:25.4949] - Both point size and pixel size set. Using pixel size. [warning 10:21:25.4949] - Both point size and pixel size set. Using pixel size. [warning 10:21:25.491491] - Both point size and pixel size set. Using pixel size. [warning 10:21:25.491491] - Both point size and pixel size set. Using pixel size. [warning 10:21:25.491491] - Both point size and pixel size set. Using pixel size. [warning 10:21:25.491491] - Both point size and pixel size set. Using pixel size. [warning 10:21:25.491491] - Both point size and pixel size set. Using pixel size. [warning 10:21:25.513513] - trying to show an empty dialog [info 10:21:25.532532] - Applet "Analog Clock" loaded after 94 msec [debug 10:21:25.536536] - syncGeometry() called... [debug 10:21:25.536536] - syncGeometry() calculations for screen: "eDP1" _ QRect(0,420 1920x1080) [debug 10:21:25.536536] - syncGeometry() ended... ^C[debug 10:21:47.752752] - Latte Corona - unload: containments ... [debug 10:21:47.752752] - "Layout - Default unload: containments ... size ::: " 1 ,dockViews in memory ::: 1 ,hidden dockViews in memory ::: 0 [debug 10:21:47.752752] - Destroying Latte Dock Containment ui... [debug 10:21:47.893893] - dock view qml source - containment changed 1... [debug 10:21:47.894894] - Layout "Default" :: containment destroyed!!!! [warning 10:21:47.897897] - No object for name "alsa_output.pci-0000_00_1b.0.analog-stereo" [warning 10:21:47.897897] - No object for name "alsa_output.pci-0000_00_1b.0.analog-stereo" [warning 10:21:47.897897] - No object for name "alsa_input.pci-0000_00_1b.0.analog-stereo" ^[[A[debug 10:21:48.092092] - "Layout - Default unload: dockViews ... size: " 0 [debug 10:21:48.092092] - Latte Corona - deleted... [debug 10:21:48.094094] - "Layout - Default unload: containments ... size ::: " 0 ,dockViews in memory ::: 0 ,hidden dockViews in memory ::: 0 [debug 10:21:48.094094] - "Layout - Default unload: dockViews ... size: " 0 [warning 10:21:48.109109] - QFileSystemWatcher::removePaths: list is empty [warning 10:21:48.109109] - QFileSystemWatcher::removePaths: list is empty ```
Plasma is taskmanager in a plasma panel does show them correctly?
Hi, thanks for your response. KDE's System Monitor (KSysGuard) does show the icons, yeah. To clarify though, for e.g. Firefox DevEdition, KSysGuard shows the actual icon (blue), whereas in the start menu the icon shown is my icon theme (Paper icons)'s Firefox icon (flat firefox, regular colors). So different icons should be available on my system -- I imagine it's just not looking for them in the same place as other applications.
Show me a screenshot of a plasma panel with a plasma taskmanager from your system
Created attachment 118726 [details] ksysguard showing icons, latte-dock not showing them Hi, I hope this screenshot is as you intended. In it, the icons can be seen in ksysguard, though not in latte-dock.
No, this isn't what I asked for... 1. Close Latte 2. Right click on the desktop->Panels->Add default panel 3. Open some windows 4. Take a screenshot with the panel that was added with [2]
Created attachment 118738 [details] kde default panel showing application icons My apologies, thanks for elaborating. I've attached a screenshot showing some applications in the Default Panel.
Strange... A. Try to clear the qml cache, 1. Close Latte 2. Remove all contents from ~/.cache/lattedock/qmlcache 3. Open Latte B. Latte version 0.8.2 is a bit old is that the default version from Nitrux? C. Is the first time you are trying Latte or in the past it was working but after an update broke?
Thanks, I've cleared the QML cache now, and upgraded to 0.8.5 as well, though behavior appears unchanged. I'd swear I've seen it work at one point, but have basically been unable to reproduce it working since.
This is strange, Latte is provided officially by Nitrux with no issues, have you tried to report the issue to your distro?
Have you also tried with a new user in your system and default settings if the issue remains?
Just noticed in your debug output... It says neither GLX nor Egl is used in your compositor, what are you using at your compositor settings?
Compositor -> Rendering Backend says OpenGL 2.0. Lemme try from a separate user.
Okay, it looks like I am getting this behavior on a new user as well.
No more ideas... I am not sure Latte does not find your icons, there is a chance that is not showing them during their startup... The strangest is that this isnt hitting all Nitrux users, so I don't have a way to reproduce
Ok I thought something, this is not icons issue... In the Default layout there is the plasma analog clock applet that isn't related to icons... This is not showing in the video... 1. Run Latte with: latte-dock -d --graphics --with-window 2. How does it look? If you drag n drop the plasma analog clock from plasma widgets explorer on the dock what happens?
Created attachment 118768 [details] no icons also in the Add Widget panel (not pictured, closed when trying to take screenshot) Thank you for the idea, I think you were on to something there. Though showing green outlines and diagnostic variables, no icons would show yet. Notably though, in the Add Widget panel (not pictured, closed when trying to take screenshot) I could not see icons either (at all, so including for this analog clock). I suppose this is indicating the issue is not actually specific to latte-dock, and perhaps this ticket should be closed accordingly. P.S.: my distro is NixOS rather than Nitrux.
Yep, if you don't see images in the plasma Add Widgets window then something is broken in your system or distro. Please contact your distro in order to give you some hints for next steps