Highlighting across cells in a table breaks alignment

When I highlight *across cells* in a table in a snapshot, the alignment of cells breaks down.
You can replicate this issue by:

1) Go to http://brain.oxfordjournals.org/cgi/content/full/129/3/564/TBL1
2) Take a snapshot
3) View the snapshot
4) Highlight any text across cells, for example, from 'Brodmann (1909)' to '7 (7a, 7b)'

This problem appears in other webpages & translators too.

Zotero version: 2.0b6.3
Firefox version: 3.0.12
Operating System: Windows Vista Home Premium K SP1
  • edited July 30, 2009
    This sounds like a bug that I worked through back in January. Here's the ticket for the patch:

    http://www.zotero.org/trac/ticket/1306

    I don't know when it's likely to find its way into Zotero, but with this patch applied, I had no problems highlighting in the page you've linked -- it just works. If you're comfortable unpacking zotero.jar and applying patches to code, it should be safe to apply this to your currently installed Zotero as a short-term fix.

    Dan: I remember that the jitteriness of highlighting on pages with BR tags was pretty annoying. Is there a possibility of reviewing this patch in the nearish future? It doesn't have any collateral effects, it's pure bug-fix.
  • edited July 30, 2009
    Could you tell me how I can apply this patch? I tried as below, but the problem persists.

    1) unpack zotero.jar
    2) follow the ticket
    3) apply all the changes to annotate.js
    4) finish all Firefox sessions
    5) repack zotero.jar
    6) restart Firefox
    7) try highlighting across cells

    Thank you very much for the patch, anyway. ;)

    * what I changed was
    content/zotero/xpcom/annotate.js
    in
    chrome/zotero.jar .
    I'm not sure if this is the same as
    chrome/content/zotero/xpcom/annotate.js ,
    as described in the patch.. (maybe it is?)

    ** It's the first time I tried applying patch. Is there a better way to do this?
  • http://forums.zotero.org/discussion/5336/aggressive-highlighting-in-snapshot/#Item_9
This discussion has been closed.