-
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] Right-click menu issues #5848
Comments
|
|
(hm, maybe I should have created separate issues now that I see how this disussion is going... apologies) |
However, it looks like you are using the other Themes extension. There's a lot of common code between these two extensions, so maybe the developer there can figure out the solution and we can get it fixed in both extensions. Also, you can confirm that this issue is caused by Themes by removing Themes and seeing if the problem is still there. Pretty sure the extension is causing the problem you are seeing though. |
|
Another option is to use middleclick, because that's not assigned to anything yet (or so it seems), while tripleclick is. Although not nearly all pointing devices have a middle mouse button (think touchpads, designer tablets, trackballs). Hm... |
Why exactly is Brackets imposing weirdo functionality (other than opening the contextual menu, which would be sane and expected on all platforms) when you right click? For instance:
I am running the most up to date master version as of tonight, so maybe it's not doing this in the current sprint release? Because contextual menu right click is nearly universal, Brackets should not edit the file automatically in any way, which also messes up any Extensions that might want to use that contextual menu. This bums me out man.
|
It doesn't seem to happen on every file I try it on but I can definitely repro it on some files. Would you mind filing a new issue on it? I will play around with it today also and see if I can figure out what the heck is going on. |
I am debugging this issue right now... I noticed that documents are marked as modified when right clicking on them as well. The issue is really happening in what CodeMirror does when setting the theme. There is really nothing that Themes is doing to interject in the click event handling directly. But events are getting blocked under some circumstances when a theme is set in CodeMirror. Hopefully I will come up with something to resolve this issue soon enough. |
I can reproduce the new issue reported by Update: This new issue is not in sprint 38, it is only in master with recent CodeMirror update. Thanks |
|
Ok, just to be clear, I am debugging the issue where the menu does not disappear... But yes, the issue with the cursor moving to the end of the word and stuff is definitely another issue. |
|
File your issue with the hyphen as one issue and make sure to include a link to the CodeMirror issue that And, yeah, if you can get good repros on the other issues (not including the issue that |
MiguelCastillo/Brackets-Themes#9 But the other two, if you have good repros, please file them separately. |
|
To summarize, issues discussed in this issue: MiguelCastillo/Brackets-Themes#9 I am going to close this issue since all of its components are now addressed by other issue reports.
|
Thursday Jan 09, 2014 at 16:30 GMT
Originally opened as adobe/brackets#6430
First of all, the right-click menu (in the code editor) does work. But making it disappear does not :)
The only way to make the right-click menu disappear is to select an item, but left-clicking somewhere else does not make it disappear (which is very odd, because that's default Windows behavior...) Hitting Esc does make it disappear, so there is a way at least.
Also the right-click menu needs waaaay more options. I would suggest to copy over some of the most frequently used items from the Edit menu.
Another thing is when no text is selected, it automatically selected a word or whole line, which may inflict confusion when dismissing it after accidentally opening it, and carrying on editing (that selection would be overwritten by mistake). A context menu should not select text - if the items require that, then disable them if no text is selected.
/edit
Just noticed this not-wanting-to-disappear issue also goes for the right-click menu on files. But not for the menu bar at the top.
The text was updated successfully, but these errors were encountered: