Bug 242347 - Krdc is breaks clipboard functionality
Summary: Krdc is breaks clipboard functionality
Status: RESOLVED FIXED
Alias: None
Product: krdc
Classification: Applications
Component: RDP (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-21 13:04 UTC by Hubert Kroess
Modified: 2015-04-19 17:07 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 15.04


Attachments
Fix for clipboard cutting issue (502 bytes, patch)
2015-04-15 13:34 UTC, bake.earmuffs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hubert Kroess 2010-06-21 13:04:34 UTC
Version:           unspecified (using KDE 4.4.4) 
OS:                Linux

My Host-Os is kubuntu 10.04 with ppa-repos (kde 4.4.4)
Krdc is my preferred tool to administer my Windows Server Farm and some virtualized Windows Os.
I work pretty with booth the kde-apps (mostly konsole, also gtk-apps like Firefox, Thunderbird, ooo) and windows apps and i switch often, so it breaks the clipboard's content. Perhaps it also has to do with the full-mode switch Strg-shift-F.

2. problem:
Shortcuts like strg-shift-f works only sometimes.
And if the shortcut strg-shift-f works it would be appreciable to free the guests windows shortcut-grabbing, so that i am able to execute alt-tab in my kde-Kontext or strg-f12 or strg-f10 or strg-F1-F4 (most time it's working)

Thanks


Reproducible: Sometimes

Steps to Reproduce:
Open kde-apps and windows apps in krdc and switch between the host-apps and the guest apps. try also the Full-Mode option strg-shift-F of krdc
Comment 1 Urs Wolfer 2010-11-07 19:43:47 UTC
Can you please try if you can reproduce this issue with rdesktop started from Konsole? KRDC RDP support is based on rdesktop.
Comment 2 Hubert Kroess 2010-11-12 08:35:30 UTC
I made some tests with rdesktop started from console and there is no problem. That one seems to be releated to krdc
Comment 3 WiseLord 2011-12-09 11:48:41 UTC
I have the same problem. When Krdc started (even on another desktop workspace), it is impossible to work with clipoard - it contains only part of text selection I have made.

When viewing klipper's history, I see that all selection was placed to clipboard, but it was replaced by part of selection next moment.

It seems that problem comes only with non-latin characters in selection. For example (after clearing klipper history):

1) I select "functionality" word (on this page) -> I have only one entry "functionality" in klipper history.

2) I select any word with non-latin symbols, "компьютер" for example -> I have two entries in klipper history "компьютер" is first and "комп�" is second. It looks that 9 UTF-8 symbols (18 bytes) of "компьютер" were converted to 9 bytes of "комп�" word. May be Hubert Kroess, the bug reporter, also have problems with non-latin (umlauts, for example).

When Krdc is not running, it seems there is no problem at all.
Comment 4 Urs Wolfer 2012-01-02 14:32:50 UTC
(In reply to comment #3)
> I have the same problem.
> [...]

Do you also have this issue with a RDP session?

In RDP mode, KRDC does not share any clipboard content. I do not have an idea why this happens.
Comment 5 Hubert Kroess 2012-01-02 15:31:12 UTC
Exactly the same problem. In the meantime i switched to remmina because 
i had allways the clipboard problem

Am 02.01.2012 15:32, schrieb Urs Wolfer:
> https://bugs.kde.org/show_bug.cgi?id=242347
>
>
>
>
>
> --- Comment #4 from Urs Wolfer<uwolfer kde org>   2012-01-02 14:32:50 ---
> (In reply to comment #3)
>> I have the same problem.
>> [...]
> Do you also have this issue with a RDP session?
>
> In RDP mode, KRDC does not share any clipboard content. I do not have an idea
> why this happens.
>
Comment 6 Urs Wolfer 2012-01-04 20:05:40 UTC
SVN commit 1271614 by uwolfer:

Do not try to share selection clipboard which breaks things (VNC).

Related: bug 284439
FIXED-IN: 4.8

 M  +0 -17     vncview.cpp  
 M  +0 -1      vncview.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1271614
Comment 7 Urs Wolfer 2012-01-04 20:09:05 UTC
SVN commit 1271615 by uwolfer:

Backport to 4.8 branch:

SVN commit 1271614 by uwolfer:

Do not try to share selection clipboard which breaks things (VNC).

Related: bug 284439
FIXED-IN: 4.8

 M  +0 -17     vncview.cpp  
 M  +0 -1      vncview.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1271615
Comment 8 bake.earmuffs 2015-04-15 13:34:26 UTC
Created attachment 92058 [details]
Fix for clipboard cutting issue

Not sure why this issue was closed. I'm still experiencing the same behavior described by WiseLord.
However, I was able to find a fix for it - clipboard.cut.patch
Comment 9 Urs Wolfer 2015-04-19 17:07:25 UTC
Git commit 10c641f46f19c6e41a70f587b11592f3ed74670c by Urs Wolfer.
Committed on 19/04/2015 at 17:07.
Pushed by uwolfer into branch 'Applications/15.04'.

Fix issue with vnc clipboard sharing (non-latin characters)

Thanks to Eduard Valiauka <nsbm.abbath gmail.com> for the patch.
FIXED-IN: 15.04

M  +2    -1    vnc/vncclientthread.cpp

http://commits.kde.org/krdc/10c641f46f19c6e41a70f587b11592f3ed74670c