Bug 32694

Summary: Nothing happens when you launch qflipper from Menu. It works from AppImage
Product: Mageia Reporter: I027614 I027614 <I027614>
Component: RPM PackagesAssignee: David GEIGER <geiger.david68210>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: lewyssmith
Version: 9   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
URL: I027614@gmail.com
Whiteboard:
Source RPM: qflipper.1.3.2-1.mga9.src.rpm CVE:
Status comment:

Description I027614 I027614 2024-01-05 23:14:53 CET
Description of problem:

When launching qflipper from Menu nothing happens. When launched from console you get:

qFlipper
13 [default] QQmlApplicationEngine failed to load component
13 [default] qrc:/main.qml:2:1: module "QtQuick.Window" is not installed
13 [default] qrc:/main.qml: module "QtQml.WorkerScript" is not installed
13 [default] qrc:/main.qml:2:1: module "QtQuick.Window" is not installed
13 [default] qrc:/main.qml: module "QtQml.WorkerScript" is not installed
13 [APP] qFlipper version 1.3.2 commit 7b0839e 2023-06-08T12:58:22
13 [APP] OS info: Mageia 9 9 6.5.13-desktop-6.mga9 Qt 6.4.1

After installing qtdeclarative6 the graphic environment works, but it doesn't recognize the device. Apparently a question of permissions.

It works from its AppImage.

Version-Release number of selected component (if applicable):

qflipper.1.3.2-1.mga9

How reproducible:

Installing qflipper from repositories and running it

Steps to Reproduce:
1. Install qflipper from repositories
2. Run it
3. Install qtdeclarative6 and run qflipper. Connect a Flipper Zero device through USB
4. Run qflipper from AppImage to compare
I027614 I027614 2024-01-05 23:16:01 CET

Source RPM: qflipper.1.3.2-1.mga9 => qflipper.1.3.2-1.mga9.src.rpm

Comment 1 Lewis Smith 2024-01-09 19:17:18 CET
Thank you for the report.

Description : Desktop application for updating Flipper Zero firmware via PC.
Group       : System/Kernel and hardware

Re the requirement you discovered for qtdeclarative6, it is true that currently qflipper has no even indirect declared requirement for it; and conversely, qtdeclarative[5|6] is not required even indirectly by qflipper.

Installed & ran qFlipper, Confirmed the terminal output in comment 0.
Installed qtdeclarative6, running qFlipper from menu or terminal pops its primitive GUI "Connect your Flipper"; "Waiting for devices"; and this is logged:
[APP] qFlipper version 1.3.2 commit 7b0839e 2023-06-08T12:58:22
[APP] OS info: Mageia 9 9 6.5.13-desktop-6.mga9 Qt 6.4.1

So we need to see why the device - what is it? - is not seen. If it is a USB thingy, please pôst the O/P of:
 $ lsusb
or if a PCI device:
 $ lspci

A newer version: 1.3.3 exists in Cauldron. Maybe it would be simplest to try that. It was done by DavidG, so assigning this bug to him to make that available. Oh - and add the requirement for 'qtdeclarative6'.

@I027614 I027614
Are you able to get things from updates_testing repository if required? You would be the best person to try the update if David does it.

Assignee: bugsquad => geiger.david68210
CC: (none) => lewyssmith

Comment 2 I027614 I027614 2024-01-10 20:31:24 CET
Hello.

The device is a Flipper Zero (connected through USB).

lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 010: ID 0b05:190e ASUSTek Computer, Inc. ASUS USB-BT500
Bus 001 Device 008: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 001 Device 005: ID 413c:2107 Dell Computer Corp. KB212-B Quiet Key Keyboard
Bus 001 Device 006: ID 07ca:a801 AVerMedia Technologies, Inc. AVerTV DVB-T (A800)
Bus 001 Device 003: ID 0409:0058 NEC Corp. HighSpeed Hub
Bus 001 Device 012: ID 0483:5740 STMicroelectronics Virtual COM Port
Bus 001 Device 009: ID 046d:08e5 Logitech, Inc. C920 PRO HD Webcam
Bus 001 Device 011: ID 046d:0a66 Logitech, Inc. [G533 Wireless Headset Dongle]
Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I may add that repository if required, just let me know.

Thanks

URL: (none) => I027614@gmail.com