Re: Misplaced IME window in 2.4.0

2024-04-07 Thread Allan Chain
On 2024-04-07 12:38 PM, lyx-devel-requ...@lists.lyx.org wrote: On 2024-04-07 4:15 AM,lyx-devel-requ...@lists.lyx.org wrote: On Sat, Apr 06, 2024 at 04:48:03PM GMT, Allan Chain wrote: Hi Scott, I think its a regression in LyX code. Although the Qt version is different, the code in 2.3.x branch

Re: Misplaced IME window in 2.4.0

2024-04-06 Thread Allan Chain
On 2024-04-07 4:15 AM, lyx-devel-requ...@lists.lyx.org wrote: On Sat, Apr 06, 2024 at 04:48:03PM GMT, Allan Chain wrote: Hi Scott, I think its a regression in LyX code. Although the Qt version is different, the code in 2.3.x branch correctly returns the position of the caret in `GuiWorkArea::in

Re: Misplaced IME window in 2.4.0

2024-04-06 Thread Scott Kostyshak
On Sat, Apr 06, 2024 at 04:48:03PM GMT, Allan Chain wrote: > Hi Scott, > > I think its a regression in LyX code. Although the Qt version is different, > the code in 2.3.x branch correctly returns the position of the caret in > `GuiWorkArea::inputMethodQuery`. However in 2.4.x branch, it returns >

Re: Misplaced IME window in 2.4.0

2024-04-06 Thread Allan Chain
Hi Scott, I think its a regression in LyX code. Although the Qt version is different, the code in 2.3.x branch correctly returns the position of the caret in `GuiWorkArea::inputMethodQuery`. However in 2.4.x branch, it returns `im_cursor_rect_` which is only updated when preedit is enabled.

Re: Misplaced IME window in 2.4.0

2024-04-05 Thread Jürgen Spitzmüller
Am Freitag, dem 05.04.2024 um 23:01 -0400 schrieb Scott Kostyshak: > On Thu, Mar 21, 2024 at 11:31:35AM GMT, Allan Chain wrote: > > Hello, LyX developers! > > > > I'm trying out LyX 2.4.0-rc3 (qt6) on KDE6+Wayland, and I'm using > > fcitx5 to > > input CJK characters. I found that the candidate wi

Re: Misplaced IME window in 2.4.0

2024-04-05 Thread Scott Kostyshak
On Thu, Mar 21, 2024 at 11:31:35AM GMT, Allan Chain wrote: > Hello, LyX developers! > > I'm trying out LyX 2.4.0-rc3 (qt6) on KDE6+Wayland, and I'm using fcitx5 to > input CJK characters. I found that the candidate window of the input method > is always on the top left corner of the window, regard