You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Multi select navigation state bug - to be discussed (#899) #1412
select a single list item and click on details menu item:
In case you hit the back button (or click on the arrow in the action bar), the selection mode gets disabled and you are still in the details screen. Imho this is only a not very nice detail and should be resolved automatically when #1275 gets approved and merged (since it removed the details menu item). So looping in @jancborchardt and @tobiasKaminsky
The blue lien isn't there ;) - The multiselection is basically a grey (kind of second action bar) hovering above the first one. So we will have to check if and how the bar can be themed/customized. If that is possible it shouldn't be to to big of a deal. But I never worked with the multiselect bar before.
Mmmm, I think the real problem is that the selection should not be there once the details view appears.
I mean, when the user selects one or multiple files and clicks "Remove", once the removal is finished the selection goes aways.
With the same pattern, if the user clicks "Details", once the details view is shown, the selection should go away too. The action requested for the selection was already done.
Hmm, tricky. Just checked GMail and the selection persists on actions that move away from the list and come back to it but removes the selection for the delete action since this also means all selected items are gone. Looking at our action I would start start with clear the selection when calling the action.
Clearing would also be what I expect since GMail's way of not clearing it usually confuses me 0_o
Just checked GMail and the selection persists on actions that move away from the list and come back to it but removes the selection for the delete action since this also means all selected items are gone.
And this is the proper way to do it. Actions which move away from the list have nothing to do with the selection. They might just be to check (details for example) or a simple misclick. Actions like deletion obviously clear the selection though, since it doesn’t exist anymore.
Just checked GMail and the selection persists on actions that move away from the list and come back to it
That's fine. Gmail keeps the selection when the user comes back, but the selection mode is not visible in any way while the user is "away" in the other view. In this issue the problem is that the selection mode is still visible while the user is not in the list - see the picture.
IMHO should be:
select a single item in list -> selection mode is visible
click "details", show details view -> selection mode is gone
click back, show list view -> selection mode is visible, same single item selected
After deep review: the only transition to a different view that is problematic is details view. In every other case, the selection is remembered when going back.
The bad new is that to implement the current behaviour of rotation in tablets when details view is visible we did some tricks that make harder remembering the selection when going back. Rewriting the tricks to have a code easier to update would be awesome, but I'm sure it will need a considerable amount of time.
There are plenty of things that discourage putting more effort in that detail for the moment:
We already spent a lot of time in multiple selection
The next release is getting late.
The selection will be of a single file; if multiple files are selected, there is no way to click on "details"; given the file name is in the title, requesting the user to "remember" which was doesn't seem to hard.
Given this, I will grant that selection mode is disabled when the transition to details is done, and let's see if we can live with this for now.
Activity
tobiasKaminsky commentedon Jan 9, 2016
Yeah, I think we can just wait for #1275.
updated for #1412
jancborchardt commentedon Jan 12, 2016
Yeah, probably just a non-issue as soon as the details screen is gone. The blue line I mentioned in #1434 would still be cool to fix.
AndyScherzinger commentedon Jan 12, 2016
The blue lien isn't there ;) - The multiselection is basically a grey (kind of second action bar) hovering above the first one. So we will have to check if and how the bar can be themed/customized. If that is possible it shouldn't be to to big of a deal. But I never worked with the multiselect bar before.
davivel commentedon Jun 13, 2016
Mmmm, I think the real problem is that the selection should not be there once the details view appears.
I mean, when the user selects one or multiple files and clicks "Remove", once the removal is finished the selection goes aways.
With the same pattern, if the user clicks "Details", once the details view is shown, the selection should go away too. The action requested for the selection was already done.
davivel commentedon Jun 13, 2016
Oh, I see. This happens with more commands, the action mode remains enabled after they are finished; for instance, select multiple files and download.
Don't you think would be better if the selection is cleared?
AndyScherzinger commentedon Jun 13, 2016
Hmm, tricky. Just checked GMail and the selection persists on actions that move away from the list and come back to it but removes the selection for the delete action since this also means all selected items are gone. Looking at our action I would start start with clear the selection when calling the action.
Clearing would also be what I expect since GMail's way of not clearing it usually confuses me 0_o
jancborchardt commentedon Jun 21, 2016
And this is the proper way to do it. Actions which move away from the list have nothing to do with the selection. They might just be to check (details for example) or a simple misclick. Actions like deletion obviously clear the selection though, since it doesn’t exist anymore.
davivel commentedon Jul 6, 2016
That's fine. Gmail keeps the selection when the user comes back, but the selection mode is not visible in any way while the user is "away" in the other view. In this issue the problem is that the selection mode is still visible while the user is not in the list - see the picture.
IMHO should be:
jancborchardt commentedon Jul 6, 2016
Ah ok. Yep, of course, should be like you described @davivel
davivel commentedon Jul 11, 2016
After deep review: the only transition to a different view that is problematic is details view. In every other case, the selection is remembered when going back.
The bad new is that to implement the current behaviour of rotation in tablets when details view is visible we did some tricks that make harder remembering the selection when going back. Rewriting the tricks to have a code easier to update would be awesome, but I'm sure it will need a considerable amount of time.
There are plenty of things that discourage putting more effort in that detail for the moment:
Given this, I will grant that selection mode is disabled when the transition to details is done, and let's see if we can live with this for now.
davivel commentedon Jul 11, 2016
This is now ready to test in #1176. Any opinion is welcome :)
mcastroSG commentedon Jul 12, 2016
Fixed
davivel commentedon Jul 12, 2016
Great, thx :)