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

Manipulation of flow node view with touchpad #618

Closed
ajayre opened this issue Nov 2, 2024 · 15 comments
Closed

Manipulation of flow node view with touchpad #618

ajayre opened this issue Nov 2, 2024 · 15 comments
Assignees
Milestone

Comments

@ajayre
Copy link

ajayre commented Nov 2, 2024

This is what I currently am working with:

Screenshot 2024-11-02 221952

It would be nice if there were scrollbars for the view area so I can zoom in and then pan around. Also a zoom to fit everything would be nice.

If I right-click and choose Center View then it wastes a lot of space on the left.

Perhaps this is easier with a mouse but I am using a laptop with a touchpad and it is getting a bit unwieldy and painful to use.

Thanks.

@mvladic
Copy link
Contributor

mvladic commented Nov 3, 2024

Perhaps this is easier with a mouse but I am using a laptop with a touchpad and it is getting a bit unwieldy and painful to use.

With the mouse you can use middle or right button to pan around. With the touchpad I only tested with the Mac and panning with two fingers and pinch to zoom works good in my opinion. I just tested on the Linux Acer laptop and panning with two fingers works, but as you say it is unwieldy to use, i.e. it is to sensitive. On this laptop pinch to zoom doesn't work at all.

@mvladic
Copy link
Contributor

mvladic commented Nov 3, 2024

Panning and zooming with the touchpad on the Lenovo Thinkpad laptop on Windows also works good. What operating system are you using?

@mvladic
Copy link
Contributor

mvladic commented Nov 3, 2024

I just made some tuning for the touchpad, I hope this will improve touchpad usage. If pinch to zoom is not possible on your laptop then you can use CTRL+"two finger touch gesture" to zoom in and zoom out.

@ajayre
Copy link
Author

ajayre commented Nov 3, 2024

Windows 11.

Pinch to zoom works. Two fingers to pan doesn't work.

@mvladic
Copy link
Contributor

mvladic commented Nov 3, 2024

Two fingers to pan doesn't work.

Does it not work at all or does it sometimes mix panning and zooming (because both gestures use two fingers)?

@ajayre
Copy link
Author

ajayre commented Nov 3, 2024

Doesn't do anything at all.

@mvladic
Copy link
Contributor

mvladic commented Nov 3, 2024

Hm, it works on my Lenovo Thinkpad X1 Extreme WIndows 11 laptop. Does two finger panning/scrolling work in other programs?

@mvladic
Copy link
Contributor

mvladic commented Nov 3, 2024

Hm, it works on my Lenovo Thinkpad X1 Extreme WIndows 11 laptop

On this laptop I have an option to enable/disable two finger scrolling:

image

@ajayre
Copy link
Author

ajayre commented Nov 3, 2024

Yes. I couldn't live without it. For example works in Chrome, Notepad++, Visual Studio, etc.

@ajayre
Copy link
Author

ajayre commented Nov 3, 2024

Note that two-finger panning would be nice but I am perfectly happy with scroll bars.

@mvladic
Copy link
Contributor

mvladic commented Nov 3, 2024

Ok, I will investigate how scroll bars can be added. There is a complications because page view editor can grow indefinitely in all directions.

I'm curious, what is your laptop model? Maybe I can find a similar laptop to reproduce this problem.

@mvladic
Copy link
Contributor

mvladic commented Nov 3, 2024

BTW on my Thinkpad laptop, panning also works with one finger if I keep pressed right touchpad button (right button press is detected when I press touchpad on the bottom right corner of the touchpad).

@mvladic mvladic added this to the 0.20.0 milestone Nov 3, 2024
@ajayre
Copy link
Author

ajayre commented Nov 3, 2024

Yes, I understand the technical difficulty...

I just tried it, right-click and drag does work for panning.

Lenovo Legion.

@ajayre
Copy link
Author

ajayre commented Nov 3, 2024

Instead of scrollbars how about toolbar buttons for zoom and pan modes?

mvladic added a commit that referenced this issue Nov 4, 2024
@mvladic
Copy link
Contributor

mvladic commented Nov 4, 2024

For now, I made a change so you can pan around with the ALT key + "single finger drag".

@mvladic mvladic modified the milestones: 0.20.0, 0.21.0 Nov 17, 2024
@mvladic mvladic closed this as completed Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants