Transparency or saturation issue with image while adding landmarks on MacOS

Đang mở
#2,355 6 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
cpp, macos
Lĩnh vực
desktop

Hướng nghiên cứu

Start by reproducing the issue in KLayout’s landmarks editor on macOS, using the video’s workflow: open an image, place a landmark, and zoom. The payload names no source files or tests, so trace the editor’s image rendering and repaint path from that workflow. Done means the image remains visible while placing landmarks and zooming, including with the reported image formats.

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

Mô tả

This issue seems related to #1944.

An issue occurs with rendering/repaint in the landmarks editor on MacOS. When I try to define image landmarks, the image viewport turns white unless I place a landmark. After placing a landmark, the image becomes visible again, but zooming causes the image area to turn white again. This makes accurate landmark placement quite tedious. I use KLayout a lot with SEM images, so I am including a video of the issue when I try working with an arbitrary SEM image from the internet.

https://github.com/user-attachments/assets/c34a8acb-47d2-435b-bcfb-88b7cf59a6c4

More info:

  • Environment: MacOS Tahoe 25.6
  • Architecture: Apple Silicon M4
  • KLayout version: 0.30.8
  • It has happened to me with .png and .bmp images. In the video example I use a .jpeg image and it still occurs.

Please let me know if there is a debug log, rendering backend setting, or test build I should try.

Ngôn ngữ chính
C++
Star
1.2k
Fork
305
Merge trung bình
3 ngày 2 giờ
Pull request đã merge (30 ngày)
11

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 KLayout/klayout

Tất cả issue của KLayout/klayout

Issue tương tự

Thêm issue về C++

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.