-
Notifications
You must be signed in to change notification settings - Fork 360
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
Can't select rows via checkboxes anymore #884
Comments
It.. just came back?! |
oh, I know. If I manually select a span with click and slide the mouse, it works. But if I click on a span, press M, then click on the little triangles, the checkboxes don't show. They used to. |
Thanks for the clarification: I think then that change is somewhat intended. We were discussing internally that going from selection of an interval in the top bar -> area selection of tracks required a bunch of convoluted logic behind the scenes in the UI and was blocking improvements we want to make to how selection works. We figured it was a very rarely used feature (after discussing with a bunch of internal users) and so we decided to (at least temporarily) stop coupling the two and unblock the other improvements. In fact in the multiple weeks this change has been in autopush/canary, you are the first person to notice this :) @stevegolton is out this week but we can discuss when he is back if there's any way to bring it back easily in the post-refactoring world and/or some UX we can do to easily start an area selection from an interval selection. |
It's definitely convoluted, and I accidentally stumbled on this, but it's a core part of my workflow now :) . I just didn't have anything to dig in lately. The whole thing was definitely awkward, and even clicking the checkboxes on 8 CPU rows is very prone to error (if you mis click you lose the whole selection). The thing I really want is being able to select an exact span rather than manually have to click and drag, which requires zooming in a lot and getting the mouse select exactly right. The main two usages are:
|
We did indeed change this behaviour back in June (it probably only recently landed on the stable channel). I believe this was the commit. The main thing that changed is area notes (what you create when you press M) no longer store a list of tracks, they just represent a start and end time. This change was made, as Lalit already mentioned, so that we could make some improvements to the arcitecture surrounding selection, and this feature was deemed to be fairly low priority so unfortunately it got removed. What we still do have, and is a core feature of the UI, are are selections (this is what you create when clicking and dragging). Rather than making a span note, I think the feature you really need (correct me if I'm wrong) is a hotkey that allows you to turn the selected slice into an area selection. This would allow you to check the checkboxes. Here is a demo (currently bound to 'L'). As you noted the selection management (click anywhere and lose the selection) leaves something to be desired in the UX department. Improving this is on our list. |
Thanks @stevegolton for mentioning the new hotkey "L", UI: https://storage.googleapis.com/v47.0-2086bc583 Fully expanded statement
Trace: not available (ARRAY_BUFFER). Provide repro steps. |
This is a bug which has been fixed on canary and autopush but is not yet released to stable. If you switch to one of them, things should work. |
thanks @LalitMaganti for fast reply, but in current canary release, the feature under discussion "turning selected slice into an area selection" either by the hotkey "M" or "L" as in the new in this version is not working at all |
We landed the change [1] Steve was talking about in #884 (comment) but there was some bikesheddding about the exactly which hotkey we want to bind to so we landed it without the hotkey. It's accessible in the Command Palette: if you have selected something you can do Ctrl + Shift + P -> "Convert the current selection to an area selection" to get the same behaviour as the L hotkey in the demo Steve linked. |
I'm not sure when this changed but up until recently I was able to select a time span and then checkboxes would appear on every row, and checking those checkboxes would add tabs to the bottom sheet that shows "Current selection". This is a great way to figure out where we spend time in various states, as well as how long each process is running across CPUs during that time span, etc.
As of today, it looks like the checkboxes are gone, I can't select rows anymore.
The text was updated successfully, but these errors were encountered: