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

Context search has incorrect symbol #49

Closed
Golyshkin opened this issue Jan 25, 2024 · 30 comments
Closed

Context search has incorrect symbol #49

Golyshkin opened this issue Jan 25, 2024 · 30 comments

Comments

@Golyshkin
Copy link

Golyshkin commented Jan 25, 2024

Pre-Condition:

  1. System has Russian & English installed languages
  2. Currently set an ENG mode
  3. Opened any folder with existed files

Test Steps:

  1. Press ALT_LEFT for activate context search in file panel
  2. Press tmp symbols

Actual Result:

  1. first russian symbol is typed as showed on the screen

Expected Result:

  1. All symbols SHOULD be according to actual selected language

image

@shmuz
Copy link
Owner

shmuz commented Jan 25, 2024

LEFT+ALT should not activate Quick Search. And it doesn't activate it on my machine.
Do you have a macro with key="AltLeft" ? If yes then please show me it.

@Golyshkin
Copy link
Author

Yes, you right. AltLeft+Symbols activates a quick search. I meant this one.

@shmuz
Copy link
Owner

shmuz commented Jan 25, 2024

What key combination is used to switch languages?

@Golyshkin
Copy link
Author

What key combination is used to switch languages?

SUPER (Window Key) + SPACE

@shmuz
Copy link
Owner

shmuz commented Jan 25, 2024

My system also has English + Russian.
I go to / directory (which has tmp subdirectory),
Then I repeat your actions and the problem is not reproduced.

Do you have any macros installed?
It can be checked by selecting 'Macro Browser' from the Plugins Menu (F11)

@Golyshkin
Copy link
Author

Golyshkin commented Jan 25, 2024

image

  • I have some standard macros from far showed below

image

MacroBrowser output below:

image

@shmuz
Copy link
Owner

shmuz commented Jan 25, 2024

Please make a ZIP with all your macro-files and attach it here.

@Golyshkin
Copy link
Author

scripts.zip

@shmuz
Copy link
Owner

shmuz commented Jan 25, 2024

Unfortunately, even when I replace my macros with yours the problem is not reproduced.
If the current language is English I see tmp in the quick search window
If the current language is Russian I see еьз

What is your operating system name and version?

@Golyshkin
Copy link
Author

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

@shmuz
Copy link
Owner

shmuz commented Jan 25, 2024

I've just tried it on Ubuntu 23.10

  • with your macros
  • with SUPER (Window Key) + SPACE for switching languages

No luck, it is not reproduced.

You may try to collect additional info:

  1. how it behaves with far2m in TTY mode (far2m --tty)
  2. try it on another system if it is possible

@Golyshkin
Copy link
Author

Golyshkin commented Jan 25, 2024

Thnx. I have tried the --tty option and can confirm that issue is not reproduced with this flag. Further, I have analyzed my {{Far2m.desktop}}

[Desktop Entry]
Type=Application
Name=far2m
GenericName=far2m
Comment=File and archive manager
Exec=env LC_ALL=ru_RU.UTF-8 GDK_BACKEND=x11 /usr/local/bin/far2m
TryExec=/usr/local/bin/far2m
Terminal=false
Categories=Utility;FileManager;
Icon=far2m
StartupNotify=true

and found that issue happened because
Exec=env LC_ALL=ru_RU.UTF-8 GDK_BACKEND=x11 /usr/local/bin/far2m

The correct EXEC string is following
Exec=/usr/local/bin/far2m

The both languages ENG & RUS are working fine. Probably I had added this ENV for FAR2M which had some problems with it.

@Golyshkin
Copy link
Author

Could you test the
Exec=env GDK_BACKEND=x11 /usr/local/bin/far2m
I would like to use it and issue can be reproduced!

@shmuz
Copy link
Owner

shmuz commented Jan 25, 2024

I tested it under Mint 21.2 and Ubuntu 23.10 and verified that under the running far2m GDK_BACKEND=x11
The issue is not reproduced.

@Golyshkin
Copy link
Author

Its very strange, on my PC with this ENV 100% reproducible...

@shmuz
Copy link
Owner

shmuz commented Jan 25, 2024

The problem can be found on the system where the problem exists.
I don't know what I can do if it does not reproduce.

@Golyshkin
Copy link
Author

OK, disabled GDK_BACKEND=x11 at current moment

@shmuz
Copy link
Owner

shmuz commented Jan 25, 2024

We may leave this issue open.

@shmuz
Copy link
Owner

shmuz commented Feb 3, 2024

Closing, with any new data it may be reopened.

@shmuz shmuz closed this as not planned Won't fix, can't repro, duplicate, stale Feb 3, 2024
@shmuz
Copy link
Owner

shmuz commented Feb 4, 2024

Need to be tested under Wayland environment.

@shmuz
Copy link
Owner

shmuz commented Apr 13, 2024

Now I was able to reproduce the issue.
I have 2 keyboard layouts defined: English and Russian.
The issue does not exist when English is defined as the 1-st layout.
But when I set Russian as the 1-st layout the issue appeared.
It is probably related to wxWidgets library but upgrading the latter to version 3.2 did not help.

@akruphi
Copy link

akruphi commented Apr 15, 2024

Очень интересно, что протестил в far2l-GUI (под X11) обратную ситуацию: раскладки English (по умолчанию) + Russian. Делаю Alt+ по английской, ловит русскую:
image

Фича внутри общего кода с far2l.

@shmuz
Copy link
Owner

shmuz commented Apr 15, 2024

@akruphi
Это поведение правильное, соответствует состоянию опции на картинке внизу.

image

@Golyshkin
Copy link
Author

@akruphi Это поведение правильное, соответствует состоянию опции на картинке внизу.

image

Ага, если ее отключить, то первый символ ВООБЩЕ не ловистся ни русский ни английский...

@shmuz
Copy link
Owner

shmuz commented May 9, 2024

Ага, если ее отключить, то первый символ ВООБЩЕ не ловистся ни русский ни английский...

Не могу с этим согласиться. Сейчас произвёл проверку на Ubuntu 22.04.

@Golyshkin
Copy link
Author

Ага, если ее отключить, то первый символ ВООБЩЕ не ловистся ни русский ни английский...

Не могу с этим согласиться. Сейчас произвёл проверку на Ubuntu 22.04.

А у меня, как всегда, 100% reproducibility...

@shmuz
Copy link
Owner

shmuz commented Nov 11, 2024

@Golyshkin
Не так давно был коммит, влияющий на отображение символов при Fast Find.
Возможно ваша проблема при этом разрешилась, имеет смысл проверить.

@Golyshkin
Copy link
Author

@Golyshkin Не так давно был коммит, влияющий на отображение символов при Fast Find. Возможно ваша проблема при этом разрешилась, имеет смысл проверить.

Привет, да, вроде пофиксилось на version 2.6.0-2024-11-18-990b283e-beta Linux x86_64

Осталось еще пофиксить NUM клавиши если запускаемся через Wayland. На X11 не воспроизводится если запускать через

Exec=env LC_ALL=ru_RU.UTF-8 GDK_BACKEND=x11 /usr/local/bin/far2m

@shmuz
Copy link
Owner

shmuz commented Dec 5, 2024

Если пофиксилось, то закрываю.

Осталось еще пофиксить NUM клавиши если запускаемся через Wayland.

Вы имеете в виду #51 ?
Так я же там указал причину - проблема в версии 3.0 библиотеки wxGTK. На версии 3.2 проблемы нет.
Там же я привёл команды для бэкпортирования wxGTK 3.2 в Ubuntu 22.04. Я тогда реально сделал это на своей Ubuntu 22.04, и проблема ушла.

@shmuz shmuz closed this as completed Dec 5, 2024
@Golyshkin
Copy link
Author

Если пофиксилось, то закрываю.

Осталось еще пофиксить NUM клавиши если запускаемся через Wayland.

Вы имеете в виду #51 ? Так я же там указал причину - проблема в версии 3.0 библиотеки wxGTK. На версии 3.2 проблемы нет. Там же я привёл команды для бэкпортирования wxGTK 3.2 в Ubuntu 22.04. Я тогда реально сделал это на своей Ubuntu 22.04, и проблема ушла.

Да, обновил тикет #51, появились другие проблемы, но решились. Спасибо!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants