Bug 424104 - Many config issues with latte-dock-git
Summary: Many config issues with latte-dock-git
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: application (other bugs)
Version First Reported In: git (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-11 15:30 UTC by Michał Dybczak
Modified: 2020-07-11 16:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Empty space in menu, no layout access (490.92 KB, image/jpeg)
2020-07-11 15:30 UTC, Michał Dybczak
Details
Solid color not reversed after the windows are gone (240.35 KB, image/jpeg)
2020-07-11 15:30 UTC, Michał Dybczak
Details
old-configs (14.06 KB, application/x-7z-compressed)
2020-07-11 15:40 UTC, Michał Dybczak
Details
new-configs (6.64 KB, application/x-7z-compressed)
2020-07-11 15:40 UTC, Michał Dybczak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Dybczak 2020-07-11 15:30:00 UTC
Created attachment 130042 [details]
Empty space in menu, no layout access

I've been using git version like ever and everything worked smoothly. However, I needed some change of the layout and decide to switch from mac to unity one. This revealed many issues.

After switching, I lost access to layouts on the right-click I had a massive empty space where options should be. See the screenshot. In the past, there were signs that my configs may be corrupted or simply they were many years old, so with constant git updates, it was possible those were obsolete.

So I decided to delete configs and... meet with the same empty options and no access to layout page. I want to stress that I deleted all configs in ~/.config (that had latte in the name) and /.config/latte/ . Obviously, I couldn't do anything with latte, so I restored my old configs and tried my luck with them.

All went fine but other issues keep piling up, like the left panel didn't revert to the previous color after windows were minimized, not-touching or even closed. Options to not-color some applets weren't surviving latte or system restart. What was more worryingsome, that new panels, when their options were switched to advanced, panel keep crashing and then I had again non-advanced view of options. This was not usable, so I decided to switch to latte-dock from Manjaro repo.

This turned out to be a success. Version from Manjaro repo shows no of the issues above. The only drawback I see is that the repo version lacks of the touch coloring. So for example, I use light theme, but for spotify I forced dark-breeze theme. Touching panel doesn't change its color to dark as it was on git version.

Since I care about latte too much, I wanted to report those issues. Once I set everything like I want, I may switch back to git version, but I'm worried that it had so many issues, especially with default configs.
Comment 1 Michał Dybczak 2020-07-11 15:30:59 UTC
Created attachment 130043 [details]
Solid color not reversed after the windows are gone
Comment 2 Michał Dybczak 2020-07-11 15:40:26 UTC
Created attachment 130044 [details]
old-configs

Ah, the not-reversed solid color is also an issue on the repo version.

I thought that all is OK, because I was working on a wallpaper that cased the backgrounds to be completely transparent.

I wanted to check if the background on other wallpaper is the same on the upper and the left panel, and then after some wallpaper change, the left panel became solid white.

Changing any appearance settings back and forth makes it properly colored. Upper panel is always correctly recolored.

I forgot to add previously, that I'm using latte-slideshow and Manjaro testing branch, so I have all updated.

I'm adding also old and new configs to analyze, but I'm not sure if configs are at fault here.
Comment 3 Michał Dybczak 2020-07-11 15:40:56 UTC
Created attachment 130045 [details]
new-configs
Comment 4 Michail Vourlakos 2020-07-11 16:07:53 UTC
Your issue with no config options in right click menu has already been fixed in master but:

Automatic way:
1. Install latest Latte git version... if it outdated wont fix this
2. Remove anything related to Latte in ~/.config and start Latte after [1]

Manual way:
The issue from the layout file is that you need the following lines, and remove any previous ActionPlugins that are outdated:

[ActionPlugins][1]
RightButton;NoModifier=org.kde.latte.contextmenu


If any of your other issues persist after the above steps then add different bug reports for each one with information how to reproduce.
Comment 5 Michał Dybczak 2020-07-11 16:28:18 UTC
Ah, great to hear. This no-menu bug was the most serious issue here.

However, I re-installed latte-dock-git from AUR before submitting the report here, because I hoped it will fix it, it did not. On the other hand, I didn't see it compiled, so probably AUR version pulled some release instead master branch. I didn't check PKGBUILD.

Ah, I see in PKGBUILD:

         -DCMAKE_BUILD_TYPE=Release ..

so maybe I am right, but I can't be sure. I'm not that experienced to understand BKGBUILDS.

Do you have your PKGBUILD that would install master branch? In the past AUR version was definitely pulling from master, because I was able to see the fixes as soon as you added them, so the AUR maintainer must had changed it.
Comment 6 Michał Dybczak 2020-07-11 16:31:30 UTC
I think I got it. I changed PKGBUILD to:

         -DCMAKE_BUILD_TYPE=Master ..


and now it compiles. Will let you know how it went.
Comment 7 Michał Dybczak 2020-07-11 16:45:41 UTC
OK, it went well.

1. Solid background not recolored - not existent so far.
2. Missing menu - none existent
3. Coloring option not being remembered - also not existent

So all major concerns are fixed :).

The only ones I noticed:

- left and upper panel background is rarely identical if they have different colors behind them on wallpapers, which is usually the case, so this creates inconsistency, it looks like unity layout cannot be properly used with dynamic background and I have to stick with more static one.
- got version is not translated, repo version is, I guess the localization files are somehow not recognizing git version and I'm not sure if that is expected or something to be improved?

Anyway, thanks for the help :).