Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dnd-edge-view-scroll removes the ability to use other keybindings for scrolling during drags #1178

Open
MauroGuida opened this issue Feb 26, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@MauroGuida
Copy link

System Information

  • niri version: 25.02
  • Distro: ArcoLinux
  • GPU: RX480
  • CPU: Intel I7 9700K

Before version 25.02, I was able to scroll through open windows while dragging a window or a file using my scrolling keybindings:

Mod+WheelScrollUp   cooldown-ms=150 { focus-column-left; }
Mod+WheelScrollDown cooldown-ms=150 { focus-column-right; }

Mod+H           { focus-column-or-monitor-left; }
Mod+L           { focus-column-or-monitor-right; }
Mod+Left        { focus-column-or-monitor-left; }
Mod+Right       { focus-column-or-monitor-right; }

With these keybindings, movement across windows and columns remained consistent between normal window switching and repositioning via drag-and-drop. However, with the new gesture (which, by the way, is excellent UX design), the ability to move between columns and windows using keybindings has been removed, making the gesture the only way to reposition a window.

This new behavior also creates an issue with file dragging. If I drag a file and move the mouse to the monitor borders, all windows and columns scroll as expected. However, if I use a keybinding, the focus changes, but the visual scroll does not occur.

I truly appreciate the improvements in usability, but I was wondering if there is any way to restore the previous functionality alongside the new gesture. Thank you for your hard work and for continuously enhancing the user experience!

@MauroGuida MauroGuida added the bug Something isn't working label Feb 26, 2025
@YaLTeR
Copy link
Owner

YaLTeR commented Feb 26, 2025

This is semi intended because what happened with DnD scroll is that the view is immediately frozen and keeps frozen over the duration of the drag. I'll need to think if there's some clean way to make the focus actions still work during this. Also related: #1174

@YaLTeR YaLTeR added enhancement New feature or request and removed bug Something isn't working labels Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants