Bug 1214836

Summary: Skanpake fail to launch due kquickimageeditor outdated
Product: [openSUSE] openSUSE Distribution Reporter: Olivier Belleux <o.g.m.belleux>
Component: KDE ApplicationsAssignee: E-Mail List <opensuse-kde-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Leap 15.5   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Leap 15.5   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Olivier Belleux 2023-08-31 15:31:02 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Build Identifier: 

I'm running leap 15.5 with additionnal kde repositories.
Skanpage fail to start when launching with krunner
Try in a shell and have a message showing something wrong happens and cause the failure.

Reported at https://bugs.kde.org/show_bug.cgi?id=473964

Nate Graham mark as resolved because:

" This means that one of two things is happening:
- The KQuickImageEditor package isn't installed 
- The KQuickImageEditor package is too old

Both would be distro packaging issues; please report this to the openSUSE
folks. Thanks! "

Reproducible: Always

Steps to Reproduce:
1. plug scanner to usb port and power on
2. type "skanpage" in shell (zsh in yakuake)
3. hint enter
Actual Results:  
[DS] Profile read from file (tesseract_opencl_profile_devices.dat).
[DS] Device[1] 0:(null) score is 0,204881
[DS] Selected Device[1]: "(null)" (Native)
which: no avahi-browse in (/home/olivier/.zsh/zplug/repos/zplug/zplug/bin:/home/olivier/.zsh/zplug/bin:/opt/texlive/2023/bin/x86_64-linux:/home/olivier/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/:/opt/Grammalecte/:/home/olivier/.local/bin/:/home/olivier/.config/kate/lspclient/:/var/lib/flatpak/exports/bin:)
QQmlApplicationEngine failed to load component
qrc:/qml/MainWindow.qml:331:26: Type ContentView unavailable
qrc:/qml/ContentView.qml:67:13: Type DocumentPage unavailable
qrc:/qml/DocumentPage.qml:198:13: KQuickImageEditor.CropBackground is not a type

Expected Results:  
skanpage successfully launch and scan my document.

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

Nate Graham <nate@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DOWNSTREAM
             Status|REPORTED                    |RESOLVED
                 CC|                            |nate@kde.org

--- Comment #1 from Nate Graham <nate@kde.org> ---
This means that one of two things is happening:
- The KQuickImageEditor package isn't installed 
- The KQuickImageEditor package is too old

Both would be distro packaging issues; please report this to the openSUSE
folks. Thanks!
Comment 1 Olivier Belleux 2023-08-31 16:35:52 UTC
Installing KQuickImageEditor-imports 0.2 from KDE:Extra and uninstalling KQuickImageEditor 0.1.2 solves the problem.

But KQuickImageEditor-imports is not automatically selected by skanpage.

Dependency error in specfile
Comment 2 OBSbugzilla Bot 2023-09-01 07:45:03 UTC
This is an autogenerated message for OBS integration:
This bug (1214836) was mentioned in
https://build.opensuse.org/request/show/1108384 Factory / skanpage
Comment 3 Christophe Marin 2023-09-02 13:40:31 UTC
Fixed in KDE:Applications.