Created attachment 121124 [details] latte-dock -d --default-layout SUMMARY When launching latte-dock with some applications open, they do not show up. Only the default clock is shown. This happens on an Alpine Linux system, which uses musl rather than glibc. STEPS TO REPRODUCE 1. Run latte-dock with a default config 2. Start any application OBSERVED RESULT No applications appear EXPECTED RESULT Running applications to appear so they can be pinned, closed, etc SOFTWARE/OS VERSIONS Linux/KDE Plasma: Alpine Linux (available in About System) KDE Plasma Version: 5.16.1 KDE Frameworks Version: 5.59.0 Qt Version: 5.12.4 ADDITIONAL INFORMATION
Running tasks and launchers are plasma libtaskmanager responsibility. Plasma panel and taskmanager works OK when you restart plasmashell?
After running "plasmashell --replace", yeah they work fine.
no idea then, I am not a musl user
I think most people aren't, that doesn't mean this shouldn't be fixed. Is there anything I can do to debug this? The log doesn't show my anything useful really. Tbh I doubt Musl is to blame here, I just though I should mention it to be sure.
no problem for anyone to take up this task and provide patches for review
1. Please check: https://bugs.kde.org/show_bug.cgi?id=410920 2. In musl enviroment do you work with software rendering for QML ? 3. To check that [2] is the issue you can disable Shadows from Effects page of Dock/Panel Settings
waiting....
No need to bump it like that. It's holiday time and even then, I don't always have time to immediately respond to everything. Anyways, yes QML runs with hardware acceleration and yes I tested it by disabling shadows in Latte. The launchers and running tasks did not appear.
(In reply to Bart Ribbers from comment #8) > No need to bump it like that. It's holiday time and even then, I don't > always have time to immediately respond to everything. > Don't worry, needs info state just needs a comment, does not accept empty commenting > Anyways, yes QML runs with hardware acceleration and yes I tested it by > disabling shadows in Latte. The launchers and running tasks did not appear. OK, my guess is that for some reason visibility for tasks/launchers is not enabled after creation, by default is false until everything is ready to be drawn. For some reason that codepath breaks undel musl.
reopening...
Please also test latest master to confirm that this is still valid
Just built the latest master (from https://github.com/kde/latte-dock), the issue is still present.
Ok, I would like the following screenshots please: 1. The entire screen including how Latte looks with the issue 2. Your Plasma systemsettings->Screen->Compositor screenshot 3. Run, kcmshell5 qtquicksettings, show me a screenshot of the window please
info...
Created attachment 122701 [details] Desktop with Latte and systemsettings screenshot Sorry, I completely missed your previous comment. My systemsettings with the Compositor window. In the bottom you can see a small dark bit, that's the only thing that appears of Latte Dock.
Created attachment 122702 [details] Screenshot of kcmshell5 qtquicksettings A screenshot of "kcmshell5 qtquicksettings".
Can you please right click that dark rectangle on the bottom, Dock settings, advanced and make a screenshot of dock settings please?
That's hard to do as the settings window closes the moment I press the screenshot button of Spectacle.
(In reply to Bart Ribbers from comment #18) > That's hard to do as the settings window closes the moment I press the > screenshot button of Spectacle. At the top right corner of the settings window there is a sticker button in order to not close when losing focus
Created attachment 122705 [details] Screenshot of Latte settings with advanced mode enabled
(In reply to Bart Ribbers from comment #20) > Created attachment 122705 [details] > Screenshot of Latte settings with advanced mode enabled please run in cmd: latte-dock -v , what version does it appear?
I was using 0.8.9. I just updated it to 0.9.2 but the issue is still there.
(In reply to Bart Ribbers from comment #22) > I was using 0.8.9. I just updated it to 0.9.2 but the issue is still there. one step at a time: 1. Close Latte 2. Run from cmd: latte-dock --default-layout what is happening?
Latte dock appears with just the analog clock and not the running applications.
(In reply to Bart Ribbers from comment #24) > Latte dock appears with just the analog clock and not the running > applications. show me a screenshot of that state please
Created attachment 122710 [details] Screenshot of Latte with --default-layout Not sure what you were expecting, it's literally just the analog clock :p
(In reply to Bart Ribbers from comment #26) > Created attachment 122710 [details] > Screenshot of Latte with --default-layout > > Not sure what you were expecting, it's literally just the analog clock :p 1. Disable animations from Effects->Animations 2. restart Latte same issue?
Yup, same issue.
if you disable compositing for kwin, is it fixed?
if you disable compositing for kwin and restart Latte afterwards is it fixed?
It is not. I'm not sure how this issue is related to animations or compositing?
(In reply to Bart Ribbers from comment #31) > It is not. I'm not sure how this issue is related to animations or > compositing? I am trying to understand what part of Latte Tasks plasmoid breaks under musl environment
Would you like to have a live chat with me and help me to find out what breaks?
more things to report back: 1. Close Latte and start it from cmd with: latte-dock -d and send please the output again to check for qml errors 2. Drag n' Drop from Plasma Widgets Explorer the Latte Tasks plasmoid on the desktop, same issue with launchers and tasks?
Actually, dragging Latte Tasks onto the desktop gave me a clue. '"org.kde.activities" not installed'. Installing kactivities and restarting Latte fixed it, now the launchers all appear! Interesting that this didn't appear in the log (with "-d"), I should've probably seen this sooner. This took me way to long to figure out, thank you very much for your help!
(In reply to Bart Ribbers from comment #35) > Actually, dragging Latte Tasks onto the desktop gave me a clue. > '"org.kde.activities" not installed'. Installing kactivities and restarting > Latte fixed it, now the launchers all appear! Interesting that this didn't > appear in the log (with "-d"), I should've probably seen this sooner. > > This took me way to long to figure out, thank you very much for your help! nice! Good to know, that it was just a missing library... Strange thing is that kactivities is also a requirement for plasma... there is a chance that this will fix you more issues
So far I have not encountered any issues like these. I expected stuff like the task manager applet to not work either but it did and I used that till I just now got Latte working. Will investigate!