| Summary: | Latte plasmoids lose current active window information when activity changes | ||
|---|---|---|---|
| Product: | [Unmaintained] lattedock | Reporter: | André M <andre.vmatos> |
| Component: | library | Assignee: | Michail Vourlakos <mvourlakos> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | andre.vmatos |
| Priority: | NOR | ||
| Version First Reported In: | git (master) | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Other | ||
| Latest Commit: | https://invent.kde.org/plasma/latte-dock/commit/1e8ec1380d4857058bff676d78927c7427dc6885 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | Latte layout with window-{title,appmenu}-git plasmoids | ||
|
Description
André M
2021-01-17 23:41:45 UTC
I can not reproduce this in my system with latest master. Have you tried to use the master version for one those applets to check out that it is not the applet fault? you can also send here the latte layout file to test it out in my system. Created attachment 135379 [details]
Latte layout with window-{title,appmenu}-git plasmoids
Hi, Michail, thank you very much for reaching out.
I just reproduced it on my Arch Linux testing system, fully up-to-date with kde-unstable (but IIRC, this also happened on stable plasma).
Using latte-dock-git r4925.f27f9380-1, plasma5-applets-window-title-git 0.6.0.r18.g112a380-1 and plasma5-applets-window-appmenu-git 0.6.0.r0.g7886b78-1, and a new user with empty plasma/kde config (but some default config upon launching plasma for the first time). I didn't add window-buttons, due to not being able to compile it with plasma beta. I edited the attached profile, and added a new activity.
Upon quitting Latte and relaunching it, I can see the correct Window Title and AppMenu for e.g. a Dolphin window. As soon as I switch to the new activity (using Meta+Tab shortcut, if it matters), and then back, I can't see the Title anymore, only the Default activity title instead, and appmenu is empty (the widget is there upon enabling panel edit, but no menu is shown). Closing and relaunching Dolphin (or launching another kde app, like konsole) still don't give me neither info. Quitting Latte and launching it again makes the info to be shown, until first activity switch.
ok, based on your layout I can reproduce Git commit 1e8ec1380d4857058bff676d78927c7427dc6885 by Michail Vourlakos.
Committed on 02/02/2021 at 22:34.
Pushed by mvourlakos into branch 'master'.
track lastActiveWindows for OnAllActivities layout
--fix the typo that identifies when a view in present
OnAllActivities, {0} that is.
M +1 -3 app/wm/tracker/trackedgeneralinfo.cpp
https://invent.kde.org/plasma/latte-dock/commit/1e8ec1380d4857058bff676d78927c7427dc6885
as it appears I am not using any OnAllActivities layout such layout in Single mode and that is why I dint notice this. Thank you for your commitment. Thank you very much for looking on it. Already tested here and everything is working smoothly now! Best regards. |