Bug 489748

Summary: Text input from the client is one character behind at all times on the server.
Product: [Plasma] KRdp Reporter: Mike Smith <mikesmith929+kde>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: REPORTED ---    
Severity: normal CC: ahiemstra
Priority: NOR    
Version: 6.1.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mike Smith 2024-07-04 18:17:17 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
When connected to the KRDP server, from a windows 10 remote desktop client, any text inputted from the client is one character behind visually on the server. This unfortunately randomly happens while in a session. At first it's fine but after a random event or time all text input is one character behind. 

STEPS TO REPRODUCE
1. Connect to the server.
2. Use the server for a time.
3. 

OBSERVED RESULT
When you type in the Konsole (as an example) text will be lagged by one character.

EXPECTED RESULT
When you type on the server all characters get displayed. 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.9.7-200.fc40.x86_64 (64-bit)

ADDITIONAL INFORMATION
It's as if the character is stuck in some kind of buffer. Perhaps some text graphical buffer or maybe just no update is the graphics refresh is initiated for the last character typed? I'm at a loss.
Comment 1 Arjen Hiemstra 2024-07-10 08:39:47 UTC
Do you know how long it takes for this to start happening? Also does it matter how fast things happen, so if you press a character then press another, does the previous character show up immediately?
Comment 2 Mike Smith 2024-08-29 19:26:46 UTC
(In reply to Arjen Hiemstra from comment #1)
> Do you know how long it takes for this to start happening? Also does it
> matter how fast things happen, so if you press a character then press
> another, does the previous character show up immediately?

I think right away. 
It doesn't matter how fast things happen. 
Yes if you press a character then press another it shows up immediately but one character behind. 
I have a video if you like?

It seems like refreshing the window you are in triggers a refresh of the input. 
In other words I RDP into the machine and open Konsole. 
I start typing: 1 2 3 4 5 
You'll see: 1234
Only if I type 6 will you see 5 unless I move the mouse outside of Konsole and then it will "refresh" and show me 5. 

Hope that makes sense.