DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

Scrolling on bar switches workspace on the wrong monitor

Open shaplyd opened this issue 7 months ago • 3 comments

Compositor

Niri

Distribution

Arch Linux

If Other, please specify

CachyOS

Select your Installation Method

DankInstaller

Was this your original Installation method?

Yes

If no, specify

No response

dms doctor -vC

Click to expand ## DMS Doctor Report

System

  • [ok] Operating System: CachyOS
    • ID: cachyos, Version: rolling, Arch: amd64
  • [ok] Architecture: amd64
  • [ok] Display Server: Wayland
    • WAYLAND_DISPLAY=wayland-1

Versions

  • [ok] DMS CLI: dms v1.4.0-342-ge2244175
    • /usr/bin/dms
  • [warn] Quickshell: Quickshell 0.2.1 (revision 08058326f04e9b5e55c903b3702405a8d3556ac6, distributed by AUR (package: quickshell-git))
    • /usr/bin/qs
  • [ok] DMS Shell: v1.5-beta
    • /usr/share/quickshell/dms

Installation

  • [ok] DMS Configuration: Found
    • /usr/share/quickshell/dms
  • [ok] shell.qml: Present
    • /usr/share/quickshell/dms/shell.qml
  • [info] Install Type: System package
    • /usr/share/quickshell/dms

Compositor

  • [ok] niri: 25.11
    • /usr/bin/niri
  • [info] Active: niri

Quickshell Features

  • [ok] Polkit: Available
    • Authentication prompts
  • [ok] IdleMonitor: Available
    • Idle detection
  • [ok] IdleInhibitor: Available
    • Prevent idle/sleep
  • [ok] ShortcutInhibitor: Available
    • Allow shortcut management (niri)

Optional Features

  • [ok] accountsservice: Available
    • User accounts
  • [ok] power-profiles-daemon: Available
    • Power profile management
  • [ok] logind: Available
    • Session management
  • [ok] cups-pk-helper: Available
    • Printer management
  • [ok] I2C/DDC: 2 monitor(s) detected
    • External monitor brightness control
  • [ok] qt6-imageformats: Installed (1 formats)
    • Formats: GIF (/usr/lib/qt6/plugins/imageformats:/usr/lib64/qt6/plugins/imageformats)
  • [warn] kimageformats: Not installed
    • AVIF, HEIF, JXL support
  • [ok] Terminal: ghostty, alacritty
  • [ok] Network: NetworkManager
    • NetworkManager present. Using NM API.
  • [ok] matugen: Installed
    • Dynamic theming
  • [ok] dgop: Installed
    • System monitoring
  • [ok] cava: Installed
    • Audio visualizer
  • [ok] khal: Installed
    • Calendar events
  • [ok] danksearch: Installed
    • File search
  • [ok] fprintd: Installed
    • Fingerprint auth

Config Files

  • [ok] settings.json: Present
    • /home/XXX/.config/DankMaterialShell/settings.json
  • [info] clsettings.json: Not yet created
    • /home/XXX/.config/DankMaterialShell/clsettings.json
  • [ok] plugin_settings.json: Present
    • /home/XXX/.config/DankMaterialShell/plugin_settings.json
  • [ok] session.json: Present
    • /home/XXX/.local/state/DankMaterialShell/session.json
  • [ok] dms-colors.json: Present
    • /home/XXX/.cache/DankMaterialShell/dms-colors.json

Services

  • [ok] dms.service: enabled, active
  • [ok] greetd: enabled

Environment

  • [info] QT_QPA_PLATFORMTHEME: qt6ct
  • [info] QS_ICON_THEME: Not set

Summary: 0 error(s), 2 warning(s), 32 ok

Description

Scrolling on the bar with mouse wheel on bar cycles through workspaces of the monitor with the last focused window

Expected Behavior

Scrolling on the respective bar should cycle through the workspaces of the monitor the bar is on

Steps to Reproduce

  1. In niri have warp-mouse-to-focus focus-follows-mouse turned off

  2. Have multiple monitors with multiple bars

  3. Scroll on bar of unfocused monitor

Error Messages/Logs

No response

Screenshots/Recordings

No response

shaplyd avatar Apr 12 '26 13:04 shaplyd

I don't think there's currently a way to disable the mouse warping that happens in niri when scrolling on the unfocused output, but the other issue is fixed.

bbedward avatar May 14 '26 14:05 bbedward

Is there no way to change the workspace on the output without changing focus to that monitor?

shaplyd avatar May 14 '26 14:05 shaplyd

Is there no way to change the workspace on the output without changing focus to that monitor?

No, that's also a niri behavior that would have to change upstream

bbedward avatar May 14 '26 14:05 bbedward