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

Camera already in use causes issues on linux.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.10
    • Multimedia
    • Linux / Ubuntu 25.04
    • Linux/Wayland

      Qt widgets camera examples doesn't handle missing camera input properly. Linux only allows one application to access a camera at a time.

      Steps to reproduce:

              Run the camera example.
              Run the camera example again without closing the original application - you should get a warning that the camera is not available

      Expected behavior:

      The application should not display a camera feed as it is already being used in the already running example.

      Buttons should ideally be greyed out/not interactable until camera input is available.

      Observed behavior:

      All UI elements are still interactable.

      Label where the camera playback should show has strange artifacts.

      Equipment:

      Logitech C920 HD Pro Webcam

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

            qtmultimediateam Qt Multimedia Team
            broved Bror Vedeld
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes