thumb: switching to thumbnail mode results in negative zoom percentage

Bug #549170 reported by mangtronix
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Internet Archive BookReader
Fix Released
High
mangtronix

Bug Description

When switching to thumbnail mode it is possible to end up with a negative zoom percentage.

To reproduce:
1. Load http://www-mang.archive.org/stream/bokeofsaintalban00bernuoft#page/n5/mode/2up
2. Switch to thumbnail mode by clicking the icon
3. See zoom readout show "Zoom: -0.41%"

Expected behaviour:
Switching to thumbnail mode the first time should result in the default number of thumbnail columns (currently 6) being displayed. The percentage should match with the size of the thumbnails.

mangtronix (mang)
Changed in bookreader:
assignee: nobody → mangtronix (mang)
importance: Undecided → High
milestone: none → r23
status: New → Confirmed
Revision history for this message
mangtronix (mang) wrote :

When coming from 2up as initial mode we were requesting the width of BRpageview div before it was created.

Changed in bookreader:
status: Confirmed → Triaged
Revision history for this message
mangtronix (mang) wrote :

Looks like there may be another way to trigger this. Reopening.

Changed in bookreader:
status: Triaged → Confirmed
Revision history for this message
mangtronix (mang) wrote :

Please ensure that you don't see a negative zoom percentage at any time.

Changed in bookreader:
assignee: mangtronix (mang) → Winnie (winnie-archive)
status: Confirmed → Triaged
Revision history for this message
Winnie (winnie-archive) wrote :

Reproduced using above steps. Expected behavior occurs.

Changed in bookreader:
assignee: Winnie (winnie-archive) → mangtronix (mang)
mangtronix (mang)
Changed in bookreader:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.