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

Cannot grab the screen content on Linux with Wayland display system

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.8.0 Beta4
    • Multimedia
    • None
    • Linux/Wayland

      Linux Ubuntu 22.04.4 / Wayland

      Qt Creator 14.0.2

      Steps to reproduce:

      1. Open screen capture example and run it on Linux with Wayland.

       

      Expected: The screen content is grabbed. 

      Actual: The error appears that screen content cannot be grabbed, screen preview is transparent and no window is detected. No issue with Ubuntu on Xorg.

      Attached wayland debug logs.

      Reproducibility:  100%

       

       

        1. wayland_debug_screencapture.txt
          116 kB
          Łukasz Kosiorowski
        2. Screenshot from 2024-09-12 21-31-33.png
          27 kB
          Łukasz Kosiorowski
        3. Screenshot from 2024-09-12 21-29-57.png
          17 kB
          Łukasz Kosiorowski
        4. Screenshot from 2024-09-20 10-58-02.png
          136 kB
          Łukasz Kosiorowski
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            liaqi Liang Qi
            lkos Łukasz Kosiorowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes