elfmz / far2l

Linux port of FAR v2
GNU General Public License v2.0
1.78k stars 173 forks source link

Copied text in the editor doesn't propogate from Linux VM to Windows #1985

Open Molochnik opened 8 months ago

Molochnik commented 8 months ago

Prerequisites: Linux virtual guest machine (Linux Mint specifically), Windows - host. When you copy a text in the editor and want to paste it in the same Linux machine everything works fine. But if you try to paste it in the host Windows machine the copy buffer contains an old text (previously copied). All other text editors and viewers including web browsers, text editors and terminals work with text copy&paste between Linux<->Windows properly.

akruphi commented 8 months ago

If you use Linux in WSL or with Wayland you may try run far2l in xWayland mode: running from console: GDK_BACKEND=x11 far2l (see details in far2l help by F1 in section FAR2L features - Getting Started)

If it not solve problem please inform details about your VM (WSL, VirtualBox, ...)

Molochnik commented 8 months ago

No I use linux mint 20.3 (not the latest) virtual machine on VMWare player

unxed commented 7 months ago

May be this is somehow related? https://github.com/wxWidgets/wxWidgets/issues/24391#issuecomment-1989195956

Also maybe separate issue to VMWare player bug tracker is needed.

unxed commented 6 months ago

Check now, please!

Molochnik commented 6 months ago

Copy/paste works perfect, thank you!

Molochnik commented 6 months ago

Sorry was too quick, no doesn't work, just checked copy/paste from the Linux text editor - ts works fine. text is copied to the shared VMWare buffer, far2l copies only to local buffer.

Molochnik commented 6 months ago

But sometimes it works! I don't understand what does it depend on

unxed commented 3 months ago

Check now on recent master please!

Molochnik commented 2 months ago

Compilation was successful but the linking is failed:


l but the CMakeFiles/NetRocks-FTP.dir/src/Protocol/FTP/FTPConnection.cpp.o: In function `OpenSSLContext::sNewClientSessionCB(ssl_st*, ssl_session_st*)':
FTPConnection.cpp:(.text._ZN14OpenSSLContext19sNewClientSessionCBEP6ssl_stP14ssl_session_st+0x34): undefined reference to `SSL_SESSION_up_ref'
CMakeFiles/NetRocks-FTP.dir/src/Protocol/FTP/FTPConnection.cpp.o: In function `OpenSSLContext::OpenSSLContext(StringConfig const&)':
FTPConnection.cpp:(.text._ZN14OpenSSLContextC2ERK12StringConfig+0x40): undefined reference to `TLS_client_method'
unxed commented 2 months ago

Can you please share information about ditro you are building on?

Molochnik commented 2 months ago

I tried to build it on Mint 20.3 and CentOS8 stream.

unxed commented 2 months ago

Do not reproduces. Try building from scratch, in a clean folder.

Molochnik commented 2 months ago

there was no internet and upgrade was impossible After inet appeared I updated all linuxes ant everything went fine. Compilation and linking are successful copy clipboard works as well perfectly, thanks! Wveytings id Ok now. BTW how to see the current version build? --version doesnt show it

unxed commented 2 months ago

F1 or window title

unxed commented 2 months ago

Can this issue be closed now?

Molochnik commented 2 months ago

Yes!