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

Qt ScreenCapture Example Fails to Capture Screen Content

XMLWordPrintable

    • Linux/Wayland, Windows
    • fcdce53b8 (dev), 217df8f83 (dev), 7a805b99f (6.8), 2cb772c04 (6.8)

      Description:-

      The Qt ScreenCapture example, designed to capture the screen content, encounters a critical issue preventing it from fulfilling its intended functionality. Upon running the application, an error is thrown, stating "failed to grab Screen content."

      Steps to Reproduce:

      1. Build and Run the Qt ScreenCapture example on Linux(Wayland).

      Expected Behavior:

      The application should successfully capture the screen content without any errors.

      Actual Behavior:

      The application throws an error message: "failed to grab Screen content" immediately upon execution, indicating a failure to capture the screen content.

      Environment:

      • Qt Version: 6.5.4
      • Operating System: Ubuntu 22.04

        1. ScreenCaptureBug.webm
          523 kB
          Alber Rizwan
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            liaqi Liang Qi
            alrizwan Alber Rizwan
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes