View Issue Details

IDProjectCategoryView StatusLast Update
0009678MMAPlaylistspublic2012-10-25 19:15
Reporterrusty Assigned To 
PriorityurgentSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version1.0.1Fixed in Version1.0.1 
Summary0009678: Playlist and NP list scrollbar conflicts with track handles
DescriptionThe scrollbar that appears when scrolling through the NP list and Playlists is different from the regular Android scrollbar. Instead of appearing at the edge of the list, it:
a) is superimposed on top of the track handles (that are used to drag and drop tracks)
b) has a handle that upon attempting to use it, causes existing tracks to get moved (i.e. even though the scrollbar is superimposed on top of the handles, it has no effect re. scrolling).

The simple solution would be to use the standard android scrollbar.
TagsNo tags attached.
Fixed in build37

Relationships

related to 0009636 resolvedmarek D&D problems 
related to 0009777 closedjiri Better usage of space in playlists (empty space on the right side) 
related to 0009887 closedmarek Fast Scroll bar conflicts with selection checkboxes 
related to 0009392 closedmarek Using scrollbar for scrolling => weird results 
related to 0008629 closedmarek Larger draggable scrollbars 
related to 0009812 closedmarek Scroll bar doesn't display correctly on some devices 
related to 0009858 resolvedrusty Scroll bar is missing on NP/Playlist views on some devices 

Activities

jiri

2012-09-10 14:17

administrator   ~0031884

We use the same scrollbars in all view. I think that we should rather hide the d&d handles when scrolling is in progress (or at least don't use them). For this purpose

public void setOnScrollListener (AbsListView.OnScrollListener l)

method could probably be used. Some more info about it: http://stackoverflow.com/questions/1768391/how-to-detect-android-listview-scrolling-stopped

rusty

2012-09-10 17:01

administrator   ~0031893

Note: the scrollbar with the 'handle' on it really only does appear sometimes--only when the tracklist is rather large. BUT even then, it doesn't appear consistently--it appears on a Nexus 7 (jellybean) device, but for a similarly-sized playlist on a Gingerbread phone, the standard scrollbar (without the handle) shows up.

rusty

2012-09-21 15:55

administrator   ~0032123

Note: a similar problem occurs in Multi-select mode. Any attempt to grab the scrollbar (which appears on top of the checkboxes) results in items being checked instead of the scrollbar being selected.

marek

2012-09-26 16:42

developer   ~0032202

Last time I spoke with Matej, he asked me why the handlers aren't on the left side. Well it is true that it is quite common (according to other apps). So I want just suggest to move the handlers to the left side and solve all issues with this.

It has an advantage that users don't have to wait on scrollbar's disappearing.

Re. scrollbars:

Scrollbars are pure system thing. Only Android manages them. We are only able to override the styles.

Standard scrollbar is the thick grey line. It can be styled in all versions of API. So it is styled according to our design.

Fast scrollbar is an optional scrollbar mode that was added according to http://www.ventismedia.com/mantis/view.php?id=8629. This scrollbar is applied when list is too long so users can scroll faster. The appearing of this scrollbar is managed by system. This scrollbar is stylable only since version 3.0. So there is Android's default grey box in earlier versions. In newer versions, the scrollbar is styled according to our design.

I tried to reproduce the problem with checkboxes in contextual mode but works fine for me. Every time I grab the scrollbar.

jiri

2012-09-26 20:16

administrator   ~0032209

Ok, let's move it to the left side.

marek

2012-09-26 21:46

developer   ~0032212

Fixed in build 37

rusty

2012-10-11 01:57

administrator   ~0032406

Last edited: 2012-10-11 02:54

I'm not that keen on the grab handles being on the left side(it's more usable for righties to have it on the right side), but we can worry about that in the future. I would have preferred a solution that retains the handles on the right, and allows the scroll handle to override the track handles.

But in the meantime, I can't verify this issue because it seems that the scrollbars are completely removed in Gingerbread (in NP and Playlist views).

jiri

2012-10-11 14:33

administrator   ~0032433

Yes, handled to the right would probably be slightly more usable, however it seems that we are unable to control scrollbars to the level needed.

And no, I don't think scrollbars were removed, I have them. It's just that Android doesn't show the 'fast' scrollbars until there's enough items in the list, I guess that something like >30 is needed.

rusty

2012-10-11 15:19

administrator   ~0032436

Last edited: 2012-10-11 15:21

I have 1000+ tracks (Now Playing>List or Playlist views) and the scrollbar doesn't appear.

Tested build 42 on GB.

Edit: it seems that the scrollbar appears briefly and then disappears for my 1000+ list. When I use a smaller list of e.g. 50 items, the scrollbar does appear.

jiri

2012-10-12 14:19

administrator   ~0032479

Assigning to Rusty to review whether any app shows the fast scrollbar differently than MM on that device.

rusty

2012-10-12 16:36

administrator   ~0032481

Upon further examination, the problem with the missing scrollbars in GB phone device is specific to the Now Playing and Playlist > <Playlist> views.

All other views use the standard scrollbar that's normally used on small format screens (thin line to the right with a transparent handle that appears for fast scrolling).

Maybe marek fixed this in 0009777 ?

jiri

2012-10-12 20:19

administrator   ~0032496

I can't reproduce on my Nexus One 2.3.6. And no, 0009777 was a different fix.

Assigning to Marek to review, we'd need to defer if he has no idea...

marek

2012-10-14 01:04

developer   ~0032534

Also cannot reproduce on CM7 2.3.7. Playlist has about 2500 tracks

I tried build 35 and 45

rusty

2012-10-14 19:54

administrator   ~0032551

Last edited: 2012-10-14 19:54

I tested build 45 (with views that would display 1000 tracks), and the issue persists in those two views (Playlists and Now Playing lists do _not_ show a scroll handle) in contrast to all other list views which do.

Is MMA handling those 2 views differently in some way? Is there any additional information that I can provide to help resolve this?

marek

2012-10-15 07:17

developer   ~0032560

Yes, these two options are processed differently than others. They have handlers and support drag and drop. So they are different.

This issue might be API specific. Can you please write me version of your GB ? I can try to find it for my phone.

I went through the code and it looks fine. And it looks it works well on most devices.

rusty

2012-10-15 22:02

administrator   ~0032578

I'm running Android 2.3.4.

marek

2012-10-21 05:26

developer   ~0032695

I tried it many times on Android 2.3.3 (there are no big differences). This is the nearest version of API I can test but it doesn't happen to me. Maybe it is happening only on this device / branded system.

rusty

2012-10-21 13:36

administrator   ~0032697

Tagging as resolved. I'll open a low priority issue that's sepecific to the NP/Playlist problem.

rusty

2012-10-21 20:49

administrator   ~0032701

Verified 48.