clipboard problem with multiple viewers

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

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

cew
User
Posts: 213
Joined: Tue Feb 01, 2011 8:14 am

clipboard problem with multiple viewers

Post by cew »

Hi there,

If I place 2 viewer controls on a form and want to use copy & paste, I get a problem:
I Open a document and add e.g. a rectangle.
Then I press ctrl-c (or pushing the copy icon) and can see, that the icon for paste gets inactive. (???)
Pressing ctrl-c again and again, sometimes the icon gets active again. The next press of ctrl-c disables again.

You can reproduce the problem with the appended solution which is the original c# demo project "OpenDocument" with a second viewer and settings loaded to show some bars, specially the copy/paste commands.
Just copy the "settings.dat" to "..\..\..\bin\AX_C#Examples\" or change the output directory of the project.

Curios, isn't it?

What's the problem?
You do not have the required permissions to view the files attached to this post.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: clipboard problem with multiple viewers

Post by Stefan - PDF-XChange »

Hello cew,

The guys have checked this, and told me that they will make a work item to investigate and fix that behaviours.
We will post here in the topic when further details are available.

Best,
Stefan
cew
User
Posts: 213
Joined: Tue Feb 01, 2011 8:14 am

Re: clipboard problem with multiple viewers

Post by cew »

Thanks, I'll wait until you have further infos about this topic.

@stefan:
I couldn't find any way to contact the board admin.
Is it possible to change the color for found items on forum search?
My eyes get sick when I see the results: black text on darkblue background :shock:
Could anyone please change the style for that?!
The whole community will say "Thank You"!

Best
cew
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: clipboard problem with multiple viewers

Post by Stefan - PDF-XChange »

Hello Thomas,

I did make a ticket for the multiple Viewers case:
#909: Clipboard problem with multiple viewers
So that we can monitor and track how this goes.

As for the board administrator, I think that is John. I could have sufficient rights myself but would rather not touch the colours as I tend to mess them up :P - Please try with a different template, and this should work pretty well. You can change it from the User Control Panel: https://www.pdf-xchange.com/forum3/ucp.php

Best,
Stefan
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: clipboard problem with multiple viewers

Post by Stefan - PDF-XChange »

Hello again Cew,

The devs have resolved some problems connecting with this issue, so please do check with build 194 when released later this week, and come back to us if you are still having the same problem.

Best,
Stefan
cew
User
Posts: 213
Joined: Tue Feb 01, 2011 8:14 am

Re: clipboard problem with multiple viewers

Post by cew »

Hi Stefan,

the problem still exists in the 2.5.194.
Draw rectangle, press multiple ctrl-c and you will see the paste-icon will get inactive/active after a changing number of keypresses.

Best
cew
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: clipboard problem with multiple viewers

Post by Stefan - PDF-XChange »

Hello Cew,

We are discussing this case with the dev guys, and we will reopen ticket 909 if needed.

We will update you here in this topic a bit later today.

Regards,
Stefan
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: clipboard problem with multiple viewers

Post by Stefan - PDF-XChange »

Hello Cew,

I tried hard and was not able to reproduce the bug with build 194, and neither were the devs.

I did place a toolbar Icon for the paste command - and it was lit up all the time after my initial Ctrl + C.

I spent like 5 minutes pressing the same combo over and over again without success - the Paste icon remained active all the time.

Please do check in Help -> About that your viewer has updated correctly to build 194, and if the version is the latest and the bug is still reproducible - please if possible do make a small video clip showing the problem.

Best,
Stefan
cew
User
Posts: 213
Joined: Tue Feb 01, 2011 8:14 am

Re: clipboard problem with multiple viewers

Post by cew »

Hi Stefan,

here is the video.
I just added a rectangle and pressed ctrl-c about 5 times. As you can see, the paste-icon will become disabled.

I also added the project as well, where i show the current version in the title of the window.
Just copy Settings.dat to output directory to get the toolbars.

Best regards,
cew
You do not have the required permissions to view the files attached to this post.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: clipboard problem with multiple viewers

Post by Stefan - PDF-XChange »

Thanks for the sample and video file cew.

I managed to reproduce the issue with your sample project so I have updated the ticket and one of the developer that is assigned to this task will have a look at it shortly.

Best,
Stefan
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: clipboard problem with multiple viewers

Post by Stefan - PDF-XChange »

Hello Cew,

The guys confirmed that they managed to reproduce this problem with the sample you provided, so we will see to fix it for the next build.

Best,
Stefan
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: clipboard problem with multiple viewers

Post by Stefan - PDF-XChange »

Hello Cew,

Ticket 909 was updated and the guys say that the problem should now be properly resolved with the new build (2.5.195) - you should be able to download it from our website later today.

Best,
Stefan
cew
User
Posts: 213
Joined: Tue Feb 01, 2011 8:14 am

Re: clipboard problem with multiple viewers

Post by cew »

You can tell the guys, cew said: "The problem is properly resolved!"

Great support, thanks!!! :D

Best regards,
cew
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: clipboard problem with multiple viewers

Post by Stefan - PDF-XChange »

Thanks cew,

Passed your words to the guys, and all I could add is: :D

Cheers,
Stefan