Bug 436695 - [opensuse 15.2] unable to resize images (all types)
Summary: [opensuse 15.2] unable to resize images (all types)
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Editor-Resize (show other bugs)
Version: 6.4.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-06 16:46 UTC by soundlord
Modified: 2021-05-23 17:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.3.0


Attachments
output (81.45 KB, text/plain)
2021-05-06 22:45 UTC, soundlord
Details
updates not processed (2.33 KB, text/plain)
2021-05-08 16:15 UTC, soundlord
Details

Note You need to log in before you can comment on or make changes to this bug.
Description soundlord 2021-05-06 16:46:17 UTC
SUMMARY

Since last update that didn't impacted the packages or dependencies of showfoto AFAIKS I realized this is now impossible to resize images using showFoto.

STEPS TO REPRODUCE
1. load an image (jpg/png/...)
2. specify new size of the image
3. push ok

OBSERVED RESULT

showFoto crashes.

EXPECTED RESULT

showFoto won't crash ^^
the image to be resized.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 15.2/5.18.6
(available in About System)
KDE Plasma Version: 5.18.6
KDE Frameworks Version: 5.71.0
Qt Version: 5.12.7

ADDITIONAL INFORMATION
Comment 1 caulier.gilles 2021-05-06 17:00:36 UTC
It's probably a packaging problem.

Please try the official digiKam 7.3.0 pre-release Linux AppImage bundle available here :

https://files.kde.org/digikam/

Gilles Caulier
Comment 2 soundlord 2021-05-06 19:00:27 UTC
I don't use digikam... only showFoto...
I escalated to opensuse support, as it was working before an update.
Comment 3 caulier.gilles 2021-05-06 19:50:23 UTC
With AppImage bundle, pass "showfoto" as argument to run it...

https://www-ftp.lip6.fr/pub/X11/kde-applicationdata/digikam/README

Gilles Caulier
Comment 4 Maik Qualmann 2021-05-06 20:52:59 UTC
I'll check it tomorrow at the company, I have a laptop with openSUSE Leap 15.2 there, to see if there are any problems with the packages. OpenSUSE is actually always quite stable, but many users add extra package sources which then cause problems in the mix.

Maik
Comment 5 soundlord 2021-05-06 22:45:32 UTC
Created attachment 138205 [details]
output

This is the output of the last resize attempt...
Comment 6 Maik Qualmann 2021-05-07 06:36:55 UTC
This is the debug output from the AppImage. You are working as the root user! There is an error message from QWebEngine because of the root user. QWebEngine may crash here.

Maik
Comment 7 Maik Qualmann 2021-05-07 11:18:07 UTC
The Showfoto-6.4.0 version of openSUSE Leap 15.2 (up to date) works here without any problems. For the test I also uninstalled the digiKam packages to see if there might be a package problem. No crashes when resizing and saving. Check your installed packages.

Maik
Comment 8 soundlord 2021-05-08 03:09:53 UTC
I already did uninstall/install the digikam and showfoto packages...
It is strange it worked on my root account since september 2020 without any issue.

I removed the libdigikamcore and digikam-plugins... I'm checking if the repositories are correct (to be cautious) with the LEAP team.
Comment 9 soundlord 2021-05-08 16:15:50 UTC
Created attachment 138247 [details]
updates not processed

Those updates won't be processed
Comment 10 Maik Qualmann 2021-05-23 17:05:12 UTC
The cause is that QWebEngine (Chromium) cannot be executed as root user with activated sandbox. If you absolutely want to use digiKam as root user, you have to do the following beforehand:

export QTWEBENGINE_CHROMIUM_FLAGS=--no-sandbox

We strongly advise against using digiKam as the root user!

Maik