Bug 455566 - Latte layouts not applied properly through Global Themes
Summary: Latte layouts not applied properly through Global Themes
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_lookandfeel (show other bugs)
Version: 5.25.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-18 20:57 UTC by doncbugs
Modified: 2022-06-22 00:58 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description doncbugs 2022-06-18 20:57:13 UTC
SUMMARY
Well, a lot of things seem to have broken. It looks like https://psifidotos.blogspot.com/2021/12/latte-dock-plasma-looknfeel-support.html does not work in 5.25. The Apply window seems to expect a "defaults" file, even when empty. Only then will it give the option to apply a desktop layout. If no js layout is supplied, it will simply apply default Breeze panel layout. I am not sure what the expected behavior is, nor what it should be, but I think Latte either completely replaces the standard plasma panel or it is used as an app dock alongside the plasma panel. 


STEPS TO REPRODUCE (directions present in link the lnf link)
0. Install latte-dock and export your layout
1. Create a global theme and rename your layout to looknfeel.latte.layout and place it in contents/layouts/
2. Apply the desktop layout (if you did not include a defaults, the checkbox will just be a... circle?)
3. 

OBSERVED RESULT
Latte-dock does not appear

EXPECTED RESULT
Latte-dock appears and follows the specified layout
Comment 1 doncbugs 2022-06-18 21:06:14 UTC
Upon further investigation, the main problem seems to be that latte-dock is no longer activated properly and must instead be manually opened. Layouts appear fairly correct when opened manually.
Comment 2 Nate Graham 2022-06-21 17:33:19 UTC
What does that mean exactly?
Comment 3 Michail Vourlakos 2022-06-21 18:13:15 UTC
(In reply to Nate Graham from comment #2)
> What does that mean exactly?

probably means that in order for this to work Latte should already run, if it is not running then Latte is not opening to import the new layout
Comment 4 doncbugs 2022-06-22 00:58:42 UTC
Sorry about that, was poorly worded. I think this is just whatever broke Latte in 5.25. I believe it is applying the layout, you just have to start Latte manually. Previously, I believe Latte was launched when you applied a Global Theme with a layout.