Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Mouse wheel over workspace switcher widget regression

Open Beginner friendly
#3,946 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
75/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Domain
desktop, frontend

Research direction

Start with Modules/DankBar/Widgets/WorkspaceSwitcher.qml, named in the overlay patch, and inspect how its wheel handler distinguishes mouse wheels from touchpads. Reproduce by scrolling over the workspace switcher and verify that one indexed mouse wheel scroll switches workspaces; the issue’s proposed condition provides a reference for the behavior.

Written by the indexing model from the issue text.

Description

bug
Compositor

Niri

Distribution

NixOS

If Other, please specify

No response

Select your Installation Method

Distro Packaging

Was this your original Installation method?

Yes

If no, specify

No response

dms doctor -vC
Click to expand The mouse over scroll wheel takes significantly more scrolling to actuate a switch.

A fix for nixos is an overlay patch like this:

final: prev: {
  dms-shell = prev.dms-shell.overrideAttrs (old: {
    postFixup = (old.postFixup or "") + ''
      substituteInPlace $out/share/quickshell/dms/Modules/DankBar/Widgets/WorkspaceSwitcher.qml \
        --replace-fail \
        "const isTouchpad = wheel.pixelDelta && wheel.pixelDelta.y !== 0;" \
        "const isTouchpad = wheel.pixelDelta && wheel.pixelDelta.y !== 0 && wheel.angleDelta.y === 0;"
    '';
  });
}
Description

The mouse over scroll wheel takes significantly more scrolling to actuate a switch.

Expected Behavior

Scroll between workspaces with one indexed mouse wheel scroll.

Steps to Reproduce

Mouse over workspace switcher, scroll with mouse wheel.

Error Messages/Logs

No response

Screenshots/Recordings

No response

Dominant language
QML
Stars
8.4k
Forks
549
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AvengeMedia/DankMaterialShell

All issues in AvengeMedia/DankMaterialShell

Similar issues

More Desktop Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.