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

please fix the dragging behavior #960

Closed
mattymatty opened this issue Jul 22, 2023 · 9 comments
Closed

please fix the dragging behavior #960

mattymatty opened this issue Jul 22, 2023 · 9 comments

Comments

@mattymatty
Copy link

mattymatty commented Jul 22, 2023

Please match every other software out there to pan the canvas. Hold spacebar, cursor turns into the hand icon, then click and drag to pan canvas, when done panning release spacebar. There is no need to make a new pattern, it is a very bad user experience for such a common user interaction. It is always recommended to not stray from existing patterns.

@NeedsMoar
Copy link

Actually I've never seen spacebar used for that purpose. Most software uses shift since it isn't expected to do anything by default. Spacebar would enter a space if a text element was selected which causes a conflict.

@mattymatty
Copy link
Author

Look at every single Adobe, Affinity, Blender, Sketch, Figma product. They all use space at.

@Lex-DRL
Copy link

Lex-DRL commented Jul 25, 2023

As an experienced Photoshop, Maya, Houdini, Unity, and Nuke user (and the one who's also well-familiar with a ton of secondary software, like Zbrush, Substance, UVLayout, AE, Audition, etc.), here's what I have to say:

  • Yes, current behavior is both extremely inconvenient and non-standard
  • But no, I don't think spacebar-hold specifically is a good solution. Houdini was using it for years, but even they finally shifted to the industry standard: alt.
  • ... But keeping in mind, that we're in a browser here, alt might be not the best solution. E.g.,in Firefox (I use it) alt displays legacy main menu.

So yes, we should use some function key instead, but alt itself seems as a bad choice.

My proposal: adopt Nuke's navigation scheme. After all, it's a 2d editor, not 3d (kinda). But also, it's a purely node-based one (not nodes PLUS SOMETHING) and it's somewhat compatible with patterns in 3d software. I.e:

  • Pan with middle mouse button OR with Alt+right.
  • Zoom with right mouse button (held, not clicked) OR with Shift+middle.

"or" here means that I suggest both to be working at the same time, not exclusively one or the other.
This control scheme is also completely compatible with selection (which, imo, also requires significant rework).

@vulpescodex
Copy link

vulpescodex commented Jul 28, 2023

I vote for middle mouse button panning, I have been able to use it in most of the software I use and the habit is difficult to break. And the mouse wheel for zoom seems natural for me.

I would additionally like to request that the default panning and zooming behavior of the browser would be allowed. Half of the time I'm using a MacBook Pro with a trackpad and Safari and currently the trackpad two finger panning gesture zooms the workspace. The speed is also quite rapid creating a jarring experience as most other software I use respects that panning method.

@LeeLorenzSr
Copy link

Zoom doesn't work at all for me with my scroll wheel, and from other comments I've seen I'm not the only one. One click of my scroll wheel zooms out to gigantic (beyond scope of window) or in microscopic size. Until I can figure out the simplest navigation issue on ComfyUI, it is unusable.

@Lex-DRL
Copy link

Lex-DRL commented Jul 29, 2023

Panning with mouse is also mentioned in:
#103 , #757 , #624 , #414

@subtleGradient
Copy link

This may be relevant:
https://github.com/subtleGradient/TinkerBot-tech-for-ComfyUI-Touchpad

@amansharma007
Copy link

This may be relevant: https://github.com/subtleGradient/TinkerBot-tech-for-ComfyUI-Touchpad

Brrooooo. You just saved the whole group! Amazing solution!

@robinjhuang
Copy link
Collaborator

Consolidating mouse / dragging feature requests here: #624

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

No branches or pull requests

8 participants