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

text input v3: disable() request isn't committed

    XMLWordPrintable

Details

    • Linux/Wayland
    • 91462d28f (dev), 957834d52 (6.9), 883e4d262 (6.8)

    Description

       

      In zwp_text_input_v3_leave() there is a call to disable(), but it's not committed. This causes wlroots to not emit the enable event afterwards and so some compositor (e.g. wayfire) no longer enable input method.

      diff --git a/src/client/qwaylandtextinputv3.cpp b/src/client/qwaylandtextinputv3.cpp
      index c4bfebe3..9254cf12 100644
      --- a/src/client/qwaylandtextinputv3.cpp
      +++ b/src/client/qwaylandtextinputv3.cpp
      @@ -69,6 +69,7 @@ void QWaylandTextInputv3::zwp_text_input_v3_leave(struct ::wl_surface *surface)
           m_surface = nullptr;
       
           disable();
      +    commit();
           qCDebug(qLcQpaWaylandTextInput) << Q_FUNC_INFO << "Done";
       }
       

       

       

      Attachments

        For Gerrit Dashboard: QTBUG-132195
        # Subject Branch Project Status CR V

        Activity

          People

            liaqi Liang Qi
            lilydjwg lilydjwg li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes