Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-82910

Adapt to IBus socket path changes

    XMLWordPrintable

Details

    • Linux/Wayland, Linux/X11
    • 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

        Activity

          People

            Unassigned Unassigned
            garnacho Carlos Garnacho
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: