-
Notifications
You must be signed in to change notification settings - Fork 0
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
Widget disposed error on paste #31
Comments
I believe the issue is that when a FIleManagerEditor was being disposed of, it'd dispose of the FileClipBoard. @ingomohr have you run into this issue before by any chance? |
@AObuchow No, not yet. I haven't checked the code yet, but maybe the FileClipBoard is bound to the dispose-listener of the FIleManagerEditor (if it has some). |
@ingomohr yes that was the issue :) now I just have to find out when/how to properly dispose the clipboard |
IRC we dispose the Clipboard right away everytime we use it. For that I wrote a util class to e.g. push a StructuredSelection to the clipboard - using some Maybe, there's a better option for this (the class is really old) - but it's working. |
While testing out Sample Commadner on windows, I got the following stacktrace in the problem view.
Seems the clipboard got disposed
The text was updated successfully, but these errors were encountered: