Skip to content

update objectIdFromProperties, fallback to device.path when is empty str

This is one piece of the puzzle to solve:

On my laptop, a Lenovo ThinkPad T580, structureValue(st, "") returns the empty string.

When Kamoso tries to switch the camera here it compares m_currentDevice with device->objectId()

Because both are the empty-string, the camera device is not changed.

Please let me know if there is a better way to fix this.

Part 2 of this bug is harder to fix.

QQC2.ComboBox {
  id: camerasCombo

The dropdown value of the combobox is hidden behind the settings panel. I'll try to figure out how to bring it forward, but I'll submit that is a different request.

Edited by Joost VanDorp

Merge request reports