Invisible mouse cursor.  SOLVED

PDF-XChange Editor SDK for Developers

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

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
docu-track99
User
Posts: 518
Joined: Thu Dec 06, 2007 8:13 pm

Invisible mouse cursor.

Post by docu-track99 »

Hello,

We recently updated our SDK to version 328.2 (from 325) and have noticed that the mouse cursor will become invisible when using certain tools (eg. select text, select comments). I have a short clip of me demonstrating the issue but could not upload the file due to the file size. If you would like the file please let me know where I can send it. An email will work as it is smaller than 15mb.

It also appears to only be affecting the cursor when not using a windows default image. Could we be missing image files?

I was wondering if this is an issue with the newest version of the SDK or, if it is our code, where in the SDK might I find the functionality that controls this aspect of the cursor. I have check our code for as much as I could with regards to the cursor but we only modify the cursor directly (without using the SDK) in cases of large load times.

Any help on the matter would be appreciated.

Thank you,
Doc.It
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Invisible mouse cursor.

Post by Sasha - Tracker Dev Team »

Hello Doc.It,

Does this behavior reoccur in the End-User Editor of the newest version?
Also, you can upload the file on your Dropbox/Google Drive and share the link.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
docu-track99
User
Posts: 518
Joined: Thu Dec 06, 2007 8:13 pm

Re: Invisible mouse cursor.

Post by docu-track99 »

Hello Alex,

No, we have tested your editor and it does not seem to be reproducible.

Here is the link: https://drive.google.com/open?id=1x8oln ... 2hW6wZdZv8

Regards,
Doc.It
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Invisible mouse cursor.

Post by Sasha - Tracker Dev Team »

Hello Doc.It,

OK, also, please try it on the clean FullDemo solution and see whether this behavior is recreated.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
docu-track99
User
Posts: 518
Joined: Thu Dec 06, 2007 8:13 pm

Re: Invisible mouse cursor.

Post by docu-track99 »

Hey Alex,

We tested the FullDemo and it does not have the same issue (at least not with the tools we tested).

I am still looking through the documentation on the SDK but cannot find what might be responsible for a feature like this. Maybe I am looking in the wrong place (https://sdkhelp.pdf-xchange.com/view/Main_Page)? Please let me know if this is the case.

What I find very strange is that this issue does not occur in any version of the SDK before 328.

If you have any ideas, or can point me to what in the SDK may be responsible, please let me know.

Thank you,
Doc.It
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Invisible mouse cursor.

Post by Sasha - Tracker Dev Team »

Hello Doc.It,

Just looked at your video - it seems that you are using a custom event handler for the pages view or something like that. And there, you are tweaking the cursor. Search for the "cursor" word in your project and investigate from there. Maybe in some case you are setting an invalid cursor thus it does not paint.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
docu-track99
User
Posts: 518
Joined: Thu Dec 06, 2007 8:13 pm

Re: Invisible mouse cursor.

Post by docu-track99 »

Hey Alex,

Sorry for the long hiatus, priorities changed over here.

Since February, we have updated to the latest version and are still experiencing the issue. We for the longest time remained on 325 in order to avoid the problem but we unfortunately need to update now.

I have checked the code for any mention of cursor, mouse, pointer and the like, but the only uses I found were when we changed it manually during long load times.

Do you know if anything may interact indirectly with the cursor in the SDK that would result in an invisible cursor? Something that may change the cursors z axis or the z axis of the text layer for instance.

Thank you,
Doc.It
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Invisible mouse cursor.

Post by Sasha - Tracker Dev Team »

Hello Doc.It,

Try commenting all of your cursors change and see whether the behavior is recreated.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
docu-track99
User
Posts: 518
Joined: Thu Dec 06, 2007 8:13 pm

Re: Invisible mouse cursor.  SOLVED

Post by docu-track99 »

Hey Alex,

So I finally fixed the issue.

I feel somewhat silly for the actual cause but it appears our solution was using an out of date "Resource.dat" file. It wasn't updating properly when newer versions of Tracker software were installed. Updating this file resolved the issue.

Sorry for the wild goose chase and thank you for all the help.
Doc.It
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Invisible mouse cursor.

Post by Sasha - Tracker Dev Team »

Glad that you got it resolved :)
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply