-
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
[CLOSED] Tree context menu behaves unpredictably while naming new file #4337
Comments
This was originally reported via a blog comment |
Actually, we should just finalize the rename on right click -- similar to #3720. |
I tested putting a listener on the context menu to force the rename to finish. It does work, but the behavior is a bit odd. The context menu appears and the rename is forced to finish, but then the renamed file receives focus and the context menu suddenly disappears. This odd behavior is being caused by issue #1910. If we are going to use a forced rename finish as a solution, issue #1910 needs to be fixed first. |
I tested my fix for this after applying my fix for issue #1910 and it works really well. Once we get the #1910 fix merged, I will submit a pull request with a fix for this issue. |
|
FBNC |
Sorry, forgot to assign this. |
|
|
I checked Sprint 32, which was about the time I submitted my original fix. In that Sprint I cannot reproduce the original issue nor the new issue. Since then, we introduced the animated drop down menus and I think this new issue is associated with the animated menus. Looking for input on next steps. I suggest you try to reproduce this issue using your original steps and, if you cannot, we close this issue as fixed. Then, I can file a new issue on the "appear then disappear" menu problem and I can work on fixing that issue. |
In the new file tree/ProjectManager implementation it's working differently. Right click in the edit field will abort the create operation and show the context menu. Now you can select any operation from the context menu, which result in an error for some operations. |
I'll fix this because it shouldn't be misbehaving like that. Should be a quick fix. |
This is fixed in release 44. We're now finalizing renaming if you right click in the input field. Closing. |
Wednesday Aug 07, 2013 at 19:25 GMT
Originally opened as adobe/brackets#4693
Delete & Show in OS apply to the previously selected file -- so you can delete the wrong file by accident.
The other menu items finish creating the file, then do nothing (except for Refresh, which actually does refresh the tree after creating the new file).
To avoid confusion, we should probably just ignore right clicks and block the context menu from appearing while naming/renaming is in progress...
The text was updated successfully, but these errors were encountered: