1. Bitbucket
  2. Public Issue Tracker
  3. master

Issues

Issue #3893 resolved

Changeset view is corrupted and unreadable (BB-4118)

abudden
created an issue

Looking at this changeset on Mozilla Firefox 10.0.2 on Ubuntu Natty, I get a very corrupted and basically unreadable view. I've attached a couple of screenshots of the main view, but the side-by-side view is no better.

I've also tried this on Google Chrome and it's much the same.

https://bitbucket.org/abudden/taghighlight/changeset/4f1c65b0328b

Comments (10)

  1. abudden reporter

    Hi,

    I can't see any errors in Firebug, although I've never used it before, so I'm not sure where I should be looking. I opened up Chrome's javascript console and that reports an error (403 forbidden), so I guess it could be something to do with that.

    I've attached screenshots with firebug/console open of firefox and chrome and of the normal view in opera. I've also attached screenshots of the side-by-side view in each browser. Interestingly, the side-by-side view works in chrome and opera, even though the main view doesn't. In Firefox, neither works.

    In opera/chrome, it is only the doc/TagHighlight.txt that is corrupted (see chrome-scrolled-down.png). In Firefox, nothing looks quite right (see firefox-scrolled-down.png).

    Al

  2. Nicolas Venegas

    Hi Al

    I can explain why you're getting these problems, but since I'm yet to reproduce them (haven't tried reproducing under Ubuntu) can't yet provide a fix:

    For Firefox, it seems that the calculated width of the column that holds the line content is too wide, causing the content to wrap to the next line. This may be caused by the presence of scrollbars in the column that holds line numbers (those scrollbars should not render).

    For doc/TagHighlight.txt, an ajax request is necessary to get the contents of lines 1600–1700, and it seems you're getting a 403 error on that ajax request, which causes that diff to show up blank. Looking at the request headers for that ajax request (under the Network tab of Chrome's web inspector) may shed light on this.

    Cheers

    Nicolas

  3. abudden reporter

    I've tried disabling all of Firefox's add-ons, but that made no difference at all. I don't really know what else I can do.

    Chrome's web developer network tab displays the following:

    event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future.
    
    POST https://bitbucket.org/abudden/taghighlight/changeset/4f1c65b0328b 403 (FORBIDDEN)
    r.support.ajax.r.ajaxTransport.sendbundle.js:178
    r.extend.ajaxbundle.js:172
    q.loadbundle.js:1145
    q.ensureVisiblebundle.js:1152
    b.showVisibleLines_bundle.js:1199
    s.extend.proxy.Habundle.js:43
    r.event.handlebundle.js:84
    r.event.add.R.handle.habundle.js:77
    r.event.triggerbundle.js:82
    r.fn.extend.triggerbundle.js:96
    s.extend.eachbundle.js:40
    s.fn.s.eachbundle.js:33
    r.fn.extend.triggerbundle.js:96
    c.onScroll_bundle.js:1185
    s.extend.proxy.Habundle.js:43
    r.event.handlebundle.js:84
    r.event.add.R.handle.habundle.js:77
    r.event.triggerbundle.js:82
    r.fn.extend.triggerbundle.js:96
    s.extend.eachbundle.js:40
    s.fn.s.eachbundle.js:33
    r.fn.extend.triggerbundle.js:96
    d.onScroll_bundle.js:1194
    r.event.handlebundle.js:84
    r.event.add.R.handle.habundle.js:77
    
    event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future.
    
  4. abudden reporter

    Sorry: never used these tools before!

    Attached is a screenshot of the network tab with the 403 forbidden shown. Hope this helps.

    Is there anything further I can do to debug the Firefox issue? I rarely use Chrome....

  5. Anonymous

    I've got exactly the some problem with many code sections not loading. I found in error console in Firefox that I'm getting 403 errors on the POST requests too. I have never experienced these problems with bitbucket before. Maybe it started with the Firefox update to 13.0.0.1 about a month ago or so?

    I'm using Ubuntu Precise.

  6. Log in to comment