harold92 / flying-saucer

Automatically exported from code.google.com/p/flying-saucer
0 stars 0 forks source link

SelectionHighlighter not compatible with ScalableXHTMLPanel #79

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
*** This issue was imported from http://java.net/jira/browse/XHTMLRENDERER-223

It was reported by cmarchand on 28.02.2008 10:46:32 +0100 and last updated in 
the previous bug tracker on 13.06.2008 16:48:23 +0200

Found in
Operating System: All
Platform: All

The priority for this issue at migration was Major.
The original issue had attachments to it; see comments below.

Original description: 
In ScalableXHTMLPanel, when scale is changed, selection coordinates are not
scaled accordingly. So selection zone is different than the locations clicked.

Attached a patch to solve this problem.

Christophe

Original issue reported on code.google.com by pdoubl...@gmail.com on 16 Feb 2011 at 9:52

GoogleCodeExporter commented 8 years ago
Attachment by pdoubleya on 20.03.2008 21:22:57 +0100:  
alice-selection-85pct-0320.png, size 170037 bytes
Download: 
http://java.net/jira/secure/attachment/27354/alice-selection-85pct-0320.png

Original comment by pdoubl...@gmail.com on 16 Feb 2011 at 9:52

GoogleCodeExporter commented 8 years ago
Attachment by pdoubleya on 20.03.2008 16:33:02 +0100:  alice.jar, size 86127 
bytes
Download: http://java.net/jira/secure/attachment/27353/alice.jar

Original comment by pdoubl...@gmail.com on 16 Feb 2011 at 9:52

GoogleCodeExporter commented 8 years ago
Attachment by cmarchand on 28.02.2008 10:47:23 +0100:  
ScalableSelectionHighter.patch, size 1981 bytes
Download: 
http://java.net/jira/secure/attachment/27351/ScalableSelectionHighter.patch

Original comment by pdoubl...@gmail.com on 16 Feb 2011 at 9:52

GoogleCodeExporter commented 8 years ago
Attachment by pdoubleya on 18.03.2008 20:51:24 +0100:  selection-85pct.png, 
size 55389 bytes
Download: http://java.net/jira/secure/attachment/27352/selection-85pct.png

Original comment by pdoubl...@gmail.com on 16 Feb 2011 at 9:52

GoogleCodeExporter commented 8 years ago
cmarchand wrote on 28.02.2008 10:47:23 +0100:
Created an attachment (id=47)
Patch

Original comment by pdoubl...@gmail.com on 16 Feb 2011 at 9:52

GoogleCodeExporter commented 8 years ago
cmarchand wrote on 28.02.2008 10:48:38 +0100:
Added nitsk@dev.java.net as CC

Original comment by pdoubl...@gmail.com on 16 Feb 2011 at 9:52

GoogleCodeExporter commented 8 years ago
pdoubleya wrote on 18.03.2008 20:50:38 +0100:
Applied patch, but problems still exist. See attachment, "alice.xhtml", scaled
at 85%. The SelectionHighlighter received a number of fixes since the patch was
submitted, and possibly for that reason we need another round of fixes here.

Original comment by pdoubl...@gmail.com on 16 Feb 2011 at 9:52

GoogleCodeExporter commented 8 years ago
pdoubleya wrote on 18.03.2008 20:51:24 +0100:
Created an attachment (id=50)
Alice.xhtml, 85% scale, after patch applied.

Original comment by pdoubl...@gmail.com on 16 Feb 2011 at 9:52