Skip to content

Window touch drag-and-drop starts at pointer, not at finger #764

@Thesola10

Description

@Thesola10

Describe the bug
This is a technical addendum to #736. The way touch-based window dragging works, the initial coordinates when grabbing begins is used to determine the relative pointer position to the window using the global pointer. However, just as in #735, the global pointer cannot be used as a coordinates source for touch events.

This bug exists mainly as a self reminder, though anyone is free to pick it up.

To Reproduce

  1. Tap and hold a window titlebar with a touch screen
  2. Drag the window

Expected behavior
Same behavior as mouse-based drag-and-drop

Screenshots
The window jumps relative to where the pointer was when the gesture started

System information:
Irrelevant -- trust me :)

Metadata

Metadata

Assignees

Labels

bugUndesirable behaviortouchscreenIssue is related to touch screen functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions