Crash on scrolling action on the button that has not defined for scrolling action
As I scrolling some not scrollable button, waybar crash and throw an exception:
** (waybar:945412): ERROR **: 07:03:00.429:
unhandled exception (type std::exception) in signal handler:
what: in Json::Value::find(begin, end): requires objectValue or nullValue
Is there any fix other than defining the scroll action for every button?
Add
"on-scroll-up": "true",
"on-scroll-down": "true",
to the buttons you want disable scroll (to the ones which are causing the crash) as a work around
Example
"power-profiles-daemon": {
"format": " {icon} ",
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
"tooltip": true,
"on-scroll-up": "true",
"on-scroll-down": "true",
"format-icons": {
"default": "",
"performance": "",
"balanced": "",
"power-saver": ""
}
},
It also crashes when scrolled between two groups (Separated via css styling)
Steps to reproduce
When scrolled between the battery and brightness control (Half sun looking icon) it crashes. Same between the weather and temperature. If scrolled between the two groups in the gap between them, wayland crashes
** (waybar:14555): ERROR **: 12:34:47.588:
unhandled exception (type std::exception) in signal handler:
what: in Json::Value::find(begin, end): requires objectValue or nullValue
config:
"modules-right": [
"custom/weather",
"group/system_metrics",
"group/device_control",
"group/user_interaction",
"network",
"tray"
],
"group/system_metrics": {
"orientation": "inherit",
"modules": [
"temperature",
"cpu",
"memory",
"battery"
]
},
"group/device_control": {
"orientation": "inherit",
"modules": [
"backlight",
"pulseaudio"
]
},
"group/user_interaction": {
"orientation": "inherit",
"modules": [
"idle_inhibitor",
"power-profiles-daemon"
]
},
same for me "** (waybar:2105387): ERROR **: 19:03:07.067: unhandled exception (type std::exception) in signal handler: what: in Json::Value::find(begin, end): requires objectValue or nullValue [1] 2105387 trace trap (core dumped) waybar" Waybar v0.14.0 (branch 'master')
Can reproduce, same exception
Add
"on-scroll-up": "true", "on-scroll-down": "true",
to the buttons you want disable scroll (to the ones which are causing the crash) as a work around
Example
"power-profiles-daemon": { "format": " {icon} ", "tooltip-format": "Power profile: {profile}\nDriver: {driver}", "tooltip": true, "on-scroll-up": "true", "on-scroll-down": "true", "format-icons": { "default": "", "performance": "", "balanced": "", "power-saver": "" } },
This issue seems to happen when trying to scroll the group module specifically. My PR fixes it
Add "on-scroll-up": "true", "on-scroll-down": "true", to the buttons you want disable scroll (to the ones which are causing the crash) as a work around Example
"power-profiles-daemon": { "format": " {icon} ", "tooltip-format": "Power profile: {profile}\nDriver: {driver}", "tooltip": true, "on-scroll-up": "true", "on-scroll-down": "true", "format-icons": { "default": "", "performance": "", "balanced": "", "power-saver": "" } },This issue seems to happen when trying to scroll the group module specifically. My PR fixes it
Didn't fix the issue.
possible dupe of #4382
Same error when scrolling a couple of times any of the grouped elements:
[2025-11-23 02:09:22.748] [info] Using configuration file /.config/waybar/config.jsonc
[2025-11-23 02:09:22.749] [info] Discovered appearance 'dark'
[2025-11-23 02:09:22.761] [info] Using CSS file /.config/waybar/style.css
[2025-11-23 02:09:22.766] [info] Hyprland IPC starting
[2025-11-23 02:09:22.766] [info] Loading persistent workspaces from Waybar config
[2025-11-23 02:09:22.766] [info] Loading persistent workspaces from Hyprland workspace rules
[2025-11-23 02:09:22.766] [info] Registering for Hyprland's 'windowtitlev2' events because a user-defined window rewrite rule uses the 'title' field.
[2025-11-23 02:09:22.766] [warning] 'swap-icon-label' must be a bool.
[2025-11-23 02:09:22.780] [warning] module temperature: Disabling module "temperature", Can't open /sys/class/thermal/thermal_zone0/temp
[2025-11-23 02:09:22.781] [warning] No batteries.
(waybar:4061245): Gtk-CRITICAL **: 02:09:22.955: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(waybar:4061245): Gtk-CRITICAL **: 02:09:22.955: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(waybar:4061245): Gtk-CRITICAL **: 02:09:22.955: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(waybar:4061245): Gtk-CRITICAL **: 02:09:22.955: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(waybar:4061245): Gtk-CRITICAL **: 02:09:22.955: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(waybar:4061245): Gtk-CRITICAL **: 02:09:22.955: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(waybar:4061245): Gtk-CRITICAL **: 02:09:22.955: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(waybar:4061245): Gtk-CRITICAL **: 02:09:22.955: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(waybar:4061245): Gtk-CRITICAL **: 02:09:22.956: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(waybar:4061245): Gtk-CRITICAL **: 02:09:22.956: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(waybar:4061245): Gtk-CRITICAL **: 02:09:22.956: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(waybar:4061245): Gtk-CRITICAL **: 02:09:22.956: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(waybar:4061245): Gtk-CRITICAL **: 02:09:22.956: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(waybar:4061245): Gtk-CRITICAL **: 02:09:22.956: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(waybar:4061245): Gtk-CRITICAL **: 02:09:22.964: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(waybar:4061245): Gtk-CRITICAL **: 02:09:22.964: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(waybar:4061245): Gtk-CRITICAL **: 02:09:22.965: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(waybar:4061245): Gtk-CRITICAL **: 02:09:22.965: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[2025-11-23 02:09:22.968] [info] Bar configured (width: 2560, height: 46) for output: DP-3
** (waybar:4061245): ERROR **: 02:09:40.568:
unhandled exception (type std::exception) in signal handler:
what: in Json::Value::find(begin, end): requires objectValue or nullValue
Trace/breakpoint trap (core dumped) waybar
config.jsonc:
"group/pcstats": {
"orientation": "inherit",
"drawer": {
"transition-duration": 500,
"transition-left-to-right": false
},
"modules": [
"cpu",
"memory",
"disk"
]
},
"cpu": {
"format": "{usage}% ",
"tooltip": true,
"on-click": "kitty btop -p 1",
"on-click-right": "kitty btop"
},
"memory": {
"format": "{}% ",
"on-click": "kitty btop -p 2"
},
"disk": {
"interval": 30,
"format": "{percentage_free}% ",
"tooltip": true,
"tooltip-text": "<tt>$(smartctl -A /dev/nvme0n1 | sed 's/^/ /')</tt>",
"unit": "GB",
"on-click": "filelight"
},