Mouse wheel over workspace switcher widget regression
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
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
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
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AvengeMedia/DankMaterialShell
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
AvengeMedia/DankMaterialShell#3940 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
AvengeMedia/DankMaterialShell#3931 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AvengeMedia/DankMaterialShell#3918 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
AvengeMedia/DankMaterialShell#3915 ·
-
Replace Keep Awake widget icon with a teacupPossibly taken @ronitarv claimed this 1 day ago. OpenEnhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
AvengeMedia/DankMaterialShell#3896 · 2 comments · 1 reaction ·
All issues in AvengeMedia/DankMaterialShell
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Tyrrrz/YoutubeDownloader#912 ·
-
[Bug] Error: thaw@beta: thaw@beta: This cask does not run on macOS versions older than Golden Gate.Openmacos-27 ops
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
thaw-app/Thaw#1400 · 1 comment ·
Maintainers usually reply within 1 day
-
Wait for device pairing before desktop test cleanupPossibly taken @yxr-2025 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
elie222/rakazo#2450 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
sumatrapdfreader/sumatrapdf#6417 · 3 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ParetoSecurity/pareto-mac#324 ·
Maintainers usually reply within 1 day