Bug 4020 - Invisible large graph view canvas
Summary: Invisible large graph view canvas
Status: RESOLVED ARCHIVED
Alias: None
Product: Mercurial
Classification: Unclassified
Component: hgweb (show other bugs)
Version: 2.8
Hardware: All All
: normal bug
Assignee: Bugzilla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-15 20:33 UTC by IsaacJurado
Modified: 2015-02-23 01:00 UTC (History)
2 users (show)

See Also:
Python Version: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description IsaacJurado 2013-08-15 20:33 UTC
Some browsers are unable to display very tall canvases.  The barrier seems to be around 32767 pixels in heigh [1].  Therefore, it is possible to make the graph dissapear from the graphlog view by specifying a reasonably large "revcount" parameter.

As the canvas size is calculated on the server side, there could be some check to truncate the revcount value to the largest number that keeps the size of the canvas within a drawable constraint.

[1] http://stackoverflow.com/questions/6081483/maximum-size-of-a-canvas-element
Comment 1 IsaacJurado 2013-11-01 22:25 UTC
I just checked the 2.8 release that adds infinte scrolling to the paper theme and this issue is even easier to reproduce: just keep scrolling until the graph disappears.

Log indentation is still preserved.
Comment 2 Bugzilla 2015-02-23 01:00 UTC
Bug was inactive for 478 days, archiving