Transparency or saturation issue with image while adding landmarks on MacOS

Open
#2,355 6 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
cpp, macos
Domain
desktop

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
C++
Stars
1.2k
Forks
305
Avg merge
3d 2h
Merged PRs (30d)
11

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from KLayout/klayout

All issues in KLayout/klayout

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.