"Change all" function does not work as expected

Offen
#2,249 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
cpp
Bereich
desktop

Rechercherichtung

Reproduce the two workflows in KLayout 0.30.4 using the issue's array-instance steps, then compare how the Properties window handles rotation from the Instances pane versus a single instance with “Change all” checked. Start by tracing the property handling for those controls; the issue names no source files or tests. Done means both workflows update all instances in the same way.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Hi,

Reproduction steps:

  1. Create new layout and draw some kind of shape.
  2. Make cell drawn by step 1 shape.
  3. Make array instances. ex)3x2
  4. Select multiple instances and open property.
  5. 5-1: Select "Instances" from the left pane and change the Rotation value.
    5-2: With a single instance selected, check the "Change all" checkbox. Then modify the Rotation value.
  6. Click OK to close the Properties window.
Image

What happens:
In case 5-1, the changes will be reflected in all instances.
However, in case 5-2, the changes will only be reflected in the single instance that was selected before checking “Change all”.

Expected behavior:
Both 5-1 and 5-2 should perform the same operation.

Or, is my usage or understanding incorrect?

Versions:
App: Klayout 0.30.4
OS: Windows 11

Vorherrschende Sprache
C++
Sterne
1.2k
Forks
305
Ø Merge
3 T. 2 Std.
Gemergte PRs (30 T.)
11

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus KLayout/klayout

Alle Issues in KLayout/klayout

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.