Bug 420362

Summary: Tasks in my layout are not showing until I change layouts
Product: [Unmaintained] lattedock Reporter: avlas <jsardid>
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Minimal layout triggering the issue

Description avlas 2020-04-21 05:20:43 UTC
The issue is introduced in commit 810dd5a1b4cfcc2c7150b5a78fbf8001eb024ef6
Comment 1 Michail Vourlakos 2020-04-21 06:51:22 UTC
Send me your layout please
Comment 2 avlas 2020-04-21 16:14:18 UTC
Created attachment 127750 [details]
Minimal layout triggering the issue
Comment 3 Michail Vourlakos 2020-04-21 16:30:10 UTC
Does that happen every time you start Latte, or it happened only once? because in my system that layout loads fine
Comment 4 avlas 2020-04-21 16:32:56 UTC
(In reply to Michail Vourlakos from comment #3)
> Does that happen every time you start Latte, or it happened only once?
> because in my system that layout loads fine

Hmm, I see. In my end it happens every time :(
Comment 5 Michail Vourlakos 2020-04-21 16:35:37 UTC
The mentioned commit introduces some changes in qml libraries, if you install Latte by yourself  you could try also the following:

1. Close Latte
2. Remove ALL files in "/usr/lib64/qt5/qml/org/kde/latte/" if this is the folder all qml libraries are installed for Latte
3. Reinstall Latte
4. Start Latte

is it fixed?
Comment 6 Michail Vourlakos 2020-04-21 16:36:23 UTC
B. You can also send the "latte-dock -d" output in order to compare it with my system.
Comment 7 avlas 2020-04-21 16:41:44 UTC
(In reply to Michail Vourlakos from comment #5)
> The mentioned commit introduces some changes in qml libraries, if you
> install Latte by yourself  you could try also the following:
> 
> 1. Close Latte
> 2. Remove ALL files in "/usr/lib64/qt5/qml/org/kde/latte/" if this is the
> folder all qml libraries are installed for Latte
> 3. Reinstall Latte
> 4. Start Latte
> 
> is it fixed?

This fixed my issue, thank you!

Wondering whether you would consider adding the removal of that folder in your install script.
Comment 8 Michail Vourlakos 2020-04-21 16:54:29 UTC
It is too dangerous, so I prefer to inform the users somehow.

This is going to hit only those that install Latte by themselves. All those that are using distro packages won't be hit by it.
Comment 9 avlas 2020-04-21 16:57:28 UTC
(In reply to Michail Vourlakos from comment #8)
> It is too dangerous, so I prefer to inform the users somehow.
> 
> This is going to hit only those that install Latte by themselves. All those
> that are using distro packages won't be hit by it.

Sounds good, thank you