albertlauncher / albert

A fast and flexible keyboard launcher
https://albertlauncher.github.io
Other
7.16k stars 303 forks source link

Korean input is not possible in the input window. #1401

Closed chaeya closed 1 month ago

chaeya commented 1 month ago

Package source

https://download.opensuse.org/repositories/home:/manuelschneid3r/xUbuntu_24.04/amd64/albert_0.23.0-0+611.1_amd64.deb

App logs

QT_LOGGING_RULES='albert*=true' albert --platform xcb                                                                                                 325  16:11:45   
16:11:46 [debg:albert]        Albert version: 0.23.0
16:11:46 [debg:albert]            Build date: Apr 28 2024 07:41:00
16:11:46 [debg:albert]            Qt version: 6.4.2
16:11:46 [debg:albert]             Build ABI: x86_64-little_endian-lp64
16:11:46 [debg:albert]    Build architecture: x86_64
16:11:46 [debg:albert]      CPU architecture: x86_64
16:11:46 [debg:albert]           Kernel type: linux
16:11:46 [debg:albert]        Kernel version: 6.8.0-35-generic
16:11:46 [debg:albert]                    OS: Ubuntu 24.04 LTS
16:11:46 [debg:albert]               OS type: ubuntu
16:11:46 [debg:albert]            OS version: 24.04
16:11:46 [debg:albert]         Platform name: xcb
16:11:46 [debg:albert]            Style name: fusion
16:11:46 [debg:albert]      Available styles: Windows, Fusion
16:11:46 [debg:albert]            Icon theme: Stylish
16:11:46 [debg:albert]                  Font: Sans,9,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
16:11:46 [debg:albert]              Language: Korean
16:11:46 [debg:albert]                Locale: ko_KR
16:11:46 [debg:albert]       Binary location: /usr/bin/albert
16:11:46 [debg:albert]           Working dir: /home/hamonikr/workspaces
16:11:46 [debg:albert]             Arguments: albert
16:11:46 [debg:albert]                 $LANG: ko_KR.UTF-8
16:11:46 [debg:albert] $QT_QPA_PLATFORMTHEME: 
16:11:46 [debg:albert]                 $PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
16:11:46 [debg:albert]                $SHELL: /usr/bin/zsh
16:11:46 [debg:albert]     $XDG_SESSION_TYPE: x11
16:11:46 [debg:albert]  $XDG_CURRENT_DESKTOP: X-Cinnamon
16:11:46 [debg:albert]      $DESKTOP_SESSION: cinnamon
16:11:46 [debg:albert]  $XDG_SESSION_DESKTOP: cinnamon
16:11:46 [debg:albert] Checking for a running instance…
16:11:46 [crit:albert] Albert has not been terminated properly. Please check your logs and report an issue.
16:11:46 [debg:albert] Creating local server /home/hamonikr/.cache/albert/ipc_socket
16:11:46 [debg:albert] Connecting to database…
16:11:46 [debg:albert] Initializing database…
16:11:46 [debg:albert] Updating usage scores…
16:11:46 [debg:albert] Searching native plugins in /usr/lib/x86_64-linux-gnu/albert
16:11:46 [debg:albert] Found valid native plugin /usr/lib/x86_64-linux-gnu/albert/libwidgetsboxmodel.so
16:11:46 [debg:albert] Found valid native plugin /usr/lib/x86_64-linux-gnu/albert/libsystem.so
16:11:46 [debg:albert] Found valid native plugin /usr/lib/x86_64-linux-gnu/albert/libcalculator_qalculate.so
16:11:46 [debg:albert] Found valid native plugin /usr/lib/x86_64-linux-gnu/albert/libchromium.so
16:11:46 [debg:albert] Found valid native plugin /usr/lib/x86_64-linux-gnu/albert/liburlhandler.so
16:11:46 [debg:albert] Found valid native plugin /usr/lib/x86_64-linux-gnu/albert/libdatetime.so
16:11:46 [debg:albert] Found valid native plugin /usr/lib/x86_64-linux-gnu/albert/libdocs.so
16:11:46 [debg:albert] Found valid native plugin /usr/lib/x86_64-linux-gnu/albert/libclipboard.so
16:11:46 [debg:albert] Found valid native plugin /usr/lib/x86_64-linux-gnu/albert/libpython.so
16:11:46 [debg:albert] Found valid native plugin /usr/lib/x86_64-linux-gnu/albert/libssh.so
16:11:46 [debg:albert] Found valid native plugin /usr/lib/x86_64-linux-gnu/albert/libapplications_xdg.so
16:11:46 [debg:albert] Found valid native plugin /usr/lib/x86_64-linux-gnu/albert/libhash.so
16:11:46 [debg:albert] Found valid native plugin /usr/lib/x86_64-linux-gnu/albert/libsnippets.so
16:11:46 [debg:albert] Found valid native plugin /usr/lib/x86_64-linux-gnu/albert/libterminal.so
16:11:46 [debg:albert] Found valid native plugin /usr/lib/x86_64-linux-gnu/albert/libwebsearch.so
16:11:46 [debg:albert] Found valid native plugin /usr/lib/x86_64-linux-gnu/albert/libmpris.so
16:11:46 [debg:albert] Found valid native plugin /usr/lib/x86_64-linux-gnu/albert/libfiles.so
16:11:47 [info:albert] Hotkey set to Ctrl+Space

Current Behavior

After installing the program, when I try to input Korean into the input window, the input does not work. The terminal or editor environment is in Korean. Only English can be input.

Expected Behavior

In previous versions, Korean input worked well.

Anything else?

No response

gbdngb12 commented 1 month ago

Please tell me about the input method environment you are using. "I think it's an issue with the Korean input method related to QT6. In my environment (https://github.com/Riey/kime), since QT6 Korean input is supported, if you place the file https://github.com/Riey/kime/releases/download/v3.0.2/libkime-qt-6.0.2.so in the directory /usr/lib/x86_64-linux-gnu/qt6/plugins/platforminputcontexts/, Korean input works well.

ManuelSchneid3r commented 1 month ago

@chaeya does kime work for you?

chaeya commented 1 month ago

@gbdngb12 @ManuelSchneid3r thank you As you mentioned, it is an issue with the input method you are using. I confirmed that it works properly with ibus and kime.