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

Firefox inside qt wayland compositor doesn't receive any keyboard input

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.8.1
    • Wayland Compositor
    • None
    • Linux/Wayland, Linux/X11

    Description

      I have been playing with Qt Wayland Compositor and especially the "fancy-compositor" example, I've tried to run it on both X11 and Wayland (wayland-1 socket), I tried `gnome-terminal`, `gnome-calculator`, `gedit`, `chromium`, they all work fine except `firefox`, apparently I couldn't type anything (in any text input or shortcut) in firefox app.

      I tried to set `WAYLAND_DEBUG=1` when launching firefox and see some keyboard events:

      [4161902.705] wl_keyboard@25.key(538, 868696, 38, 1)
      [4161958.909] wl_keyboard@25.key(539, 868753, 38, 0)
      [4162064.042] wl_keyboard@25.key(540, 868858, 38, 1)
      [4162126.880] wl_keyboard@25.key(541, 868920, 38, 0)
      [4162223.454] wl_keyboard@25.key(542, 869017, 38, 1)
      [4162284.389] wl_keyboard@25.key(543, 869078, 38, 0)
      [4162385.488] wl_keyboard@25.key(544, 869179, 38, 1)
      [4162447.832] wl_keyboard@25.key(545, 869242, 38, 0)
      [4162548.909] wl_keyboard@25.key(546, 869343, 38, 1)
      [4162612.007] wl_keyboard@25.key(547, 869406, 38, 0)
      [4162712.631] wl_keyboard@25.key(548, 869506, 38, 1)
      [4162774.996] wl_keyboard@25.key(549, 869568, 38, 0)
      [4162875.164] wl_keyboard@25.key(550, 869669, 38, 1)
      [4162929.938] wl_keyboard@25.key(551, 869724, 38, 0) 

      But firefox still doesn't receive keyboard input while it worked normally on mutter, weston, sway, ... so I think this would be an issue on Qt Wayland Compositor?

      I started `fancy-compositor` by adding arguments:

      fancy-compositor --wayland-socket-name wayland-1 

      And launched firefox by using this command:

      WAYLAND_DEBUG=client DISPLAY= WAYLAND_DISPLAY=wayland-1 firefox --new-window google.com
       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            crziter Binh Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes