User forums > Using Code::Blocks
[SOLVED] Edit/Copy no longer works while Cut and Paste do [20.03~1-ubuntu16.04]
oBFusCATed:
What happens if you try the night build from this ppa: https://launchpad.net/~fuscated/+archive/ubuntu/codeblocks-nightly ?
Zener131:
Hello.
It has something to do with the focus.
If the other program is an editor (like Xed) then its menu Edit has "Paste" grayed when there is nothing ready in the clipboard.
Test #1:
- in new C:B, open a new file, type aaaaaaaaaa then newline
- double-click on aaaaaaaaaaa to select then menu Edit/Copy,
- focus the other editor => nothing to paste, the menu is grayed.
Test #2:
- idem in new C::B open a new file, type aaaaaaaaaaaaaa then newline,
- double-click on aaaaaaaaa to select then menu Edit/Copy,
- just click on the empty line in C::B to focus back the editor pane, do not even try to paste there,
- focus the other editor => now the text can be pasted,
- it can be pasted in C::B too.
I guess there could be some parasite operation in the focus switch that would clear the clipboard...
I think that because recently there was a bug (now fixed) with F2 preventing the diagnose pane to reappear with F2 when the editor pane was focused, and the workaround was to focus the left pane.
Hope it helps.
Regards.
oBFusCATed:
Can you please try the night build from the PPA I've linked?
For some strange reason the final builds have being built against wx2.8. I don't know how this has happened, but it is a fact :(
Zener131:
Hello.
I just upgraded from your nightly PPA.
It fixes the clipboard issue. :D
And all the rest appears to go on working: keybinder saves its settings and F2 brings back the diagnose pane notably.
Thanks a lot !
Best regards.
Navigation
[0] Message Index
[*] Previous page
Go to full version