panning the viewport on touchpad is inverted #109400

Closed
opened 2023-06-27 08:33:39 +02:00 by Michael-309 · 15 comments

System Information

  1. Operating system: Linux-6.3.7-x86_64-with-glibc2.37 64 Bits
    Graphics card: Mesa Intel(R) Graphics (ADL GT2) Intel 4.6 (Core Profile) Mesa 23.1.1
    Blender: version: 3.5.1, branch: Unknown, commit date: Unknown Unknown, hash: Unknown

  2. Operating system: macOS-10.15.7-x86_64-i386-64bit
    Graphics card: Intel HD Graphics 4000 OpenGL Engine Intel Inc. 4.1 INTEL-14.7.28
    Blender: version: 3.6.0, branch: blender-v3.6-release, commit date: 2023-06-27 08:08, hash: c7fc78b81e, type: release
    natural scroll setting does make it feel correct here (it only modifies the pan gesture)! too bad it's tied with the system natural scroll setting

  3. Operating system: Windows-10-10.0.19045-SP0
    Graphics card: Intel(R) HD Graphics 4000 Intel 4.0.0 - Build 10.18.10.5161
    Blender: version: 3.3.8, branch: master, commit date: 2023-06-19 13:34, hash: 6a4c537c21, type: release
    natural scroll setting does make it feel correct but again it's tied with the system

Blender Version
Broken: version: 3.5.1, branch: Unknown, commit date: Unknown Unknown, hash: Unknown
Worked: 3.3 lts - latest version on steam that didn't recognize my touchpad as a touchpad (no wayland) before 3.3, but unknown, but probably since the start of touchpad support,

Short description of error
panning with the touchpad doesn't move the camera in the same direction as it would with a mouse, despite rotating and zooming both being the same.

it seems that (on windows / macos) the natural scroll setting on a touchpad only affects the pan and zoom actions, and the natural scroll setting on a mouse only affects the zoom action (since panning is a drag action instead, but it's odd that orbit is the only one that doesn't change)

Exact steps for others to reproduce the error
pan / orbit / zoom the camera with a precision touchpad
compare with same same actions on a mouse
(see attached video)

**System Information** 1. Operating system: Linux-6.3.7-x86_64-with-glibc2.37 64 Bits Graphics card: Mesa Intel(R) Graphics (ADL GT2) Intel 4.6 (Core Profile) Mesa 23.1.1 Blender: version: 3.5.1, branch: Unknown, commit date: Unknown Unknown, hash: `Unknown` 2. Operating system: macOS-10.15.7-x86_64-i386-64bit Graphics card: Intel HD Graphics 4000 OpenGL Engine Intel Inc. 4.1 INTEL-14.7.28 Blender: version: 3.6.0, branch: blender-v3.6-release, commit date: 2023-06-27 08:08, hash: c7fc78b81ecb, type: release natural scroll setting does make it feel correct here (it only modifies the pan gesture)! too bad it's tied with the system natural scroll setting 3. Operating system: Windows-10-10.0.19045-SP0 Graphics card: Intel(R) HD Graphics 4000 Intel 4.0.0 - Build 10.18.10.5161 Blender: version: 3.3.8, branch: master, commit date: 2023-06-19 13:34, hash: 6a4c537c211e, type: release natural scroll setting does make it feel correct but again it's tied with the system **Blender Version** Broken: version: 3.5.1, branch: Unknown, commit date: Unknown Unknown, hash: `Unknown` Worked: ~~3.3 lts - latest version on steam that didn't recognize my touchpad as a touchpad (no wayland)~~ before 3.3, but unknown, but probably since the start of touchpad support, **Short description of error** panning with the touchpad doesn't move the camera in the same direction as it would with a mouse, despite rotating and zooming both being the same. it seems that (on windows / macos) the natural scroll setting on a touchpad only affects the pan and zoom actions, and the natural scroll setting on a mouse only affects the zoom action (since panning is a drag action instead, but it's odd that orbit is the only one that doesn't change) **Exact steps for others to reproduce the error** pan / orbit / zoom the camera with a precision touchpad compare with same same actions on a mouse (see attached video)
Michael-309 added the
Type
Report
Status
Needs Triage
Priority
Normal
labels 2023-06-27 08:33:39 +02:00
Member

Are you on Gnome?

If so, there seems to be a setting affecting this, called Natural Scrolling:

image

Could you check if this works for you?

Are you on Gnome? If so, there seems to be a setting affecting this, called `Natural Scrolling`: ![image](/attachments/6f1fd539-deaf-4b43-9a2f-8af4d8ae47f4) Could you check if this works for you?
Philipp Oeser added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-06-27 12:02:55 +02:00
Author

i'm on KDE, the natural scroll setting just inverts all scrolling (except for the two-finger pinch), which means that while the panning matches what i'd expect, orbiting & zooming get inverted. maybe some way to like invert a trackpad/mouse-based keybind (so one could just invert the 3d view pan) would be nice? since i can somewhat see how the current mode could make sense

i'm on KDE, the natural scroll setting just inverts all scrolling (except for the two-finger pinch), which means that while the panning matches what i'd expect, orbiting & zooming get inverted. maybe some way to like invert a trackpad/mouse-based keybind (so one could just invert the 3d view pan) would be nice? since i can somewhat see how the current mode could make sense
Member

@ideasman42 : I recall a previous discussion about this, it seems users percieve this as being inverted, opinions?

@ideasman42 : I recall a previous discussion about this, it seems users percieve this as being inverted, opinions?

Closing as this looks to be a known limitation in KDE.
https://invent.kde.org/plasma/kwin/-/merge_requests/3456

Run Blender with the following command:

blender --log "ghost.wl.handle.pointer" --log-level 2

If the text axis_relative_direction is not included in the output (when using a track-pad) this means the compositor is not aware of physical track-pad direction, once the compositor supports this, Blender should work as expected.

Closing as this looks to be a known limitation in KDE. https://invent.kde.org/plasma/kwin/-/merge_requests/3456 Run Blender with the following command: ``` blender --log "ghost.wl.handle.pointer" --log-level 2 ``` If the text `axis_relative_direction` is not included in the output (when using a track-pad) this means the compositor is not aware of physical track-pad direction, once the compositor supports this, Blender should work as expected.
Blender Bot added
Status
Archived
and removed
Status
Needs Info from Developers
labels 2023-07-06 05:53:11 +02:00
Author

in that case it's interesting that it also happens on macos

in that case it's interesting that it also happens on macos

in that case it's interesting that it also happens on macos

@Michael-309 please report this separately, reference any other reports you think it may be related to.

> in that case it's interesting that it also happens on macos @Michael-309 please report this separately, reference any other reports you think it may be related to.
Author

so just create a new issue saying it's the same bug as this, but it happens on linux, mac, and windows (now that i've fixed my driver issues and tested it there)? (tbf i probably should've included that in the original report)

so just create a new issue saying it's the same bug as this, but it happens on linux, mac, and windows (now that i've fixed my driver issues and tested it there)? (tbf i probably should've included that in the original report)

@Michael-309

Re-opening, in this case, please update the report to note that it happens on Windows/macOS.
This means it's more likely to be a decision on how user interactions should work and less likely to be an error in the platform's event handling logic.

As Wayland only added support for physical track-pad direction very recently, I think it's best to investigate the problem on Windows/macOS before double-checking Wayland's behavior. Since those platforms have supported track-pads much longer.

@Michael-309 Re-opening, in this case, please update the report to note that it happens on Windows/macOS. This means it's more likely to be a decision on how user interactions should work and less likely to be an error in the platform's event handling logic. As Wayland only added support for physical track-pad direction very recently, I think it's best to investigate the problem on Windows/macOS before double-checking Wayland's behavior. Since those platforms have supported track-pads much longer.
Blender Bot added
Status
Needs Triage
and removed
Status
Archived
labels 2023-07-11 02:36:52 +02:00
Campbell Barton added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-07-11 02:46:37 +02:00
Author

by the way, i edited the issue the information (tested on more systems) a while ago, not sure if it gave a notification though

by the way, i edited the issue the information (tested on more systems) a while ago, not sure if it gave a notification though

In addition to possible OS-specific issues, there are plenty of bugs in the way operators handle trackpad events.
The main patch is here #89906 (comment) some more in #82006.

You can find an explanation of how it's designed to work here: #102762 #89906 #86025 ...

In addition to possible OS-specific issues, there are plenty of bugs in the way operators handle trackpad events. The main patch is here https://projects.blender.org/blender/blender/issues/89906#issuecomment-993606 some more in #82006. You can find an explanation of how it's designed to work here: #102762 #89906 #86025 ...
Philipp Oeser added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2023-08-15 12:21:01 +02:00

@Michael-309 There are builds you can try and an explanation of how it should work: #111141 (comment)

You seem to have everything working correctly, as it should with the "natural scroll" option turned off.

You can invert the zoom direction in Blender settings.
There is a report #86025 about inverting the orbit, but it is a feature request actually.

@Michael-309 There are builds you can try and an explanation of how it should work: https://projects.blender.org/blender/blender/pulls/111141#issuecomment-1000210 You seem to have everything working correctly, as it should with the "natural scroll" option turned off. You can invert the zoom direction in Blender settings. There is a report #86025 about inverting the orbit, but it is a feature request actually.
Member

@Michael-309 hi, on which platform you're observing this?
(Report description is complaining the problem on many OS)
On Windows, navigation direction is same for both mouse and touchpad. Well, there are some exceptional cases (which @jenkm has mentioned, example: #89906) :)

@Michael-309 hi, on which platform you're observing this? (Report description is complaining the problem on many OS) On Windows, navigation direction is same for both mouse and touchpad. Well, there are some exceptional cases (which @jenkm has mentioned, example: #89906) :)
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-09-06 08:34:35 +02:00
Author

@PratikPB2123 all three (minus the notes on windows/macos, which i believe is actually the linux laptop's problem because of that wayland bug),

@jenkm the patch you linked doesn't seem to change anything on the linux machine, and unfortunately is too new of a blender to run on my windows/macos laptop.

i guess it is just me thinking the current controls feel wrong and it's intended

@PratikPB2123 all three (minus the notes on windows/macos, which i believe is actually the linux laptop's problem because of that wayland bug), @jenkm the patch you linked doesn't seem to change anything on the linux machine, and unfortunately is too new of a blender to run on my windows/macos laptop. i guess it is just me thinking the current controls feel wrong and it's intended
Member

On Windows (at least) I can confirm inverted navigation direction:

  • For panning: when windows touchpad preference is set to Down Motion Scrolls down
  • For zoom, when touchpad preference is Down motion scrolls up

We already have a few reports complaining about inverted directions so I think we can safely close this report.
Feel free to comment or reopen the report in case of misunderstanding.

On Windows (at least) I can confirm inverted navigation direction: - For panning: when windows touchpad preference is set to [Down Motion Scrolls down](/attachments/91995440-a3b9-4b1c-8796-aa8ce52f8d18) - For zoom, when touchpad preference is `Down motion scrolls up` We already have a few reports complaining about inverted directions so I think we can safely close this report. Feel free to comment or reopen the report in case of misunderstanding.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-09-14 11:17:38 +02:00
Pratik Borhade added
Status
Duplicate
and removed
Status
Archived
labels 2023-09-14 11:17:46 +02:00

I am using Blender 4.0.6, KDE 5.27.9 on Wayland, Linux 6.6.2

and facing same issue as @Michael-309, orbiting and panning are working differently on touchpad.

case 1: without natural scrolling

  • orbiting is natural
  • panning is reversed

case 2: with natural scrolling

  • orbiting is reversed
  • panning is natural

pinch zoom works normally in both cases.

I prefer to use natural scrolling in my system, and that reversed orbit is driving me nuts.
For now I am doing a temporary workaround of editing view3d_navigate_view_rotate.cc to invert orbiting.

But I would really like to have options in settings to individually "invert orbit" and "invert pan" in official builds.

I am using Blender 4.0.6, KDE 5.27.9 on Wayland, Linux 6.6.2 and facing same issue as @Michael-309, orbiting and panning are working differently on touchpad. **case 1: without natural scrolling** - orbiting is natural - panning is reversed **case 2: with natural scrolling** - orbiting is reversed - panning is natural pinch zoom works normally in both cases. I prefer to use natural scrolling in my system, and that reversed orbit is driving me nuts. For now I am doing a temporary workaround of editing `view3d_navigate_view_rotate.cc` to invert orbiting. But I would really like to have options in settings to individually "invert orbit" and "invert pan" in official builds.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#109400
No description provided.