Last tile in a row/column has a wrong size

Bug #1516239 reported by Stefano Verzegnassi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Document Viewer App
Fix Released
High
Stefano Verzegnassi

Bug Description

Tiles in the LibreOffice viewer are placed into a grid. Last items of a row or a column have an hard-coded size of 256x256px.
We currently assume that (documentSize.width % TILE_SIZE) is always zero, but that's not true.

We should check instead which is the size of the document still not covered by the last tile in the row/column and cover only that part of the document canvas.

See attached screenshot.

Tags: loviewer

Related branches

Revision history for this message
Stefano Verzegnassi (verzegnassi-stefano) wrote :
Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-docviewer-app at revision 202, scheduled for release in ubuntu-docviewer-app, milestone Unknown

Changed in ubuntu-docviewer-app:
status: In Progress → Fix Committed
Changed in ubuntu-docviewer-app:
status: Fix Committed → 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.