Bug Report/UX Issue: Merging prefers merged contents colours

Đang mở
#4,730 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

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

Hướng nghiên cứu

The report points at the Merge node in the node graph as the place where fill and stroke are resolved, with the bottom input's values overriding the top input's. Reproduce it by setting a fill or stroke colour on the top input and checking the merged result, then find where the Merge node chooses between its inputs. Done means agreement with maintainers on whether the top or bottom input should win, and a fix that matches that decision. The thread has not settled whether this is a bug or a UX question, so confirm that first.

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

Mô tả

Version: Development branch (https://dev.graphite.art/)
Browser: Firefox

Personally not sure if this is a bug or a UX problem. Here is a video recording:

https://github.com/user-attachments/assets/29053c91-5dbc-4204-a07d-f5b112a63977

The same issue applies to the stroke as well.

Upon inspection of the node graph to see where it was getting the colour from:

Image

I found the reason is that the merge node prefers the bottom input's fill and stroke colour over the original top input's fill and stroke colour, which isn't changed when changing the colour of the stroke or fill through the method shown in the video. Forcing the user to either move up the fill and stroke manually, or disabling and enabling the fill and stroke so it is forced pasted the merge node in the order.

If this is a duplicate, I misunderstood something, or someone thinks of a more accurate title please let me know. (feel free to ping me on discord as I am more likely to see it.)

Ngôn ngữ chính
Rust
Star
27.8k
Fork
1.3k
Merge trung bình
10 giờ 53 phút
Pull request đã merge (30 ngày)
195

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của GraphiteEditor/Graphite

Tất cả issue của GraphiteEditor/Graphite

Issue tương tự

Thêm issue về Rust

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.