KTPhotoBrowser icon indicating copy to clipboard operation
KTPhotoBrowser copied to clipboard

"n of m" can show the wrong value

Open henrik opened this issue 15 years ago • 3 comments

Not sure yet exactly how to reproduce consistently, but if I view image 1/4 large, then let the menu bar hide, then drag my way to 2/4 and then 3/4, and then show the menu bar again, it will often display "1 of 4" instead of "3 of 4".

Been able to get the same effect starting at 2/4 and paging to 4/4.

Will have a look at it.

henrik avatar Mar 26 '10 23:03 henrik

It's not just the title, by the way: the arrows in the toolbar will reflect the shown number. So if it shows "2 of 4" when you're actually at photo 4/4, there will be an enabled right-arrow that does nothing.

henrik avatar Mar 27 '10 00:03 henrik

I tried to recreate the problem but haven't been successful yet. I take a better look in a few days.

kirbyt avatar Mar 27 '10 12:03 kirbyt

This is in the 3.0 simulator, by the way, built from Xcode 3.2.

I had a theory it might have to do with tapping before the scroll has come to a completely stop, but it might be something else entirely, since I can't get it consistently when I show the menu bar before deceleration completes.

henrik avatar Mar 27 '10 12:03 henrik