[Lazarus] Clipboard Data Goes Away
marc at dommelstein.nl
Fri Apr 2 10:08:20 CEST 2021
Just s general warning, it doesn't say anything about your observations.
Be careful with drawing conclusions when using vnc. The past year I've been working remote and I'm using vnc to access my desktop at work. Transferring clipboard data most times work, but sometimes it is a pain. It won't copy or paste the right selection. Reconnecting vnc usually solves the issue.
This is independent of the source or target application.
So the issue you observed might be caused by vnc or it might be indeed an issue in Lazarus
On April 2, 2021 9:12:04 AM GMT+02:00, Bo Berglund via lazarus <lazarus at lists.lazarus-ide.org> wrote:
>On Thu, 1 Apr 2021 03:26:47 -0400, Anthony Walter via lazarus
><lazarus at lists.lazarus-ide.org> wrote:
>>I noticed a recent discussion touching on this problem posted by Bo
>>Berglund on November 20, 2020 to this same mailing list.
>In fact I have a *related* clipboard issue inside Lazarus itself:
>Working in Lazarus via a VNC connection to a RaspberryPi (Lazarus is on
>If I try to search for a string which I have copied in Windows the
>- String copied in Windows
>- Use Ctrl-V in Lazarus and the string is pasted into the code editor
>- This shows that the string is in the clipboard
>- String again copied in Windows
>- Hit F3 in Lazarus to start a search, a bogus search term appears
>- Use Ctrl-V to paste the copied string into the Lazarus search dialog
>- Nothing happens...
>- Go back to windows and re-copy the string
>- In Lazarus select the bogus search item in the dialog
>- Try to replace it with Ctrl-V
>- Nothing happens...
>- Finally go back to Windows and again copy the search string
>- Now in Lazarus use Backspace to erase the bogus search item in the
>search dialog which was not closed
>- Hit Ctrl-V to paste the search string
>- NOW FINALLY! The string is pasted into the search dialog
>It seems like the clipboard is cleared (or replaced) by the following
>opertations in Lazarus:
>- Using F3 to start a search operation with nothing selected in the
>- Selecting the bogus word in the search dialog in order to replace it
>Why this behaviour? I am constantly being hit with this when I am
>Windows application from Delphi to Linux-FreePascal.
>I have the project open in Windows and the converted project in Linux
>to navigate via searches is just so cumbersome with this behaviour.
>Developer in Sweden
>lazarus mailing list
>lazarus at lists.lazarus-ide.org
More information about the lazarus