| Summary: | Fcitx IME candidate list has wrong position/size in some Qt6 apps on HiDPI Wayland | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | hexchain <kde> |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED DOWNSTREAM | ||
| Severity: | normal | CC: | qydwhotmail |
| Priority: | NOR | ||
| Version First Reported In: | 5.26.90 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
IME window position in Telegram
IME window size in qdbusviewer6 |
||
Created attachment 155469 [details]
IME window size in qdbusviewer6
Qt 6.5.4? Sorry, should be 6.4.2. Qt6 in kde-unstable has been updated to 6.5.0beta2 today (and I just realized it was beta1, not beta3 - sorry for the confusion!) and Fcitx's candidate list is back to normal (no longer 2x stretched). The other issue with Telegram still exists. (In reply to hexchain from comment #4) > Qt6 in kde-unstable has been updated to 6.5.0beta2 today (and I just > realized it was beta1, not beta3 - sorry for the confusion!) and Fcitx's > candidate list is back to normal (no longer 2x stretched). > > The other issue with Telegram still exists. For some reason, the issue with Qt 6.5.0beta* is happening again. I was not sure why it become normal that day. As a side note, I've done some tests with both KWin 5.26 and 5.27 in nested mode, and it didn't happen in 5.26 (in qdbusviewer6, the candidate window size is correct). The issue with Qt 6.5 (oversized candidate window) seems to be fcitx5-qt having problems when fractional scaling is present. I've opened a bug report for it: https://github.com/fcitx/fcitx5-qt/issues/38 |
Created attachment 155468 [details] IME window position in Telegram SUMMARY On HiDPI Wayland, in Telegram flatpak (which uses Qt 6.4.2), the candidate list window is placed away from the cursor but close to the top left screen. It seems to be at screen position (dx/2, dy/2), where dx and dy are roughly the relative positions of the text cursor inside the window. This happens regardless of whether Kimpanel is active. Also, with Qt 6.5.0beta3 (in Arch Linux kde-unstable), the candidate window is at the correct position but twice as large. It also looks stretched. Kimpanel doesn't seem to be able to replace the candidate window in Qt6 apps. This does not happen with Qt 6.5.4 (the window position is also correct) STEPS TO REPRODUCE 1. Type some text with an IME. OBSERVED RESULT Please see the attached screenshots. EXPECTED RESULT The candidate window should be at the correct position with the right size. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.26.90 KDE Frameworks Version: 5.102.0 Qt Version: 5.15.8 and 6.5.0beta3 Kernel Version: 6.1.7-arch1-1 (64-bit) Graphics Platform: Wayland