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

            Bug ID: 489670
           Summary: Snap: no camera and no about page on Kubuntu 24.04
    Classification: Applications
           Product: Qrca
           Version: unspecified
          Platform: Snap
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: j...@kaidan.im
          Reporter: bugs....@raiko-schmidt.de
                CC: nicolas.fe...@gmx.de
  Target Milestone: ---

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
The app can only generate QR codes. However, it is not possible to decode a QR
code with the camera or from an image or to display the about page.

STEPS TO REPRODUCE
1. Install via Discover or "snap install qrca"
2. run it


OBSERVED RESULT
After startup & menu option "Scannen" there is an empty side with only the menu
button and the title "Scan QR code"
console output:
  kf.kirigami: Failed to find a Kirigami platform plugin
  ALSA lib conf.c:4553:(snd_config_update_r) Cannot access file
/usr/share/alsa/alsa.conf
  Focus points mode selection is not supported
  Focus mode selection is not supported
  qrc:/QrCodeScannerPage.qml:148: TypeError: Cannot read property 'contentType'
of undefined
  qrc:/QrCodeScannerPage.qml:101: TypeError: Cannot read property 'contentType'
of undefined
  qrc:/QrCodeScannerPage.qml:162: TypeError: Cannot read property 'contentType'
of undefined
  qrc:/QrCodeScannerPage.qml:52: TypeError: Cannot read property 'contentType'
of undefined
  qrc:/QrCodeScannerPage.qml:83: TypeError: Cannot read property 'contentType'
of undefined
  qrc:/QrCodeScannerPage.qml:148: TypeError: Cannot read property 'contentType'
of undefined
  qrc:/QrCodeScannerPage.qml:101: TypeError: Cannot read property 'contentType'
of undefined
  qrc:/QrCodeScannerPage.qml:162: TypeError: Cannot read property 'contentType'
of undefined
  qrc:/QrCodeScannerPage.qml:52: TypeError: Cannot read property 'contentType'
of undefined
  qrc:/QrCodeScannerPage.qml:83: TypeError: Cannot read property 'contentType'
of undefined

When I try to allow the camera for the snap via "snap connect qrca:camera",
this fails. A check of the possible plugs via "snap connections qrca" does not
list the camera either. So the snap cannot use it.
The reason for this is probably that no plug for camera is defined in the
source code under qrca/snapcraft.yaml.


Under menu item "Über" (about?) there is also a blank page with the menu
button, but without a title.
console output:
  kf.kirigami: (qrc:/AboutPage.qml:8:1: module
"org.kde.kirigamiaddons.formcard" is not installed
      import org.kde.kirigamiaddons.formcard 1.0 as FormCard
      ^)



EXPECTED RESULT
If I can install it via Discover or snap on a desktop system, it should work
with all the options displayed in the GUI or CLI.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 24.04
(available in About System)
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13

ADDITIONAL INFORMATION
snap    2.63+24.04
snapd   2.63+24.04

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

Reply via email to