News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Copy Paste Flaky

Started by ftabba, July 30, 2008, 12:04:17 AM

Previous topic - Next topic

ftabba

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

Jenna

Please try the following:

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

killerbot

Quote from: jens 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".
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.

ftabba

Quote from: jens 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".

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

Jenna

Quote from: killerbot on July 31, 2008, 10:10:39 PM
Quote from: jens 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".
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.

Quote from: ftabba on July 31, 2008, 10:40:25 PM
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.

ftabba

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

killerbot