Bug 424635

Summary: Latte on wayland crashes
Product: [Unmaintained] lattedock Reporter: Reagan Bohan <xbjfk.github>
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED MOVED    
Severity: crash    
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: full backtrace

Description Reagan Bohan 2020-07-25 05:28:47 UTC
Created attachment 130385 [details]
full backtrace

SUMMARY
Every time latte switches to or is started on wayland with the Moe layout on git version, it crashes with no terminal output. I think this might have something to do with the floating panels, but I am not sure.
The backtrace is attached, with all apps involved compiled with -Og and -ggdb.


STEPS TO REPRODUCE
1. Use wayland
2. download moe layout
3. switch to moe layout

OBSERVED RESULT
Latte crashes with no terminal output

EXPECTED RESULT
Latte successfully switches layout

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.19.80 
Frameworks Version: 5.73.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION
Comment 1 Michail Vourlakos 2020-07-25 05:43:58 UTC
The crash points to X11 code, are you sure you are starting Latte in wayland mode?
Comment 2 Reagan Bohan 2020-07-25 07:10:35 UTC
(In reply to Michail Vourlakos from comment #1)
> The crash points to X11 code, are you sure you are starting Latte in wayland
> mode?

Thank you for your reply.
I have made sure that latte is starting in wayland mode by using xwininfo - which would not react when clicking on latte or other native wayland apps but would when running an app with xwayland.
Comment 3 Michail Vourlakos 2020-07-25 08:20:24 UTC
Show me please a screenshot of Latte About menu, it says in which window system it operates. You can find it at Layouts in its appmenu.

There is always the chance of course that this is a problem with specific applet that is not ready for wayland. In that case Latte can not do something. 

So s it crash with Default layout?
Comment 4 Michail Vourlakos 2020-07-25 08:20:56 UTC
Does it crash with Default layout?
Comment 5 Reagan Bohan 2020-07-25 10:10:45 UTC
(In reply to Michail Vourlakos from comment #3)
> Show me please a screenshot of Latte About menu, it says in which window
> system it operates. You can find it at Layouts in its appmenu.
> 
> There is always the chance of course that this is a problem with specific
> applet that is not ready for wayland. In that case Latte can not do
> something. 
> 
> So s it crash with Default layout?

latte was running natively on wayland. You are correct, it was a wayland-only applet. Removing the applet in Xorg and going back to wayland fixed the issue. Sorry to bother you :) I will report to the applet maker.
Comment 6 Reagan Bohan 2020-07-25 10:11:29 UTC
> wayland-only applet.
Sorry I meant xorg-only applet
Comment 7 Michail Vourlakos 2020-07-25 11:00:54 UTC
(In reply to Reagan Bohan from comment #6)
> > wayland-only applet.
> Sorry I meant xorg-only applet

as a reference, can you please mention which applet is that?
Comment 8 Reagan Bohan 2020-07-25 11:26:44 UTC
(In reply to Michail Vourlakos from comment #7)
> as a reference, can you please mention which applet is that?

It is virtual desktop bar: https://store.kde.org/p/1315319/