-
Notifications
You must be signed in to change notification settings - Fork 21
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
Publish Action Triggers Undo Command #421
Comments
This has nothing to do with the plugin, please report to Rider issue tracker. |
I'm not certain whether this issue is caused by Rider or the plugin itself. I've observed that the problem occurs during the execution of WriteCommandAction. Specifically, during one of the calls to WriteCommandAction.runWriteCommandAction, an exception is thrown inside com.intellij.openapi.command.impl.UndoManagerImpl.getClientState, namely: com.intellij.openapi.progress.CeProcessCanceledException: kotlinx.coroutines.JobCancellationException: Job was cancelled; job=SupervisorJobImpl{Cancelling}@55f21370 This exception is caught in com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand, which then leads to an undo being triggered in com.intellij.openapi.command.impl.CommandProcessorImpl.finishCommand. see Line 130 in a3ad0fc
|
That's interesting. Could you please show the stack trace? We don't need write action in there too much, so it's possible to get rid of it. |
RD-242.20224.284 Stack Trace Triggering the Undo:
Exception Information with Stack Trace:
|
Thanks! This is something I can work with. Indeed it looks like something's been triggered by the Avalonia plugin. |
Having the same issue, at least for now I have the plugin disabled waiting for a possible fix. |
This same thing is happening when running an Avalonia Cross Platform application (but not an Avalonia MVVM application). I can disable the plugin, and the undo actions stop when I build the application. |
When performing the publish action in Rider, it triggers an undo command.
Rider Version: RD-242.20224.431
Plugin Version: 1.4.0
Steps to Reproduce:
Observed Behavior:
Expected Behavior:
Additional Information:
The text was updated successfully, but these errors were encountered: