Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close Window button stopped working (bad interaction with toolbarcontrol?) #21

Closed
JonnyOThan opened this issue Jul 18, 2024 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@JonnyOThan
Copy link
Member

probably when I added the unity gui thing.

@JonnyOThan JonnyOThan added the bug Something isn't working label Jul 18, 2024
@JonnyOThan JonnyOThan added this to the 1.1 milestone Jul 18, 2024
@JonnyOThan JonnyOThan changed the title Close Window button stopped working Close Window button stopped working (bad interaction with toolbarcontrol?) Jul 19, 2024
@JonnyOThan
Copy link
Member Author

JonnyOThan commented Jul 19, 2024

Actually this seems like a direct consequence of linuxgurugamer/ToolbarControl#21

The "close window" button only stops working if you try to hide the TUFX button with toolbarcontrol (which does NOT immediately hide the TUFX button - it only gets hidden on the next restart). But clicking "close window" goes through the toolbar API ToolbarControl.SetFalse(true) which seems to have no effect if the button was marked for hiding.

Interestingly, clicking on the toolbar button itself does still close the window.

@JonnyOThan JonnyOThan closed this as not planned Won't fix, can't repro, duplicate, stale Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant