User forums > Help

Copy Paste Flaky

(1/2) > >>

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".

--- End quote ---
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".

--- End quote ---

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".

--- End quote ---
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.

--- End quote ---
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!

--- End quote ---

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.

Navigation

[0] Message Index

[#] Next page

Go to full version