Print Thread
Page 4 of 5 1 2 3 4 5
Re: Copying to Clipboard pause
Marc Bisping #47826 09/12/13 01:33 PM
Joined: Nov 2004
Posts: 16
M
Member
Offline
Member
M
Joined: Nov 2004
Posts: 16
Hi there,

any new ideas?

Re: Copying to Clipboard pause
Marc Bisping #48795 03/19/14 02:42 PM
Joined: Jul 2004
Posts: 592
W
Member
Offline
Member
W
Joined: Jul 2004
Posts: 592
I have the same problem using PL/SQL Developer 10.0.5.1710 on Windows 8.1 Pro.

However, the problem goes away when I close all Microsoft Office 2013 programs. The delay is there for Cut and Copy (not for Special Copy) but only when I have Word or Excel open.

Re: Copying to Clipboard pause
Worker #49474 08/28/14 09:29 AM
Joined: Aug 2014
Posts: 1
C
Cel Offline
Member
Offline
Member
C
Joined: Aug 2014
Posts: 1
Hi all, I have just unticked 'Include font style with Copy' under:

>Tools >Preferences >Fonts >Editor

and it has worked for me with the below. I do not have to close Outlook.

PL/SQL Developer
Version 10.0.5.1710
01.92698 - 1 user license
Windows 7 6.1 Build 7601 (Service Pack 1)

Outlook 10 from MS Office Professional Plus 2010
Version: 14.0.7116.5000 (32-bit)


Re: Copying to Clipboard pause
Cel #49480 08/29/14 09:05 AM
Joined: Jun 2012
Posts: 4
P
Member
Offline
Member
P
Joined: Jun 2012
Posts: 4
Hi Cel,
Can you confirm that changing that preference makes it as fast as when you don't have Outlook open?

I still have a delay after changing that preference, and I have no delay at all when closing Outlook.

Thanks

Re: Copying to Clipboard pause
salcar70 #50004 01/08/15 04:49 AM
Joined: Feb 2013
Posts: 251
UTC+10
I
Member
Offline
Member
I
Joined: Feb 2013
Posts: 251
UTC+10
Seems to be fixed in 11b1 (fingers crossed)

Re: Copying to Clipboard pause
IvanZ #52106 09/11/15 09:14 PM
Joined: Jul 2004
Posts: 592
W
Member
Offline
Member
W
Joined: Jul 2004
Posts: 592
I still have this problem in 11.0.4, and some more info that I can add on.

  • The delay is there when I have Excel 2013 open, and not when it's closed. (I haven't tested other Office programs recently.)
  • The delay is there regardless of the Office Clipboard settings.
  • The delay is there regardless of the PL/SQL Developer setting of "include font style with copy".
  • The delay is there when I Cut or Copy text.
  • The delay is not there when I use Special Copy.
  • The delay is there when I cut/copy from PL/SQL Developer, and not from any other program.
  • The delay is there regardless of how the cut/copy is done (Ctrl-C, Ctrl-Insert, menu option, pop-up menu option, or macro key "copy selection to clipboard").
  • The delay is there regardless of whether the selection is normal or column-mode.
  • The delay is there in editor windows, including the Text tab of the Large Data Editor.
  • The delay is not there in the RTF tab of the Large Data Editor.
  • The delay is not there in the SQL Results grid.

Given the above, my assumption was that whatever PL/SQL Developer puts on the clipboard is causing Excel to hang a bit before PL/SQL Developer gets control back from CopyToClipboard or whatever. (This assumes clipboard-event-notification is synchronous, which may already be a bad assumption.) So I used a clipboard viewer tool (CLCL) to watch what happens.
Unfortunately there is nothing out of the ordinary there, except that for non-column-selection PLD adds "Borland IDE Block Type=3". However since the delay is also there when "Borland IDE Block Type=2", I don't think this is the cause. CLCL even let me store the complete clipboard contents and put them back on the clipboard later, and when I did this with delay-inducing contents, there was no delay when CLCL did it.

So if it's not about the clipboard contents, the only thing left for me to blame is the PLD editor component. I would guess that when it's asked to cut/copy, it does CopyToClipboard (or whatever) and then does something extra afterward that nobody else (including the Large Data Editor RTF tab) does. Maybe it reads the clipboard contents back to make double-sure the cut/copy worked? I don't know. I wish I could just poke through the source code smile

Re: Copying to Clipboard pause
Worker #52114 09/14/15 07:19 PM
Joined: Jul 2004
Posts: 592
W
Member
Offline
Member
W
Joined: Jul 2004
Posts: 592
And because I just can't leave well enough alone:

I hacked together my own clipboard monitor (and get to add C# to my resume now!) and noticed something odd. Whenever there is no delay, such as when using Special Copy or copying from another program, only a single WM_DRAWCLIPBOARD message is sent. However when pressing Ctrl+C in an editor window, four WM_DRAWCLIPBOARD messages are sent, as if SetClipboardData is called four times.

Perhaps that's worth looking into?

Additionally, reading the clipboard (in response to the first WM_DRAWCLIPBOARD) while PLD continues writing to the clipboard causes a lot of concurrency/locking issues, including the occasional "unable to open clipboard" error inside PLD. I know that others have complained about this error, so it would be nice if it has the same root cause as the delay problem.

Re: Copying to Clipboard pause
Worker #52894 01/11/16 09:25 AM
Joined: Jun 2003
Posts: 71
Russia
A
Member
Offline
Member
A
Joined: Jun 2003
Posts: 71
Russia
Up

Last edited by Albert; 01/11/16 09:26 AM.
Re: Copying to Clipboard pause
Albert #52900 01/11/16 10:17 AM
Joined: Aug 1999
Posts: 22,173
Member
Offline
Member
Joined: Aug 1999
Posts: 22,173
Perhaps you can try the 64 bit version to check if this has been improved?


Marco Kalter
Allround Automations
Re: Copying to Clipboard pause
Marco Kalter #52902 01/11/16 03:21 PM
Joined: Jul 2004
Posts: 592
W
Member
Offline
Member
W
Joined: Jul 2004
Posts: 592
I didn't realize this was on the list of fixes for the 64bit version!

I downloaded the 64bit version (1788) and the problems seem to have been fixed. The delay has been greatly reduced if not completely eliminated. I'm also no longer seeing extra WM_DRAWCLIPBOARD messages. Running side-by-side with the 32bit version (1774), the 64bit version is much better.

I'm keeping my fingers crossed that it will stay this way. Thank you for addressing this!

Page 4 of 5 1 2 3 4 5

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.071s Queries: 16 (0.023s) Memory: 2.5643 MB (Peak: 3.0377 MB) Data Comp: Off Server Time: 2024-03-28 21:45:53 UTC
Valid HTML 5 and Valid CSS