Author Topic: Copy Paste Flaky  (Read 6722 times)

Offline ftabba

  • Single posting newcomer
  • *
  • Posts: 4
Copy Paste Flaky
« on: July 30, 2008, 12:04:17 am »
Hi,

I'm using code:blocks version 8.02-0ubuntu1 running on Kubuntu Hardy, KDE 3.5.9 and libwxgtk2.8-0 (2.8.7.1-0ubuntu3). Anyway, copy/paste seems to be quite flaky (mainly it's just copy). Sometimes, I need to press ctrl-c twice for the highlighted item to actually get into my clipboard and other times it works fine. I haven't been able to reproduce this problem at will, but it seems to popup at the most inconvenient times :)

Any ideas?

Cheers,
/Fuad

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Copy Paste Flaky
« Reply #1 on: July 31, 2008, 09:54:09 pm »
Please try the following:

go to "Settings -> Editor -> Keyboard shortcuts" and remove the shortcuts for "Menubar -> Edit -> Cut" , " .. Copy" and "... Paste".

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5494
Re: Copy Paste Flaky
« Reply #2 on: July 31, 2008, 10:10:39 pm »
Please try the following:

go to "Settings -> Editor -> Keyboard shortcuts" and remove the shortcuts for "Menubar -> Edit -> Cut" , " .. Copy" and "... Paste".
Why do you say that ?

I have/had similar issues with copy paste. Even sometimes ctrl-x cut's the text but when I want to paste it, I get old stuff from the clipboard.

Offline ftabba

  • Single posting newcomer
  • *
  • Posts: 4
Re: Copy Paste Flaky
« Reply #3 on: July 31, 2008, 10:40:25 pm »
Please try the following:

go to "Settings -> Editor -> Keyboard shortcuts" and remove the shortcuts for "Menubar -> Edit -> Cut" , " .. Copy" and "... Paste".

I've actually tried to look for that before, but there isn't a "Keyboard Shortcuts" section! Kind of weird. All I have under Settings -> Editor -> is
- General settings
- Folding
- Margins and caret
- Syntax highlighting
- Abbreviations
- Default code
- Source formatter
- Code-completion and symbols browser

And that's all!

Thanks

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Copy Paste Flaky
« Reply #4 on: July 31, 2008, 11:18:54 pm »
Please try the following:

go to "Settings -> Editor -> Keyboard shortcuts" and remove the shortcuts for "Menubar -> Edit -> Cut" , " .. Copy" and "... Paste".
Why do you say that ?

I have/had similar issues with copy paste. Even sometimes ctrl-x cut's the text but when I want to paste it, I get old stuff from the clipboard.
I say that, because I had the same issues, and was used to type "ctrl+c" twice, and after removing the keyborad shortcuts everything worked as expected.
That means "ctr+c", ctrl+x" and ctr+v" also work without the keycode-plugin.
I didn't investigate more, but it worked for me and so I gave this hint.

Btw. I only had this issue on my linux-system, not on windows.

I've actually tried to look for that before, but there isn't a "Keyboard Shortcuts" section! Kind of weird. All I have under Settings -> Editor -> is
- General settings
- Folding
- Margins and caret
- Syntax highlighting
- Abbreviations
- Default code
- Source formatter
- Code-completion and symbols browser

And that's all!

It seems you don't have contrib-plugins installed and so keybinder-plugin is not installed (and can't be the cause for your problems).

I just re-enabled the shortcuts in C::B and at tht moment it worked.
If that will not change again, it's not keybinder-plugin that causes the issue.

I moved from kde (with klipper) to lxde with no extra clipboard-utility.

Perhaps it's klipper that interferes with (wx)scintilla.
If I had the issue with cutting some code that seems to be lost (other/older code was pasted instead), it was in fact in klipper's history.

Offline ftabba

  • Single posting newcomer
  • *
  • Posts: 4
Re: Copy Paste Flaky
« Reply #5 on: August 01, 2008, 12:08:14 am »
Thanks Jens, that makes sense.

Question is, how do I download those plugins? By searching though the code:blocks site all I found was
http://wiki.codeblocks.org/index.php?title=Code::Blocks_Plugins

which as far as I could tell don't have a link to download those plugins.

Also did a google search but to no avail....

Cheers,
/Fuad

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5494
Re: Copy Paste Flaky
« Reply #6 on: August 15, 2008, 08:20:39 pm »