https://bugs.kde.org/show_bug.cgi?id=528626

            Bug ID: 528626
           Summary: Chosen camera is not remembered across restarts
                    (stores volatile PipeWire object.id)
    Classification: Applications
           Product: kamoso
      Version First 26.08.1
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
Kamoso stores the chosen camera as "deviceObjectId" in kamosorc, which holds
the
PipeWire object.id. PipeWire reassigns these ids whenever nodes are recreated
(reboot, replugging the camera, restarting PipeWire/WirePlumber). Afterwards
the
saved id matches nothing, so Kamoso falls back to the first camera, or it
matches
a different camera.

In addition, Kamoso saves the camera in use on every exit, so starting it once
while the preferred camera is unplugged overwrites the user's choice.

STEPS TO REPRODUCE
1. Connect two cameras (here: built-in camera and a Logitech C920).
2. In Kamoso, choose the camera that is not the PipeWire default, then close
Kamoso.
3. Run "systemctl --user restart wireplumber" (or reboot).
4. Open Kamoso again.

OBSERVED RESULT
Kamoso uses the default camera instead of the chosen one. In kamosorc,
deviceObjectId still holds the old id (e.g. 37), while the camera now has id
61.

EXPECTED RESULT
Kamoso uses the camera chosen in step 2.

SOFTWARE/OS VERSIONS
Kamoso 26.08.1, Fedora 44, KDE Frameworks 6.31, Qt 6.11.2,
PipeWire/WirePlumber 1.6.10

ADDITIONAL INFORMATION
A merge request with a fix follows.

DESCRIPTION


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to