Switch to text select tool does not work sometimes

When Tools.Tool.ENABLE_AUTO_SWITCH is set to true and the mouse pointer is hovering over some text, then the tool should switch to Tools.ToolNames.TEXT_SELECT. This does not always work however. Please guide how to debug and fix this problem. Is there a way to detect whether mouse if hovering over some text? I can implement this myself if so. Please guide. Thanks

Ahtsham Raziq

Filestage Logo
web www.filestage.io
phone +49 711 96589050
office Lautenschlagerstraße 16, 70173 Stuttgart, DE
Filestage GmbH, Amtsgericht Stuttgart: HRB 749557
Geschäftsführer: Niklas Dorn, Maël Frize, Simon Kontschak

Working from home? We’ve created these resources for you:

I noticed that the auto switch does not work when a sticky annotation is selected. It works fine otherwise. If this is intended behavior, can it be disabled? Let me know. Thanks

Hi there,

Would you be able to provide some context of using this API? And provide a code sample on how you are using it?

Sardor Isakov
Software Developer
PDFTron Systems, Inc.

Hey there,

Thanks for getting back. I have recorded a video to explain the use case. Let me know if you need further details. Thanks


Ahtsham Raziq


It looks like you using custom tool, and would you be able to share the code for the custom tool?

Check your ticket status - https://support.pdftron.com/helpdesk/tickets/16517

Best Regards,

Sardor Isakov
Software Developer
PDFTron Systems, Inc.

CONFIDENTIALITY NOTICE: This message (and any attachment to it) is intended only for the use of the individual or entity to which it is addressed in the header, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. Any reproduction, distribution, modification or use of the contents of this message (and any attachment to it) by any individual or entity other than the intended recipient is prohibited. If you have received this communication in error, please notify us immediately and delete the original.

Dear PDFTron WebViewer Forum,

This ticket has been auto resolved, as no update has been received from you.

If the ticket is indeed resolved for you, then no further action is needed.

However, if this ticket is still an issue for you please use the link below to update the ticket.


Best regards,

PDFTron Support Team

Would you recommend PDFTron to another developer?