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

Can't pan on the visual shader editor while the mouse cursor is on a node preview #101916

Closed
Calinou opened this issue Jan 22, 2025 · 2 comments · Fixed by #102278
Closed

Can't pan on the visual shader editor while the mouse cursor is on a node preview #101916

Calinou opened this issue Jan 22, 2025 · 2 comments · Fixed by #102278

Comments

@Calinou
Copy link
Member

Calinou commented Jan 22, 2025

Tested versions

  • Reproducible in: 4.0.stable, 4.2.stable, 4.3.stable, 4.4.beta1

System information

Godot v4.4.dev (24d7451) - Fedora Linux 41 (KDE Plasma) on X11 - X11 display driver, Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4090 (nvidia; 565.77) - 13th Gen Intel(R) Core(TM) i9-13900K (32 threads)

Issue description

It's not possible to pan on the visual shader editor while the mouse cursor is on a node preview:

visual_shader_pan.mp4

It should logically be possible as the preview can't be interacted with in any way.

Steps to reproduce

  • Create a visual shader with a node like ColorFunc and enable its preview by clicking on the eye icon.
  • Try to pan with the middle mouse button or Space + left mouse button outside the preview.
  • Try to do the same, but with the mouse movement starting inside the preview.

Minimal reproduction project (MRP)

test_visual_shader_pan.zip

@Giganzo
Copy link
Contributor

Giganzo commented Jan 22, 2025

Should you be able to pan while mouse is over any control (like OptionButton) or just previews?

@Calinou
Copy link
Member Author

Calinou commented Jan 25, 2025

Should you be able to pan while mouse is over any control (like OptionButton) or just previews?

I'd say you should be able to pan while the mouse is over any control, as I don't think we use the middle mouse button (or Space + Left mouse button) for any interactions with (Option)Button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants