** Description changed:

- This issue is already resolved upstream by fixing wslgclip.sh and fixing
- win32-input-mode double encoding bug in WT.
+ [ Impact ]
+ 
+  * Incorrect processing of Paste input events encoded as win32-input-mode 
escape 
+    sequences in Windows Terminal leads to users unable to paste anything 
except
+    Latin characters (for example, Cyrillic chars can not be pasted) 
+  * Backporting the fix will improve Windows Terminal users UX, both then 
working
+    in WSL[g] environments or then running far2l on remote machine via ssh
+ 
+ [ Test Plan ]
+ 
+    On Windows system:
+ 
+     1. Copy some Cyrillic string to system clipboard
+     ("это строка для проверки", for example).
+ 
+     2. Open Windows Terminal
+ 
+     3. Run far2l inside (in 24.04, in local WSL[g]
+     or by connecting by ssh to remote host)
+ 
+     4. Ask Windows Terminal to do paste by pressing Ctrl+V or Shift+Ins
+ 
+ [ Where problems could occur ]
+ 
+  * Some keyboard input errors in Windows Terminal may occur.
+    However, this way of input processing has been tested in ppa builds
+    from master branch by volunteers and no problems were found.
+ 
+  * Also, the fix is Windows Terminal-specific. Even if it breaks
+    something, working in cmd.exe console window
+    still would be possible.
+ 
+ [ Other Info ]
+ 
+  * Attached fix backported to 2.6.0 replaces zero key codes
+    received from Windows Terminal in case of paste
+    (as such key events are ignored by far2l) by special
+    VK_UNASSIGNED key code that makes correct event processing
+    possible.
  
  ProblemType: Bug
- DistroRelease: Ubuntu 24.10
- Package: 2.6.3~beta+ds-1ubuntu3
+ DistroRelease: Ubuntu 24.04
+ Package: 2.6.0~beta+ds-1ubuntu0.2
  Architecture: amd64
- Date: Mon Sep 30 06:51:19 2024
  SourcePackage: far2l
  
- Patch with relevant changes backported to 2.6.3 is attached.
+ Patch with fix backported to 2.6.0 is attached.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2083233

Title:
  pasting of Cyrillic chars not working in windows terminal under wsl

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/far2l/+bug/2083233/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to