From 2c3aab88de03300073eba839d282ebb9cc44d26b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Feb 2026 08:51:23 +0000 Subject: [PATCH 1/3] Initial plan From 03de38b4d0884be0700d97f21562bf8acf8ee009 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Feb 2026 08:54:32 +0000 Subject: [PATCH 2/3] Fix Pango NULL layout crash by clearing markup before hiding label Co-authored-by: Alexays <13947260+Alexays@users.noreply.github.com> --- src/modules/cava/cavaRaw.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/cava/cavaRaw.cpp b/src/modules/cava/cavaRaw.cpp index edec902b..d6a9e001 100644 --- a/src/modules/cava/cavaRaw.cpp +++ b/src/modules/cava/cavaRaw.cpp @@ -47,9 +47,11 @@ auto waybar::modules::cava::Cava::onSilence() -> void { if (label_.get_style_context()->has_class("updated")) label_.get_style_context()->remove_class("updated"); - if (hide_on_silence_) + if (hide_on_silence_) { + // Clear the label markup before hiding to prevent GTK from rendering a NULL Pango layout + label_.set_markup(""); label_.hide(); - else if (config_["format_silent"].isString()) + } else if (config_["format_silent"].isString()) label_.set_markup(format_silent_); silence_ = true; label_.get_style_context()->add_class("silent"); From e0a2cb8f8f547b3fa0f2f4122d9ff30641c4b786 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Feb 2026 08:55:08 +0000 Subject: [PATCH 3/3] Complete fix for Pango NULL layout crash Co-authored-by: Alexays <13947260+Alexays@users.noreply.github.com> --- _codeql_detected_source_root | 1 + 1 file changed, 1 insertion(+) create mode 120000 _codeql_detected_source_root diff --git a/_codeql_detected_source_root b/_codeql_detected_source_root new file mode 120000 index 00000000..945c9b46 --- /dev/null +++ b/_codeql_detected_source_root @@ -0,0 +1 @@ +. \ No newline at end of file