View Issue Details

IDProjectCategoryView StatusLast Update
0004043Far ManagerPanelpublic2024-05-16 17:14
Reporterblabulabul Assigned ToDrKnS  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx64OSWindowsOS Version10
Product Version3.0 
Fixed in Version3.0 
Summary0004043: In Panel mode Ctrl+\ doesn't work to jump to the drive root
DescriptionIn Panel mode Ctrl+\ doesn't work to jump to the directory root. Czech keyboard. In previous versions it always jumped into the root of the disk.
Steps To ReproduceIn Panel mode go to any directory and press Ctrl + \.
TagsNo tags attached.
Build6334

Activities

HaRT

2024-05-02 12:19

reporter   bugnote:0017549

Last edited: 2024-05-02 12:21

For diagnostics, please attempt assigning any keyboard macro (e.g. an empty one) to Ctrl+\ interactively (using Ctrl+., see Help), what key is displayed at the final (the actual assignment) step?

Also, for future reference, please edit the ticket to include the exact FAR version (including build number).

JohnDoe

2024-05-02 13:20

updater   bugnote:0017550

Last edited: 2024-05-02 18:50

Actually, this change is totally expected. There are so many keyboard layouts, and the BackSlash key is placed differently on each one. In many layouts, the BackSlash key is not even directly available (e.g., German). So, from now on, some keys are mapped closely to their physical positions in the US layout. Unfortunately, there is no perfect solution, but I believe it is better than it was before.

Therefore, on the Czech Keyboard feature, you should now use another key (the one that is under the Backspace key)."

HaRT

2024-05-02 17:37

reporter   bugnote:0017551

use another key (the one that is under the Backspace key)

JohnDoe
Or, more realistically, add a keyboard macro to issue that key press using Czech keyboard's Ctrl+\.

JohnDoe

2024-05-02 18:55

updater   bugnote:0017552

Last edited: 2024-05-02 19:04

Theoretically, you could also implement
a. an option that sets a "Master" layout to which all others will be mapped, specifically for VK_OEM_x keys.
b. alternatively, there could be an option to always utilize the "title symbol" key name.

The first approach is more effective when there is more than one layout in the system, while the latter is simpler for a single-layout setup.

However, both methods share a common drawback: the shortcuts become non-portable. Even standard Far shortcuts may be inaccessible in certain layouts. As such, it remains to be determined whether this is necessary. Your thoughts and opinions are warmly welcomed.

DrKnS

2024-05-02 20:21

administrator   bugnote:0017554

this change is totally expected
Not quite.
I'd expect a typical Czech keyboard to look something like the attached, i.e. with '\' in the bottom left corner, mapped to VK_OEM_102 / 86. Which we already map to Backslash, so it should just work.

blabulabul, could you please tell us more about your keyboard and layout?
Also, if possible, please run the attached executable (yes, yes, one should never ever run unknown executables from the internet when asked by strangers, but still), press your key there and tell us what it prints. Thanks.
cz.png (7,792 bytes)   
cz.png (7,792 bytes)   
readkey.exe.zip (56,604 bytes)

blabulabul

2024-05-09 09:09

reporter   bugnote:0017558

Last edited: 2024-05-09 09:39

DrKnS: Here is the output after pressing the button "\":

FOCUS: SetFocus=TRUE
WINDOW_BUFFER_SIZE: Size=[X=300;Y=1000]
KEY: ↓, Count=1, Vk=VK_OEM_5/220/0xDC, Scan=43/0x2B, uChar=' '/0/0x0000, Control=0x00000020 (casac - ecNs)
KEY: ↑, Count=1, Vk=VK_OEM_5/220/0xDC, Scan=0/0x0, uChar='¨'/168/0x00A8, Control=0x00000020 (casac - ecNs)
KEY: ↑, Count=1, Vk=VK_OEM_5/220/0xDC, Scan=43/0x2B, uChar='¨'/168/0x00A8, Control=0x00000020 (casac - ecNs)

Far's version is last - 3.0.0.6331. I found an older version 3.0.0.6278 and it has no problem with this key, Ctrl+\ works.

Edit: On the Czech keyboard, the keyboard "\" makes diacritical marks of two dots (which is absurd when it is not used in Czech). Therefore, a combination of RAlt+Q is used for the "\" character.

JohnDoe

2024-05-09 14:09

updater   bugnote:0017559

Last edited: 2024-05-09 20:34

@blabulabul

So, you are pressing the key near Enter, and not the key near rightleft Shift.

Could you make the test again, this time pressing Ctrl+\ (not just key alone, but with Control)?

HaRT

2024-05-09 17:27

reporter   bugnote:0017560

> near right Shift

@JohnDoe Clearly you mean left Shift

DrKnS

2024-05-09 21:44

administrator   bugnote:0017561

blabulabul, thank you.
Looks like you're pressing this key?
As JohnDoe already mentioned, please also press it with Ctrl, just like you do in Far to jump to the drive root.
cz2.png (7,723 bytes)   
cz2.png (7,723 bytes)   

blabulabul

2024-05-13 13:52

reporter   bugnote:0017562

Output for Ctrl+\ is:

WINDOW_BUFFER_SIZE: Size=[X=300;Y=1000]
KEY: ↓, Count=1, Vk=VK_CONTROL/17/0x11, Scan=29/0x1D, uChar=' '/0/0x0000, Control=0x00000124 (casaC - EcNs)
KEY: ↓, Count=1, Vk=VK_OEM_5/220/0xDC, Scan=43/0x2B, uChar=' '/0/0x0000, Control=0x00000024 (casaC - ecNs)
KEY: ↓, Count=1, Vk=VK_OEM_5/220/0xDC, Scan=43/0x2B, uChar=' '/0/0x0000, Control=0x00000024 (casaC - ecNs)
KEY: ↓, Count=1, Vk=VK_OEM_5/220/0xDC, Scan=43/0x2B, uChar=' '/0/0x0000, Control=0x00000024 (casaC - ecNs)
KEY: ↓, Count=1, Vk=VK_OEM_5/220/0xDC, Scan=43/0x2B, uChar=' '/0/0x0000, Control=0x00000024 (casaC - ecNs)
KEY: ↓, Count=1, Vk=VK_OEM_5/220/0xDC, Scan=43/0x2B, uChar=' '/0/0x0000, Control=0x00000024 (casaC - ecNs)
KEY: ↓, Count=1, Vk=VK_OEM_5/220/0xDC, Scan=43/0x2B, uChar=' '/0/0x0000, Control=0x00000024 (casaC - ecNs)
KEY: ↓, Count=1, Vk=VK_OEM_5/220/0xDC, Scan=43/0x2B, uChar=' '/0/0x0000, Control=0x00000024 (casaC - ecNs)
KEY: ↓, Count=1, Vk=VK_OEM_5/220/0xDC, Scan=43/0x2B, uChar=' '/0/0x0000, Control=0x00000024 (casaC - ecNs)
KEY: ↓, Count=1, Vk=VK_OEM_5/220/0xDC, Scan=43/0x2B, uChar=' '/0/0x0000, Control=0x00000024 (casaC - ecNs)
KEY: ↓, Count=1, Vk=VK_OEM_5/220/0xDC, Scan=43/0x2B, uChar=' '/0/0x0000, Control=0x00000024 (casaC - ecNs)
KEY: ↓, Count=1, Vk=VK_OEM_5/220/0xDC, Scan=43/0x2B, uChar=' '/0/0x0000, Control=0x00000024 (casaC - ecNs)
KEY: ↓, Count=1, Vk=VK_OEM_5/220/0xDC, Scan=43/0x2B, uChar=' '/0/0x0000, Control=0x00000024 (casaC - ecNs)
KEY: ↓, Count=1, Vk=VK_OEM_5/220/0xDC, Scan=43/0x2B, uChar=' '/0/0x0000, Control=0x00000024 (casaC - ecNs)
KEY: ↑, Count=1, Vk=VK_OEM_5/220/0xDC, Scan=43/0x2B, uChar=' '/0/0x0000, Control=0x00000024 (casaC - ecNs)
KEY: ↑, Count=1, Vk=VK_CONTROL/17/0x11, Scan=29/0x1D, uChar=' '/0/0x0000, Control=0x00000120 (casac - EcNs)
MENU: CommandId=WM_INITMENU/278
MENU: CommandId=WM_MENUSELECT/287

I press these keys:
obrazek.png (259,233 bytes)   
obrazek.png (259,233 bytes)   

DrKnS

2024-05-13 18:58

administrator   bugnote:0017563

blabulabul, thank you, it helped.

Please check Far 6334, Ctrl+\ should work there.

I think Ctrl+= (the one left to Backspace) was broken as well, it should work in 6334 too.

blabulabul

2024-05-14 09:57

reporter   bugnote:0017564

It works, thank you!

Issue History

Date Modified Username Field Change
2024-05-02 08:42 blabulabul New Issue
2024-05-02 12:19 HaRT Note Added: 0017549
2024-05-02 12:21 HaRT Note Edited: 0017549
2024-05-02 13:20 JohnDoe Note Added: 0017550
2024-05-02 14:05 JohnDoe Note Edited: 0017550
2024-05-02 17:37 HaRT Note Added: 0017551
2024-05-02 18:50 JohnDoe Note Edited: 0017550
2024-05-02 18:55 JohnDoe Note Added: 0017552
2024-05-02 19:04 JohnDoe Note Edited: 0017552
2024-05-02 20:21 DrKnS Note Added: 0017554
2024-05-02 20:21 DrKnS File Added: cz.png
2024-05-02 20:21 DrKnS File Added: readkey.exe.zip
2024-05-09 09:09 blabulabul Note Added: 0017558
2024-05-09 09:21 blabulabul Note Edited: 0017558
2024-05-09 09:21 blabulabul Note Edited: 0017558
2024-05-09 09:38 blabulabul Note Edited: 0017558
2024-05-09 09:39 blabulabul Note Edited: 0017558
2024-05-09 14:09 JohnDoe Note Added: 0017559
2024-05-09 14:09 JohnDoe Note Edited: 0017559
2024-05-09 17:27 HaRT Note Added: 0017560
2024-05-09 20:34 JohnDoe Note Edited: 0017559
2024-05-09 21:44 DrKnS Note Added: 0017561
2024-05-09 21:44 DrKnS File Added: cz2.png
2024-05-13 13:52 blabulabul Note Added: 0017562
2024-05-13 13:52 blabulabul File Added: obrazek.png
2024-05-13 18:58 DrKnS Note Added: 0017563
2024-05-13 18:58 DrKnS Assigned To => DrKnS
2024-05-13 18:58 DrKnS Status new => assigned
2024-05-14 09:57 blabulabul Note Added: 0017564
2024-05-16 17:14 DrKnS Status assigned => closed
2024-05-16 17:14 DrKnS Resolution open => fixed
2024-05-16 17:14 DrKnS Fixed in Version => 3.0
2024-05-16 17:14 DrKnS Build => 6334