-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Clicking on any disabled tab-toolbar item throws an error. #8035
Comments
Ohh, clicking on any disabled toolbar item throws an error. |
Clear Search Results
throws an error when I click on the disabled toolbar item
I've noticed the error before, it occurs when clicking a disabled toolbar item. |
We should not serialize random args here: https://github.com/eclipse-theia/theia/blob/master/packages/core/src/common/command.ts#L298 Just drop args. |
Why don't we rebind |
It's not just about whether we drop the args or not, but why does the command handler run when it is disabled? |
Closes #8035 Signed-off-by: Akos Kitta <[email protected]>
I don't think it's meaningful to log widgets. |
Sure, but it has a type or |
I think command id is good enough. It is not first time when we see such exceptions i would prefer to remove it.
this, i agree, your PR looks good |
OK.
Alright. Let's do that. |
Bug Description:
Steps to Reproduce:
Additional Information
The text was updated successfully, but these errors were encountered: