Photo sketch geometry changes all strokes to the last selected colour when using tap-to-draw method
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
Hướng nghiên cứu
Tái hiện vấn đề thông qua luồng photo sketches bằng phương pháp tap-to-draw, so sánh với vẽ tự do và các lựa chọn màu khác nhau. Theo dõi cách các đoạn thẳng được tạo bằng thao tác chạm lưu màu của chúng so với các nét vẽ tự do. Hoàn tất khi mỗi nét vẽ giữ lại màu được chọn tại thời điểm tạo trên iOS, Android và Windows.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
When drawing photo sketches using the tap-to-draw method (tapping on the screen to place points, with lines created automatically between them), each time the user selects a new colour, all previously drawn strokes change to the newly selected colour. This issue does not occur when drawing freehand directly with a finger — in that case the colour is correctly preserved per stroke. Only the tap-to-draw method is affected.
Environment
[x] Staging
Application (+ app version, build, operating system)
Mergin Maps Mobile App
- iOS version: 2025.6.0 — iOS 26.0
- Android version: 2025.6.0 — Samsung Galaxy A53 5G, Android 15
- Windows application
Steps to reproduce
- Open a project with photo sketching enabled.
- Open a feature form and attach a photo from the camera or gallery.
- Tap the photo sketches icon to open the sketching toolbar.
- Select a colour (e.g. blue).
- Tap on one location on the photo, then tap on another location approximately 2 cm away — a line is automatically created between the two points in blue.
- Select a different colour (e.g. green).
- Tap on a new location to create another line segment.
- Observe the colour of the previously drawn blue line.
Actual results
After selecting green and drawing a new tap-to-draw stroke, the previously drawn blue stroke changes colour to green. The entire sketch geometry adopts the most recently selected colour. Previously drawn strokes do not retain their original colour when using the tap-to-draw method.
Expected results
Each stroke should retain the colour selected at the time it was drawn, regardless of the drawing method used. Changing the colour for a new stroke should not affect any previously drawn strokes.
Note
When drawing freehand with a finger, the colour is correctly preserved per stroke — the issue is specific to the tap-to-draw interaction method.
Screenshots or logs
https://github.com/user-attachments/assets/1f414d1e-e983-433c-95a0-3ad145ed46ef
Conclusion
Created by Claude and supervised by a human test analyst.
- Ngôn ngữ chính
- C++
- Star
- 388
- Fork
- 87
- Merge trung bình
- 4 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 16
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của MerginMaps/mobile
-
bug ui/ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
MerginMaps/mobile#4669 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug Good first issue ui/ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
MerginMaps/mobile#4665 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug ui/ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
MerginMaps/mobile#4647 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 65/100
MerginMaps/mobile#4727 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
MerginMaps/mobile#4726 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của MerginMaps/mobile
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Icinga/icinga2#11058 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
component: split-view platform: windows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
zen-browser/desktop#15616 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
area/ysql kind/bug priority/medium status/awaiting-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
yugabyte/yugabyte-db#34415 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
WayfireWM/wayfire#3148 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày