Bug 411341 - global menu's empty at automatic app start
Summary: global menu's empty at automatic app start
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: plasmoid (show other bugs)
Version: 0.9.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-27 06:29 UTC by Michael K.
Modified: 2019-08-27 12:50 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael K. 2019-08-27 06:29:51 UTC
SUMMARY
Global menu is added to latte. In this case latte is configured as a monitorwide bar on top and on bottom as dock. The global menu is in the top bar.
Etries are not shown when applications (here dolphin and falkon) are autostarted at boot. (fullscreen)


STEPS TO REPRODUCE
1. start computer
2. e.g. dolphin is started automatically

OBSERVED RESULT
global menu entries are missing

EXPECTED RESULT
global menu: "file", "edit" and so should be shown

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20190824
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.0
Kernel Version: 5.2.9-1-default
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-4590 CPU @ 3.30GHz
Memory: 15,5 GiB


ADDITIONAL INFORMATION
Can fix it by closing and reopen the application
Comment 1 Michail Vourlakos 2019-08-27 06:54:14 UTC
probably Latte autostarts after the mentioned apps. Let's try the following:

1. At  folder ~/.config/autostart   you will find the latte autostart desktop file: org.kde.latte-dock.desktop
2. If you add in it the record: X-KDE-autostart-phase=1
3. Restart your system


is it fixed that way?
Comment 2 Michael K. 2019-08-27 07:57:00 UTC
Yes it is!
Thanks!
Comment 3 Michail Vourlakos 2019-08-27 08:18:30 UTC
(In reply to Michael K. from comment #2)
> Yes it is!
> Thanks!

Good to know, in such case I will add it also by default in new versions
Comment 4 Michail Vourlakos 2019-08-27 12:49:28 UTC
Git commit 0ea41820d0c911b2a93c68f702a6bcbb1e8bf6b2 by Michail Vourlakos.
Committed on 27/08/2019 at 12:11.
Pushed by mvourlakos into branch 'v0.9'.

autostart Latte earlier

--this way Latte is given the time to publish
its appmenu if available and normal applications
should follow afterwards
FIXED-IN:0.9.2

M  +1    -0    app/org.kde.latte-dock.desktop.cmake

https://commits.kde.org/latte-dock/0ea41820d0c911b2a93c68f702a6bcbb1e8bf6b2
Comment 5 Michail Vourlakos 2019-08-27 12:50:26 UTC
Git commit 628104662966f6726b355a2b31a686a14f41895b by Michail Vourlakos.
Committed on 27/08/2019 at 12:50.
Pushed by mvourlakos into branch 'master'.

autostart Latte earlier

--this way Latte is given the time to publish
its appmenu if available and normal applications
should follow afterwards
FIXED-IN:0.9.2

M  +1    -0    app/org.kde.latte-dock.desktop.cmake

https://commits.kde.org/latte-dock/628104662966f6726b355a2b31a686a14f41895b