[Bug 4020] New: Invisible large graph view canvas

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Aug 15 19:33:50 CDT 2013


          Priority: normal
            Bug ID: 4020
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Invisible large graph view canvas
          Severity: bug
    Classification: Unclassified
                OS: All
          Reporter: diptongo at gmail.com
          Hardware: All
            Status: UNCONFIRMED
           Version: 2.7
         Component: hgweb
           Product: Mercurial

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

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Mercurial-devel mailing list