Skip to content

AttributeError due to use of non-existent visibility attribute on QLabel #241

@arhowe00

Description

@arhowe00

Commit 5c7c514 introduced the following error at runtime:

AttributeError: 'visibility' does not exist on QLabel and creating new attributes on C++ objects is not allowed

This is caused by replacing .hide() / .show() calls with assignment to a non-existent .visibility attribute on Qt widgets. Since these are C++-backed objects, arbitrary attribute creation is not allowed.

Action:

Reverting the commit. Correct approach should use .setVisible(enforced) or .show() / .hide() as needed.


Traceability Information:

This information was populated automatically by a script on 2025-06-09T18:05:04Z.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions