Bug 438122 - Command bar does not allow input method switching or input
Summary: Command bar does not allow input method switching or input
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Usability (show other bugs)
Version: git master (please specify the git hash!)
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Alvin Wong
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-05 15:32 UTC by Alvin Wong
Modified: 2021-06-09 07:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alvin Wong 2021-06-05 15:32:53 UTC
Windows only. Weird enough it works in the nightly AppImage.
Comment 1 Halla Rempt 2021-06-05 15:42:57 UTC
Really weird, because it's just an ordinary QLineEdit.
Comment 2 Alvin Wong 2021-06-06 06:01:05 UTC
Just by looking at the code, I think it might have something to do with using `setFocusProxy`. I wonder if we can actually change focus instead, but we will also have to somehow restore the original focus afterwards... Or perhaps we can try making it a popup and call `activateWindow` on it...
Comment 3 Alvin Wong 2021-06-09 07:16:27 UTC
Git commit c61db8c268b04181462033eace0b4bf2a7e71b1b by Alvin Wong.
Committed on 09/06/2021 at 07:16.
Pushed by alvinwong into branch 'master'.

Fix using input method in command bar
Related: bug 395598

M  +12   -1    libs/ui/KisMainWindow.cpp

https://invent.kde.org/graphics/krita/commit/c61db8c268b04181462033eace0b4bf2a7e71b1b