Recent

Author Topic: copy-paste between Lazarus instances problem?  (Read 3517 times)

Eugene Loza

  • Hero Member
  • *****
  • Posts: 674
    • My games in Pascal
copy-paste between Lazarus instances problem?
« on: May 06, 2016, 10:03:34 am »
Debian 32 bit, Lazarus 1.6.0 RC2 32 bit.
For some time (I believe - since update to 1.6.0 RC2 - but I might be wrong), "copy-paste" stopped working between Lazarus applications...
I can copy-paste the code inside one instance.
I can copy-paste the code from mousepad into Lazarus.
But I cannot copy the code in Lazarus and paste it elsewhere (e.g. to the forum).
I cannot even copy the code in Lazarus and paste it in another Lazarus instance.

Maybe, I've done something awfully wrong to settings?

For some ugly reason "Multiple Lazarus instances" often (~once a week) resets to "Open files in a running instance" after I change it to "always start a new instance".

Or should I better just install the last version? (well, that'll take some time)
My FOSS games in FreePascal&CastleGameEngine: https://decoherence.itch.io/ (Sources: https://gitlab.com/EugeneLoza)

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: copy-paste between Lazarus instances problem?
« Reply #1 on: May 06, 2016, 08:23:08 pm »
I don't really remember with 1.6 as I always use trunk, but I do remember there's similar problem like this quite some time ago. In today's trunk, however, I can copy-paste from Lazarus to anywhere as long as the Lazarus instance is still open. Closing it will erase the clipboard entry as well. I don't know if this is by design or not.

zeljko

  • Hero Member
  • *****
  • Posts: 1596
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: copy-paste between Lazarus instances problem?
« Reply #2 on: May 06, 2016, 08:52:21 pm »
Under X11, closing any app = clibpboard empty. Only if you have some clipboard manager like KClipper or similar can save your clipboard, so this is not by design or bug in lazarus, it's simply X11 behaviour.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: copy-paste between Lazarus instances problem?
« Reply #3 on: May 06, 2016, 09:07:24 pm »
Under X11, closing any app = clibpboard empty. Only if you have some clipboard manager like KClipper or similar can save your clipboard, so this is not by design or bug in lazarus, it's simply X11 behaviour.
Damn it, how couldn't I know this beforehand? :o I actually have Klipper installed, but I forgot to run it so it hasn't been running for a long time (once run, it will be autostarted unless quitted explicitly).

Eugene Loza

  • Hero Member
  • *****
  • Posts: 674
    • My games in Pascal
Re: copy-paste between Lazarus instances problem?
« Reply #4 on: May 06, 2016, 09:14:16 pm »
I'm using clipman, it's so convenient in XFCE that I always forgetting about it :) So I never get problems with clipboard cleaned after I close an application.
Well... maybe I really just should re-install the Lazarus and see if the problem persists.
I was suspecting "copy/paste with fold info" option, but it's also "checked" at home (Debian 64 Lazarus 1.6.0 release) and everything works fine here.
My FOSS games in FreePascal&CastleGameEngine: https://decoherence.itch.io/ (Sources: https://gitlab.com/EugeneLoza)

 

TinyPortal © 2005-2018