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

[Boot2Qt][Wayland] The app exits abnormally (255) with "Can't attach with an offset" error

    XMLWordPrintable

Details

    • Linux/Yocto

    Description

      Host: Linux Ubuntu 22.04 
      Qt Creator 12.0.0
      Device: Raspberry Pi4 64 bit

      Steps to reproduce:

      1. It's reproducible with almost every dialog, but let's use any app with QColorDialog, e.g.: https://doc.qt.io/qt-6/qtwidgets-dialogs-standarddialogs-example.html
      2. Run the app on the target device with wayland platform
      3. Open color dialog.
      4. Left-click the color from the basic colors palette.
      5. Move the mouse without releasing the mouse button.

      Expected: The app runs without any issues.

      Actual: The app exits.

      Reproducibility:  100%

      [ 662662.916]  -> wl_shm_pool@54.create_buffer(new id wl_buffer@55, 0, 28, 24, 112, 0)
      [ 662663.256]  -> wl_surface@49.frame(new id wl_callback@56)
      [ 662663.337]  -> wl_surface@49.attach(wl_buffer@55, 10, 10)
      [ 662663.379]  -> wl_surface@49.damage_buffer(0, 0, 28, 24)
      [ 662663.416]  -> wl_surface@49.commit()
      [ 662664.866] wl_display@1.delete_id(51)
      [ 662664.933] wl_display@1.delete_id(52)
      [ 662664.965] wl_display@1.delete_id(44)
      [ 662664.994] wl_display@1.error(wl_surface@49, 3, "Can't attach with an offset")
      wl_surface@49: error 3: Can't attach with an offset
      [ 662665.009] wl_pointer@15.leave(1314, wl_surface@29)
      The Wayland connection experienced a fatal error: Protocol error
      quit
      Process exited with exit code 255 

      Attachments

        Issue Links

          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
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes