-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Last selected styling #881
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
Conversation
Note that it is at it is in excel to be able to visualize the head of the selection, Libre office does the opposite with the anchor being white (or vice versa). (and also I find that ugly but it's irrelevant). |
Selection have
(might be inverting Excel and LibreOffice, but whatever) There is no reason to adopt one more than the other. |
I am -1 on this Sent from my iPhone
|
The difference is that some action do behave differently in multiple selection. If you take microsoft example, the head is style differently with multiple select (IIUC) when it's blue and have a special corner, while it's white with only 1 cell selected. I think it also make it much harder to convey some ideas. In your screenshot of excel the selection has a nice border, which make it obvious "what is selected". While our border is only around that head. So I think that in your proposal the white background+border make a too huge difference. We can though refine for 5.0, but changing now after many weeks on the old style is too risky. |
(bumping as 5.0 to keep playing with possibilities) |
Yes, I was not expecting this to get in for 4.1. Btw, the loop on the cells is done with |
ce7bb93
to
f77fec7
Compare
I'm still -1 on this look. |
I like it quite a bit after working with it daily in teaching. What specific parts (or all) are you not liking? On Mon, Feb 8, 2016 at 12:46 PM, Matthias Bussonnier <
Brian E. Granger |
|
Brian E. Granger |
Screenshot at top of this thread. |
Here are 2 screenshot of this PR. Which one have multiple cells selected. Here is master, which one has multiple cells selected : Telling to user "Just scroll" is not a solution you can be a presenter facing 200 people who are trying to follow what you are doing. Or it can be a screenshot in a book. Needing a user to do any action to know in which state he is a strong hint something is wrong. I won't bother with a Gif that show that Shift-J and J looks identical when going through a notebook. So no the current white selected cell style is not acceptable. |
I don't think that the argument of knowing whether there are other cells selected holds as explained earlier: in your screenshot, you also don't know if the cell is 20 times longer than the screen hight or not, and it is ok. |
No the cell is not changing length when it is out of screen. The selection state can. I just show a case where you cannot distinguish, so I just give one argument against this case. But right now the curent state only have drawbacks for users. |
Well, I thought we could always discuss :) Although my argument was that making a selection of a single cell a special case gives the impression that something modal is going on. Btw, even with the current behavior in master, you can come up with cases where you don't know if there are 2 or more cells selected... The one-cell case is not special IMO. |
ok, yes we can always discuss, but here I dont' see any advantages, and only disadvantages. I might be missing something. |
f77fec7
to
1241f2d
Compare
Thanks @SylvainCorlay for working on that. THe discussion has stopped for a few month, so I'm going to close that to keep the PR queue short. I'll marked it with the "Closed PR" label so that we can easily reopen it/find it if needed. |
Opening the PR since I had the branch hanging around wrt multi-selection styling after the discussion on gitter with @ellisonbg . The goal to not make the case where a single cell is selected a special case.
This makes it a bit more similar to excel:
And it also simplifies the code.
cc @cameronoelsen @Carreau