Bug 404762 - Not showing dock on first launch
Summary: Not showing dock on first launch
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: 0.8.5
Platform: Manjaro Linux
: NOR grave
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-24 09:37 UTC by himanshu.speed
Modified: 2019-02-24 11:14 UTC (History)
0 users

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 himanshu.speed 2019-02-24 09:37:15 UTC
SUMMARY:
I had to do a fresh install of manjaro and both stable & git version of latte wasn’t showing any dock upon launching. I did one more fresh install with formatting home partition to double check this and had the same issue. Deleting latte configs from ~/.config didn’t make any affect (offcourse I did several kill latte and relaunch).
In the end, I tried using --default-layout option and that did the trick. After that, relaunching latte kept on working without this option too.
So, I’m guessing that latte is somehow not picking default layout on first launch.

STEPS TO REPRODUCE:
1. Fresh install manjaro 18.0.3
2. Install latte dock stable or git version
3. Launch latte

OBSERVED RESULT:
No dock shows up.

EXPECTED RESULT:
Dock with default layout

SOFTWARE/OS VERSIONS: Manjaro 18.0.3
(available in About System)
KDE Plasma Version: Plasma 5.15.1
KDE Frameworks Version: KDE framework 5.55.0
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Michail Vourlakos 2019-02-24 11:06:11 UTC
I am really going to cry.... :(

this bug exists I dont know for how long and you are the first one that reported it... This means that plenty of users that tried Latte couldnt do so because of this... :(

the fix is really simple, but either way I am sad now...
Comment 2 Michail Vourlakos 2019-02-24 11:12:46 UTC
Git commit 5a0948591e7dcb89b46cba829a7e0f61358786dd by Michail Vourlakos.
Committed on 24/02/2019 at 11:12.
Pushed by mvourlakos into branch 'master'.

create latte dir if missing when loading presets

--this is critical because it does not open Latte at
first run. The fix is just to make sure that "latte"
directory will be created in case there isnt already

M  +6    -0    app/layoutmanager.cpp

https://commits.kde.org/latte-dock/5a0948591e7dcb89b46cba829a7e0f61358786dd
Comment 3 Michail Vourlakos 2019-02-24 11:14:07 UTC
Git commit 7283e2698d1fcd9aba2e4e1de1b24ed13425e2f5 by Michail Vourlakos.
Committed on 24/02/2019 at 11:13.
Pushed by mvourlakos into branch 'v0.8'.

create latte dir if missing when loading presets

--this is critical because it does not open Latte at
first run. The fix is just to make sure that "latte"
directory will be created in case there isnt already

M  +6    -0    app/layoutmanager.cpp

https://commits.kde.org/latte-dock/7283e2698d1fcd9aba2e4e1de1b24ed13425e2f5