Bug 155074 - libreoffice with qt5 frontend fcitx5-qt5 in plasma X11
Summary: libreoffice with qt5 frontend fcitx5-qt5 in plasma X11
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.5.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: CJK
  Show dependency treegraph
 
Reported: 2023-04-29 03:08 UTC by iclementine
Modified: 2023-05-02 08:39 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
libreoffice-qt5 wrong popup position (97.00 KB, image/jpeg)
2023-04-29 03:21 UTC, iclementine
Details
libreoffice-gtk3 popup right position (93.40 KB, image/jpeg)
2023-04-29 03:21 UTC, iclementine
Details
firefox popup right position (123.33 KB, image/jpeg)
2023-04-29 03:22 UTC, iclementine
Details
kate popup right position (76.96 KB, image/jpeg)
2023-04-29 03:22 UTC, iclementine
Details
konsole popup right position (47.74 KB, image/jpeg)
2023-04-29 03:22 UTC, iclementine
Details

Note You need to log in before you can comment on or make changes to this bug.
Description iclementine 2023-04-29 03:08:29 UTC
Description:
In latest openSUSE Tumbleweed(2023/04/24 or maybe some earlier snapshots), I use plasma desktop on X11. I installed libreoffice 7.5.22 with qt5 frontend(vcl kf5), and fcitx5 with qt5 frontend support.

But When I type chinese characters in libreoffice programs, the candidate list(a popup expected to move as the cursor moves and stay very close to the cursor) does not show in the right position. It follows the cursor, but not close enought to the cursor.

In other softwares like firefox (with gtk3 interface) and other softwares with qt5 interface(like konsole, kate), the popup is shown in the right position.

I also tried remove libreoffice-qt5 and install libreoffice-gtk3, then the popup position is also right.

Steps to Reproduce:
1. Install libreoffice on a recent release of rolling distribution of linux( openSUSE Tumbleweed or arch linux for example);
2. Install libreoffice qt5 interface;
3. Install fcitx5 with qt5 support and install some chinese input method(so as to show the popup while typing);
4. Use plasmashell on X11(maybe this is not necessary to be plasma or X11);
5. open a new libreoffice writer(other components can also reproduce) and type in chinese.

Actual Results:
popup show in a position that follow the cursor and but not right below the cursor, but roughly a line under the cursor.u

Expected Results:
popup show in a position that follow the cursor and right below the cursor.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)
CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: zh-CN (zh_CN.UTF-8); UI: zh-CN
Calc: threaded
Comment 1 iclementine 2023-04-29 03:21:10 UTC
Created attachment 186996 [details]
libreoffice-qt5 wrong popup position
Comment 2 iclementine 2023-04-29 03:21:46 UTC
Created attachment 186997 [details]
libreoffice-gtk3 popup right position
Comment 3 iclementine 2023-04-29 03:22:10 UTC
Created attachment 186998 [details]
firefox popup right position
Comment 4 iclementine 2023-04-29 03:22:27 UTC
Created attachment 186999 [details]
kate popup right position
Comment 5 iclementine 2023-04-29 03:22:49 UTC
Created attachment 187000 [details]
konsole popup right position
Comment 6 Stéphane Guillou (stragu) 2023-05-02 08:39:47 UTC
Thanks for the report, iclementine!
Please don't set your own reports to "new" as others have to confirm they also see the issue.
Did this issue start with LibreOffice 7.5, or was it present before?

Could you please test running LibreOffice with the qt5 VCL, with the following commande:

SAL_USE_VCLPLUGIN=qt5 libreoffice

Does the issue remain?