Bug 442836 - Latte Dock always crashes on startup.
Summary: Latte Dock always crashes on startup.
Status: RESOLVED DOWNSTREAM
Alias: None
Product: lattedock
Classification: Unmaintained
Component: application (other bugs)
Version First Reported In: 0.10.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-23 09:13 UTC by Lemuel Simon
Modified: 2021-09-23 11:28 UTC (History)
1 user (show)

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


Attachments
latte-dock drkonqi kcrash (13.42 KB, text/vnd.kde.kcrash-report)
2021-09-23 09:37 UTC, Lemuel Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lemuel Simon 2021-09-23 09:13:10 UTC
SUMMARY
When booting KDE Plasma 5.22.90, a dialog stating 'Multiple Layouts based on Activities weren't closed properly' and ' the following layout has been updated for consistency'. https://i.imgur.com/0ANEaoF.png
Immediately afterwards, Latte Dock crashes.

STEPS TO REPRODUCE
1. Launch Plasma
2. (Auto)start Latte Dock
3. Close popup dialog.

OBSERVED RESULT
Latte Dock crashes before it can be displayed.

EXPECTED RESULT
Latte Dock launches normally.

SOFTWARE/OS VERSIONS
Qt Version: 5.15.2
Frameworks Version: 5.86.0
Operating System: Linux 5.3.18-57-default x86_64
Windowing System: X11
Distribution: "openSUSE Leap 15.3"
DrKonqi: 5.22.90 [KCrashBackend]

ADDITIONAL INFORMATION
The widgets I had were: Kick-off (new default), Icon-only Task Manager (default), Appmenu (psifidotos fork), Active Window Control (psifidotos fork), Workspace Pager (default), System Tray (default) and clock (default).
Comment 1 Michail Vourlakos 2021-09-23 09:19:47 UTC
1. If you are using one single layout then go to layouts editor and activate mode "Single layout at all cases" and try again
2. proper way to report crashes https://userbase.kde.org/LatteDock/HowToReportCrashes
3. if you are using wayland then multiple layouts mode under wayland can not be closed properly yet because there is no wayland way to tell apps to close themselves properly. If you still need multiple layouts mode then you need to close Latte before logging of wayland session.
Comment 2 Lemuel Simon 2021-09-23 09:37:41 UTC
Created attachment 141813 [details]
latte-dock drkonqi kcrash
Comment 3 Lemuel Simon 2021-09-23 09:46:27 UTC
(In reply to Michail Vourlakos from comment #1)
> 1. If you are using one single layout then go to layouts editor and activate
> mode "Single layout at all cases" and try again
> 2. proper way to report crashes
> https://userbase.kde.org/LatteDock/HowToReportCrashes
> 3. if you are using wayland then multiple layouts mode under wayland can not
> be closed properly yet because there is no wayland way to tell apps to close
> themselves properly. If you still need multiple layouts mode then you need
> to close Latte before logging of wayland session.

1. Ok, Latte Dock would crash before I can get to the layout editor. No cache exists in ~/.cache/*. Latte works when I run `latte-dock --single` in the terminal, but it seems like the layouts were reset to stock.

2. My apologies, I forgot to attach the traceback (issues submitting it with DrKonqi). I'll use ddd as directed for future reports. Due to the reset in 1. , I can't trigger the crash again.

3. These crashes occurred in X11. Wayland in general is far too unstable for daily use (IMO).
Comment 4 Michail Vourlakos 2021-09-23 11:21:05 UTC
the crash is from applet window buttons that is not ready for Plasma 5.23,
https://github.com/psifidotos/applet-window-buttons/issues/131
Comment 5 Lemuel Simon 2021-09-23 11:28:49 UTC
(In reply to Michail Vourlakos from comment #4)
> the crash is from applet window buttons that is not ready for Plasma 5.23,
> https://github.com/psifidotos/applet-window-buttons/issues/131

Ok, I can confirm that. Latte crashes as soon as I add the 'applet window buttons' widget. Sorry for the noise.