Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.14.0
-
None
-
-
54aa63be9b74e8de72db9efbe6809ab1a97b29a7 (qt/qtbase/dev) a610e9de778facbbce924be12881b75982692dad (qt/qtbase/5.15)
Description
Since https://github.com/ibus/ibus/commit/8ce25208c3f4adfd290a032c6aa739d2b7580eb1, IBus will prefer the WAYLAND_DISPLAY environment variable content to create a socket filename, in order to have IBus daemons and clients talk through this private bus.
Qt reimplements the code that finds the IBus socket file, thus needs updating to the same logic in order to talk with IBus properly. Please find attached a patch that should make the IBus-based input method use this newer path if the socket file exists, and fallback to the traditional path otherwise.
This should cater for Qt apps (doesn't matter if x11 or wayland backend) in both x11/wayland sessions.
Attachments
For Gerrit Dashboard: QTBUG-82910 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
299182,6 | IBus: Use WAYLAND_DISPLAY on Wayland sessions to make up socket names | dev | qt/qtbase | Status: MERGED | +2 | 0 |
301398,2 | IBus: Use WAYLAND_DISPLAY on Wayland sessions to make up socket names | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |