Links near together - wrong link is activated

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

jphilipp
User
Posts: 27
Joined: Mon Mar 29, 2010 9:07 am

Links near together - wrong link is activated

Post by jphilipp »

I have a PDF with many links near together. In PDF-XChange the clicking area is some pixel greater than the link rectangle. So the clicking areas of two links are overlapped. If I click in the lower part of a link, then the link below is activated.

I have attached an example: In PDFXC-Links2.gif the finger of the mouse cursor is over "103-2356", but the wrong link below "103-2357" is activated.

You can try it with Test-Links.pdf.
You do not have the required permissions to view the files attached to this post.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17958
Joined: Mon Jan 12, 2009 8:07 am
Location: London

Re: Links near together - wrong link is activated

Post by Tracker Supp-Stefan »

Hi again jphilipp,

Hmm with a small zoom level it really seems like they are overlapping and it's a bit hard to click the correct one, while with a more comfortable zoom that allows me to distinguish them I was not able to make it click on the "wrong" one.

Will pass this ti the dev guys so they can have a look.
jphilipp
User
Posts: 27
Joined: Mon Mar 29, 2010 9:07 am

Re: Links near together - wrong link is activated

Post by jphilipp »

Thank you.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17958
Joined: Mon Jan 12, 2009 8:07 am
Location: London

Re: Links near together - wrong link is activated

Post by Tracker Supp-Stefan »

Hello jphilipp,

After discussing this with the development team the "problem" is this:
When determining whether the mouse pointer is over an annotation we are using a bit wider area than the actual dimensions of the annotation - this is causing a problem in your case with the small links close together but is really valuable when trying to target a line or a rectangle without fill colour. This behaviour is there in an attempt to ease and increase precision when working with annotations in our Viewer, so it is unlikely to get "fixed" as it will cause more trouble in more situations than the one it will fix.

Sorry it's not great news but if you zoom up a bit (Ctrl + mouse wheel up) you should be able to target the correct link in it's middle as this "extra" space is just one pixel wide and remains one pixel no matter the zoom level.

Best,
Stefan
jphilipp
User
Posts: 27
Joined: Mon Mar 29, 2010 9:07 am

Re: Links near together - wrong link is activated

Post by jphilipp »

Hello Stefan,

I want to integrate your ActiveX Viewer plugin into our order application, so our customer can scroll through the catalogue and click on part numbers. But I'm afraid, that our customer sometimes click on the wrong part number.

I already tried to reduce the size of the link rectangles. But this works only for one zoom level.

It would be nice, if I could disable this feature in the ActiveX plugin.

Best regards,
Joerg.
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2353
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: Links near together - wrong link is activated

Post by Vasyl-Tracker Dev Team »

Hello, Joerg.

We will try to fix this issue in the next build.

Best
Regards.
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
jphilipp
User
Posts: 27
Joined: Mon Mar 29, 2010 9:07 am

Re: Links near together - wrong link is activated

Post by jphilipp »

Hello Vasyl,

thank you, that would be great.

Best regards,
Joerg.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17958
Joined: Mon Jan 12, 2009 8:07 am
Location: London

Re: Links near together - wrong link is activated

Post by Tracker Supp-Stefan »

:)
jphilipp
User
Posts: 27
Joined: Mon Mar 29, 2010 9:07 am

Re: Links near together - wrong link is activated

Post by jphilipp »

Hi,

I tried the new version, but I have still the problem with link areas near together.

Is there a hidden property, that I could change, to disable the wider areas of links and annotations?

Best regards,
Joerg.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17958
Joined: Mon Jan 12, 2009 8:07 am
Location: London

Re: Links near together - wrong link is activated

Post by Tracker Supp-Stefan »

Hello Joerg,

Passed this to Vasyl so he will reply here shortly.

Best,
Stefan
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3554
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada

Re: Links near together - wrong link is activated

Post by Ivan - Tracker Software »

Hit-testing logic for links annotation is changed in the next build of the viewer.
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.