Bug 512160

Summary: stop using camera when switching to "create" tab
Product: [Applications] Qrca Reporter: Johann G. <kde>
Component: generalAssignee: Jonah Brüchert <jbb>
Status: REPORTED ---    
Severity: wishlist CC: kde, nicolas.fella
Priority: NOR    
Version First Reported In: 25.08.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Johann G. 2025-11-15 22:04:21 UTC
SUMMARY
Qrca allows to create QR codes. When I click on the button to create a QR code I notice that the activity light on my camera stays on.

STEPS TO REPRODUCE
1. open Qrca
2. click button to create QR code
3. enter data for QR code
4. quit Qrca

OBSERVED RESULT
The camera activity light stays on all the time that Qrca is running.

EXPECTED RESULT
When switching away from the camera view (step 2), the camera is not used and thus the activity light should go out.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 43
KDE Plasma Version: 6.5.2
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.7-300.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 16 GiB of RAM (15.4 GiB usable)
Graphics Processor: Intel® HD Graphics 520

ADDITIONAL INFORMATION
While trying around I noticed that the camera activity light *does* go out if I open an image to be scanned instead, and from that state only turns back on when I dismiss the image. :)