Skip to content

Multiselect header glitch #1434

Closed
Closed

Description

@jancborchardt

The multiselect header has a strange horizontal blue line in there.

Also, when multiselecting one file and then going to »Details«, the header is still in multiselect mode. Should be normal though, since in that view there is no multiselection.

Activity

  1. AndyScherzinger commented on Jan 12, 2016

    @AndyScherzinger
    Contributor

    the details part is a duplicate of #1412 which shouldn't be a bug in case #1275 gets merged sometime.

  2. tobiasKaminsky commented on Jan 19, 2016

    @tobiasKaminsky
    Contributor

    @AndyScherzinger can you help me with the blue horizontal line?
    I suspect this comes from the "account update progress bar"?

  3. AndyScherzinger commented on Jan 19, 2016

    @AndyScherzinger
    Contributor

    I can have a look, sure. The glitch should be in part because of the progress bar, but for some reason there is also a part visible from the action bar... Which is weird.

  4. AndyScherzinger commented on Jan 19, 2016

    @AndyScherzinger
    Contributor

    I fixed the coloring bug regarding the light blue line, but of course the dark blue one is still there since that is the progress bar as Tobias mentioned already. In order to properly fix this we would need to move to the toolbar implementation since that one can be customized with additional UI elements been added, but never got it to work properly for drawer/back/home navigation since the fragments seemed to fire two events which irritated the navigation bar's state. So to move to the toolbar which I would love we would need a collaboration with @davivel / @masensio and I am unaware of the time they could spent on tracking toolbar issues regarding fragments.

    For review - changes on the multi select branch can be found here: 2396355

    So is this fine for now @jancborchardt ? - Please also let me know if the grey color is fine with you :)
    actionmode

  5. AndyScherzinger commented on Jan 19, 2016

    @AndyScherzinger
    Contributor

    @jancborchardt please ignore the checkboxes, they will be in the new design whenever the branch gets updated to latest master.

  6. AndyScherzinger commented on Jan 19, 2016

    @AndyScherzinger
    Contributor

    I moved from the dark grey to a lighter grey since the dark grey for the action bar coloring since the dark grey would be rather Holo style (Android 4.x) while the light grey is more common in material styleed app, like Gmail.

  7. AndyScherzinger commented on Jan 19, 2016

    @AndyScherzinger
    Contributor

    Screenshot with change merged to the beta branch, running on Android 4.0.x
    device-2016-01-20-004758

  8. AndyScherzinger commented on Jan 19, 2016

    @AndyScherzinger
    Contributor

    So for explanation: The action mode hasn't been themed (before my last commit) and the style was Holo based and is now Material style based. So it should be fine, that dark blue line (as in progress bar) should be postponed as mentioned before.

    Sorry for all the comments...

  9. jancborchardt commented on Jan 20, 2016

    @jancborchardt
    ContributorAuthor

    @AndyScherzinger it seems to be a different grey color than before though, a lighter one?

  10. AndyScherzinger commented on Jan 20, 2016

    @AndyScherzinger
    Contributor

    @jancborchardt exactly! Like I said I have chosen a light one, which seems typical for material design apps (see e.g. Gmail). I will change the coloring a bit and post a new screenshot but would suggest to stay with a light grey instead of a dark one to have a contrasting color for the standard, dark blue.

  11. jancborchardt commented on Jan 20, 2016

    @jancborchardt
    ContributorAuthor

    I’m not sure, for several reasons:

    • seems too much of a contrast to the default dark color
    • too much of a contrast to the system bar above it
    • too little contrast to the text

    Also, there is still this dark line (loading bar?) below the bar which still makes it look strange. Can we get rid of that?

  12. AndyScherzinger commented on Jan 20, 2016

    @AndyScherzinger
    Contributor

    @jancborchardt small optimization I just added for Lollipop and up, also greying out the system bar 😄
    device-2016-01-20-154127

    Unfortunately getting rid of the progress bar like I said would only be possible when we integrate it into the bar itself and in order to do that we would need to migrate to the toolbar implementation, which I yet failed to get to work properly :(

  13. AndyScherzinger commented on Jan 20, 2016

    @AndyScherzinger
    Contributor

    So, simply said, we cannot get rid of the dark blue line except for one solution I can think of right now which would be to use the dark blue color (system bar and progress bar) when the multi select mode gets activated, so the progress bar then has the same color 😉

  14. AndyScherzinger commented on Jan 20, 2016

    @AndyScherzinger
    Contributor

    One more thing, the progress bar actually gets animated in some situations (!), when y sync is running and you trigger the mulstiselect at that moment... So still showing the progress (bar) makes sense to me.

  15. jancborchardt commented on Jan 20, 2016

    @jancborchardt
    ContributorAuthor

    Looks much better now! :) 👍

  16. AndyScherzinger commented on Jan 20, 2016

    @AndyScherzinger
    Contributor

    W00t! So can I commit and close the ticket then 😃 Beware though that the grey system bar is Lollipop and up, since 4.x doesn't support coloring the system bar...

    So 4.x would look like this:
    device-2016-01-20-164547

  17. AndyScherzinger commented on Jan 20, 2016

    @AndyScherzinger
    Contributor

    commit for the grey system bar coloring: 8b22a06 - also pushed to the beta branch

  18. jancborchardt commented on Jan 20, 2016

    @jancborchardt
    ContributorAuthor

    Yup, that’s fine. Good work!

  19. AndyScherzinger commented on Jan 20, 2016

    @AndyScherzinger
    Contributor

    Fixed in #1176
    related commits:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions