Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy/paste from konsole to MS Office applications messed up #406

Open
jjohnson42 opened this issue Aug 20, 2019 · 2 comments
Open

copy/paste from konsole to MS Office applications messed up #406

jjohnson42 opened this issue Aug 20, 2019 · 2 comments
Labels
bug Something isn't working linux Related to Linux windows Related to Microsoft Windows

Comments

@jjohnson42
Copy link

jjohnson42 commented Aug 20, 2019

Operating Systems

Server: Ubuntu 19.04

Client: Windows 10 1903

Barrier Version

git master

Steps to reproduce bug

Copy text from konsole

Attempt to paste to a microsoft office application.

For example, I select the word 'barriers' and paste and office gets:
猼慰瑳汹㵥昢湯⵴慦業祬洺湯獯慰散㸢猼慰瑳汹㵥挢汯牯⌺〰〰〰戻捡杫潲湵ⵤ潣潬㩲昣晦晦㭦㸢慢牲敩獲⼼灳湡㰾牢㰾猯慰㹮

Other info

If I comment out the attempt to do HTML, it dos not occur:

$ git diff
diff --git a/src/lib/platform/XWindowsClipboard.cpp b/src/lib/platform/XWindowsClipboard.cpp
index b2c17f96..15139eb5 100644
--- a/src/lib/platform/XWindowsClipboard.cpp
+++ b/src/lib/platform/XWindowsClipboard.cpp
@@ -82,8 +82,8 @@ XWindowsClipboard::XWindowsClipboard(IXWindowsImpl* impl, Display* display,
     }
 
     // add converters, most desired first
-    m_converters.push_back(new XWindowsClipboardHTMLConverter(m_display,
-                                "text/html"));
+//    m_converters.push_back(new XWindowsClipboardHTMLConverter(m_display,
+//                                "text/html"));
     m_converters.push_back(new XWindowsClipboardBMPConverter(m_display));
     m_converters.push_back(new XWindowsClipboardUTF8Converter(m_display,
                                 "text/plain;charset=UTF-8"));

If I use any terminal other than Konsole, it does not occur.

@AdrianKoshka AdrianKoshka added bug Something isn't working linux Related to Linux windows Related to Microsoft Windows labels Aug 20, 2019
@piet8stevens
Copy link

I have a similar problem with server 18.04 and client Windows 10 1903. It happens intermittently and also when copying from a browser on the server to a program like Word or Onenote on Windows 10. It does not happen when I paste into Notepad.

@shymega
Copy link

shymega commented Aug 31, 2020

Related to #860.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working linux Related to Linux windows Related to Microsoft Windows
Projects
None yet
Development

No branches or pull requests

4 participants