Skip to content

gui: fix Unable to find visible display control at Timing Path/* - #11061

Open
LucasYuki wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:gui-timing_path
Open

gui: fix Unable to find visible display control at Timing Path/*#11061
LucasYuki wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:gui-timing_path

Conversation

@LucasYuki

Copy link
Copy Markdown
Contributor

Summary

Closes #9391

Add a new method to register a renderer, so it's possible to find even if its parent is not active.

Type of Change

  • Bug fix

Impact

Now it's possible to use gui::set_display_controls "Timing Path/*" if the Timing report is closed.

Verification

  • I have verified that the local build succeeds (./etc/Build.sh).
  • I have run the relevant tests and they pass.
  • My code follows the repository's formatting guidelines.
  • I have included tests to prevent regressions.
  • I have signed my commits (DCO).

Related Issues

#9391

Signed-off-by: LucasYuki <lucasyuki@yahoo.com.br>
@LucasYuki LucasYuki self-assigned this Aug 4, 2026
@github-actions github-actions Bot added the size/S label Aug 4, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new method setRendererPaintingEnabled to toggle a renderer's active painting state without unregistering its display controls, ensuring they remain scriptable even when hidden. The review feedback suggests adding a null pointer check for the renderer parameter in setRendererPaintingEnabled to prevent potential crashes.

Comment thread src/gui/src/gui.cpp
@LucasYuki
LucasYuki marked this pull request as ready for review August 4, 2026 14:16
@LucasYuki
LucasYuki requested a review from a team as a code owner August 4, 2026 14:16
@LucasYuki
LucasYuki requested a review from maliberty August 4, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ERROR GUI-0013] Unable to find visible display control at Timing Path/*

1 participant