Created attachment 132090 [details] My layout in use SUMMARY Latte Dock crashes when the external display removed. I use an external display with my laptop's built-in display. The layout I'm using was adapted from the "Topbar and Dock" layout but with some changes: * The top bar appears on both displays. The one on external is set to onPrimary, and the one on built-in is set to on eDP-1 * The dock appears on both displays with similar settings * Plasmoids are changed This setup works well when the external display is connected. However, when it is disconnected, latte-dock crashes. Then, the crash is consistent while the built-int display is the only screen. STEPS TO REPRODUCE 1. Import my layout file 2. latte-dock -r -d --layout XPS OBSERVED RESULT latte-dock crashes. EXPECTED RESULT latte-dock doesn't crash and shows panels correctly. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.19.5 KDE Frameworks Version: 5.74.0 Qt Version: 5.15.1 ADDITIONAL INFORMATION The default layout indeed works fine. So my guess is my settings with the onPrimary/on eDP-1 caused the crash. I then edited the layout to remove the panels set on eDP-1, and latte-dock starts fine.
Created attachment 132091 [details] Crash log
I just tried the debug build of the latest git version, and it no longer crashes. So this is probably fixed already.