-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
[Insiders] Search viewlet click/dblclick behavior changed -- not in a good way #24717
Comments
I fixed the doubleclick issue, but I'm not sure about the first issue. I see it activate the editor with the result file, but focus stays in the search results, which is what I expect - I might want to click on a result, then use the arrow keys to navigate in the search results. Did it ever work differently? |
@roblourens looking at this more (for the single click issue) I only had I do still find it a little odd, that if you have 2 columns: | Tab If If If In all cases the focus still stays in the search viewlet. 👍 IMO it would be best if all of these cases behaved the same -- switch to the correct tab, and make it the active editor. Switching the active editor in all cases would help, again imo, with knowing which tab I should actually be looking in -- the active line highlight is much more subtle than the tab highlight (and I assume it could even be turned off) |
Ok, I see the problem. That does seem inconsistent. Here's a gif of the first issue -
The match in completionModel.test.ts is revealed, but you can see that typescriptServices is still the active editor, from the color of the tab title. @sandy081 I don't know whether this is a regression, but do you know whether we can set completionModel.test.ts to be the active editor in this case? We set |
FWIW -- with |
@roblourens thanks for fixing the double click issue.. It was caused due to the refactoring. Regarding focussing active editor, it is not a regression from Search functionality but agree behaviour is not correct and have to make the focus editor active. @bpasero Please see the GIF from @roblourens in above comment. May I know, why is not editor group with
|
@sandy081 we only set it active when focus moves to it (so |
Please stay away from changing that behaviour. IF you click into a viewlet with the mouse. DO NOT move focus away, otherwise you will BREAK keyboard accessibility (+ any UX guideline that exists). If the issue is about making the editor active or not, then yes, it should become active, but not focused. |
Yeah, I shouldn't have said focused. For me it is about it being active. |
Yeah the only change is to activate the group. I can still
|
FYI I have
"workbench.editor.revealIfOpen": true
setSteps to Reproduce:
A single click used to activate/focus the editor if it was already open or open a preview tab if not. While a double click used to both activate/focus and pin the editor if it was already open or open a pinned tab if not.
My guess is it has to do with the changes in this commit a079ef1
/cc @sandy081
The text was updated successfully, but these errors were encountered: