https://bugs.kde.org/show_bug.cgi?id=478960
Bug ID: 478960 Summary: Incorrect IME position when window wider than editor width Classification: Applications Product: ghostwriter Version: 23.08.4 Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: megan.con...@kdemail.net Reporter: jich...@gmail.com Target Milestone: --- Created attachment 164417 --> https://bugs.kde.org/attachment.cgi?id=164417&action=edit Screenshots showing correct and incorrect IME positions SUMMARY This is similar / related to bug 460158 (https://bugs.kde.org/show_bug.cgi?id=460158), but while the commit linked in the bug fixed IME window positioning in some cases, there are other cases where it's still not working correctly. Specifically: - When the editor width is set to "Full", or the window is narrower than the selected editor width, the IME window is positioned correctly right below the cursor. - However, when the editor width is set to anything other than "Full", e.g. "Narrow", "Medium" or "Wide", and the window is wider than the selected editor width, the IME window is positioned way off to the left of where the cursor is. This is not the expected behavior as the IME window should be positioned in the same way right below the cursor. STEPS TO REPRODUCE 1. Set editor width to anything other than "Full", e.g. "Narrow". 2. Maximize the window, or otherwise resize the window to be wide enough to produce margins to the left and right of the content. 3. Enable an IME for CJK languages such as fcitx and start typing. OBSERVED RESULT The IME window (showing CJK word candidates) appears far to the left of where the cursor is - see 3rd screenshot in attached file. EXPECTED RESULT The IME window should appear right below the cursor, as it does when editor width is set to "Full" - see 1st and 2nd screenshots in attached file. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: 6.6.7-arch1-1 (available in About System) KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.113.0 Qt Version: 5.15.11 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.