Review Request: Fix hyperlink-activation in Tables

Sebastian Sauer mail at dipe.org
Thu Jul 7 13:47:12 BST 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101872/
-----------------------------------------------------------

Review request for Calligra, Marijn Kruisselbrink and Stefan Nikolaus.


Summary
-------

Sometimes hyperlinks are not proper activated (as in executed if you click on them so that Konqueror or your favorite Webbrowser surfs to the link or an executable is executed).

The reason for this are
a) The logic added with 3b274ee1f4bae850826d694b32885bcc1705dbc5 by Stefan Nikolaus on 2008-07-11 to prevent execution of the hyperlink if the mouse-cursor is not over the hyperlink's text was inversed and therefore wrong.
b) That logic tried to compare the relative to the cell defined coordinates of CellView::textRect with the mouse-position which is in absolute coordinates.

The patch fixes both cases.


Diffs
-----

  tables/ui/HyperlinkStrategy.cpp d35adaf 

Diff: http://git.reviewboard.kde.org/r/101872/diff


Testing
-------


Thanks,

Sebastian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20110707/d36e0d83/attachment.htm>


More information about the calligra-devel mailing list