Menu

#952 20.04: copy/paste problem on Ubuntu

Release_xx.yy
fixed
nobody
None
Bug_Report
2022-05-12
2020-04-25
tesanbei
No

Justed fetched a fresh new 20.03, on Ubuntu 16.04.
Works great, but copy/paste behaves erratically, when pasting on a different file.
Doesn't make a difference if using CTRL-C/CTRL-V or Copy/Paste from the menu.

Sometimes it just doesn' t work, and sometimes it does . It seems that you need to first paste the content into the same file. Only after doing that are you alowed to paste in a different file.

Never encountered that problem with previous releases or other apps, so I doubt it is an OS related issue.

Steps to reproduce:

  1. open a project
  2. select somes lines from a file, using mouse or keyboard
  3. CTRL-C
  4. switch to another file in same projet
  5. CTRL-V => nothing

Seems to be more a "copy" problem, because if trying to paste what has been copied in another app (text editor), nothing is pasted neither.

Info:
Name : Code::Blocks
Version : 20.03-r11983
SDK Version : 2.0.0
Scintilla Version: 3.75.0
wx 2.8.12
gcc 5.4

Discussion

  • Teodor Petrov

    Teodor Petrov - 2020-04-25
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -Justed fetched a fresh new 20.04, on Ubuntu 16.04.
    +Justed fetched a fresh new 20.03, on Ubuntu 16.04.
     Works great, but copy/paste behaves erratically, when pasting on a different file.
     Doesn't make a difference if using CTRL-C/CTRL-V or Copy/Paste from the menu.
    
     
  • Teodor Petrov

    Teodor Petrov - 2020-04-25

    What are the keyboard layouts you're using? Anything different from english qwerty?

     
  • tesanbei

    tesanbei - 2020-04-25

    Oops, sorry for the typo, indeed, 20.03 !
    I'm using an azerty regular keyboard (French). But never had an issue with that, and besides, it happens also when using the menu bar: Edit-Copy, Edit->Paste

    I'm available for any additional info or tests.

     
  • Teodor Petrov

    Teodor Petrov - 2020-04-25

    Did you have a version of C::B which didn't do this? Are you using a clipboard manager? What happens if you compile the stc wxWidget sample? Would this work?

     
    • tesanbei

      tesanbei - 2020-04-26

      Did you have a version of C::B which didn't do this?

      Well, I can't reinstall a previous release at present, but I'm pretty sure that that never hapened before.

      Are you using a clipboard manager?

      Nope

      What happens if you compile the stc wxWidget sample? Would this work?

      Sorry, I don't know what the "stc wxWidget sample" is ?

       
  • Teodor Petrov

    Teodor Petrov - 2020-04-26

    I cannot reproduce this in a virtual machine with ubuntu 16.04. :(

     
    • tesanbei

      tesanbei - 2020-04-26

      I cannot reproduce this in a virtual machine with ubuntu 16.04. :(

      Mmh, this is strange.
      But I did try again and confirm the issue: say you have a project with 2 files:
      -if you copy then paste in the other file, nothing.
      -if you copy then paste in the same file, ok! And then you can paste the clipboard content in the other file, it works !

      Anything else I could try ? (what the above "stc wxWidget sample" test ?)

      I'll make a try in a virtual machine, I'll come back in a few.

       
  • tesanbei

    tesanbei - 2020-04-26

    ok, I also checked on a fresh virtual Mint 18, and I can't reproduce the issue.
    So, unless somebody else is hit by this, let's assume this is related to some underlying issue on my machine (maybe some wxWidgets stuff ?)

     
  • Teodor Petrov

    Teodor Petrov - 2020-04-26

    It is not only you having this problem. There are other people complaining and I could also reproduce it. :(

    Can you try the steps depicted in this post forum and tell me if you're able to reproduce the problem.

     
  • tesanbei

    tesanbei - 2020-04-26

    Checked that post.
    I downloaded the latest nightly (build svn-r12064), that indeed uses wx3.02 !! (and not 2.8)
    The bug disappeared, copy/paste works seamlessly.

    Thank you very mush for your assistance, and for this great software!
    You can close the issue (seems I can't do it myself ?)

     
  • Miguel Gimenez

    Miguel Gimenez - 2022-05-12
    • status: open --> fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.