Skip to content

Fix crash when scrolling on group module#4815

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/fix-waybar-crash-issue
Draft

Fix crash when scrolling on group module#4815
Copilot wants to merge 2 commits intomasterfrom
copilot/fix-waybar-crash-issue

Conversation

Copy link
Contributor

Copilot AI commented Feb 4, 2026

Mouse wheel scrolling on the group module causes Waybar to crash. The Group constructor was disabling scroll event handling, leaving scroll events unhandled.

Changes

  • Enable scroll event handling in Group module by setting enable_scroll parameter to true in AModule constructor
// src/group.cpp line 29
- AModule(config, name, id, true, false),
+ AModule(config, name, id, true, true),

The base class AModule::handleScroll safely handles events by determining scroll direction and executing any configured scroll actions, returning true to mark events as handled.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • wrapdb.mesonbuild.com
    • Triggering command: /usr/bin/python3 /usr/bin/python3 /home/REDACTED/.local/bin/meson .. git conf�� get ger_binding.cpp grep credential.helpesh (dns block)
    • Triggering command: /usr/bin/python3 /usr/bin/python3 /home/REDACTED/.local/bin/meson setup build output.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -std=c++20 -fasynchronous-unwind-tables -fstack-protector-strong -l Group ock.cpp grep (dns block)
    • Triggering command: /usr/bin/python3 /usr/bin/python3 /home/REDACTED/.local/bin/meson setup build -l Group 523 extractor 811.o 76.c d extractor .0/x�� ld/bin/c++ testfile.cpp extractor output.exe (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Suspected bug found in waybar.</issue_title>
<issue_description>Scrolling the mouse wheel on the group module causes Waybar to crash. Here are the logs:</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: Alexays <13947260+Alexays@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix Waybar crash when scrolling mouse wheel Fix crash when scrolling on group module Feb 4, 2026
Copilot AI requested a review from Alexays February 4, 2026 09:29
@cebem1nt
Copy link
Contributor

cebem1nt commented Feb 6, 2026

Hi! But it's fixed with my patch... I can't reproduce it anymore with 68cbb50

@cebem1nt
Copy link
Contributor

cebem1nt commented Feb 6, 2026

My bad. finally fixed with #4821

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suspected bug found in waybar.

3 participants