GraphiteEditor / GraphiteEditor/Graphite

Bug: Offset while using brush tool on iPad

Đang mở
#3,286 11 bình luận 0 reaction 0 người được giao Xem trên GitHub
Good First Issue
Ngôn ngữ chính
Rust
Star
27.2k
Fork
1.3k
Merge trung bình
20 giờ 5 phút
Pull request đã merge (30 ngày)
57

Mô tả

### Description

- Large offset while using the web version on iPad.
- Using the apple pencil to draw with the brush tool on the iPad surface, there is a large noticable offset of the ink appearing from the tip of the pencil touching the screen.
- The brush ink also flows outside of the artboard (although I suspect this might be by desgin)

### Video Demonstration
https://drive.google.com/file/d/1buYIvX035Be9K-pn0Rn7eCGvYZ4jJTX1/view?usp=sharing

### Other details

- Safari version: 26
- iOS version: iPadOS 26.0
- iPad model: iPad Pro 13 inch, 2024

### Preliminary thoughts

- The mismatch is CSS px vs device px and/or origin differences.
look at https://github.com/GraphiteEditor/Graphite/blob/master/editor/src/messages/tool/tool_messages/brush_tool.rs

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start with editor/src/messages/tool/tool_messages/brush_tool.rs and reproduce the offset using the web version on the reported iPad and Apple Pencil setup. Compare the pointer position with the rendered brush location, considering the reported CSS-pixel, device-pixel, and origin differences. Done means brush strokes follow the pencil tip without the reported offset and the observed artboard behavior is verified.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
rust
Lĩnh vực
computer-graphics, mobile-dev
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.