mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
fix(bar): never unload content when bar is hidden
This commit is contained in:
@@ -91,10 +91,6 @@ Item {
|
||||
onLoaded: {
|
||||
if (!item)
|
||||
return;
|
||||
// Guard: if parent chain is torn down (Bar content unload during rapid workspace
|
||||
// switch), skip registration to avoid SIGSEGV in QV4 during async incubation
|
||||
if (!root.parent || !root.parent.parent || !widgetScreen?.name)
|
||||
return;
|
||||
|
||||
Logger.d("BarWidgetLoader", "Loading widget", widgetId, "on screen:", widgetScreen.name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user