Skip to content

Fix runtime error#450

Merged
schnz merged 1 commit intomasterfrom
fix-runtime-err
Feb 14, 2026
Merged

Fix runtime error#450
schnz merged 1 commit intomasterfrom
fix-runtime-err

Conversation

@schnz
Copy link
Copy Markdown
Member

@schnz schnz commented Feb 14, 2026

For an unknown reason, runtime instances of the TextButton class are unable to access private fields/methods. Dispite them working as expected, this commit resorts by exposing all class fields/methods to the outside.

JS ERROR: TypeError: can't access private field or method: object is not the right class
set active@file:///home/vsx/.local/share/gnome-shell/extensions/gTile@vibou/ui/overlay/TextButton.js:28:9

For an unknown reason, runtime instances of the TextButton class are
unable to access private fields/methods. Dispite them working as
expected, this commit resorts by exposing all class fields/methods
to the outside.

JS ERROR: TypeError: can't access private field or method: object is not the right class
  set active@file:///home/vsx/.local/share/gnome-shell/extensions/gTile@vibou/ui/overlay/TextButton.js:28:9
@schnz schnz merged commit c17af54 into master Feb 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant