Author Topic: What is happening to the clipboard?  (Read 191 times)

Offline Piotr Grochowski

  • Single posting newcomer
  • *
  • Posts: 7
What is happening to the clipboard?
« on: June 20, 2020, 03:31:22 pm »
Suppose I have the intent of quickly copying code from one file to another. So I select the code and as I'm moving my mouse cursor to the other tab I copy, then I switch to the other window and paste. Except it didn't copy the previous clipboard data, because for some reason it won't copy if the mouse cursor is even moved outside! The action of moving the mouse does not change the focus, so it should still copy as it's still in focus. This always gets me, and I haven't seen any other software do this.

Online stahta01

  • Lives here!
  • ****
  • Posts: 6947
    • My Best Post
Re: What is happening to the clipboard?
« Reply #1 on: June 20, 2020, 06:15:14 pm »
This is a random guess on my part; is the CB Plugin MouseSap enabled or disabled?

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2251
Re: What is happening to the clipboard?
« Reply #2 on: June 20, 2020, 11:34:13 pm »
Make sure that if you're using MouseDragScrolling (MouseDrag plugin) that "focus follows mouse" is unchecked.

Else when you move the mouse outside the editor, it focuses the window under the mouse. The marked area would have lost focus.