Bug 492797 - Gwenview Immediately Crashes While Browsing Photos [steps to always reproduce iside]
Summary: Gwenview Immediately Crashes While Browsing Photos [steps to always reproduce...
Status: RESOLVED WORKSFORME
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 24.08.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-08 10:59 UTC by bugreporting
Modified: 2024-09-13 16:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Photo Example of JPEG 2000 (.jp2) (379.18 KB, image/jp2)
2024-09-08 10:59 UTC, bugreporting
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugreporting 2024-09-08 10:59:57 UTC
Created attachment 173433 [details]
Photo Example of JPEG 2000 (.jp2)

SUMMARY:
***
Gwenview immediately crashes and disappears when viewing jpeg2000 (jp2 photos). FYI: jpeg2000 was/is used in libraries around the world for archiving purposes- digitising old important and fragile historical ducuments (then they are put inside PDFs); they cannot be OCR'd due to very bad state of the documents- somewhat quite good enough condition to easily read the text, but not sufficient to be sutiable for OCR. The crash eliminates KDE from using in a professional environment as gwenview crashes upon hitting arrow/next (to view the next jp2 photo, not the pdf page, of course).

People have to revert to MS Windows. Not a good ad for KDE, when we have to say that it cannot be used in a professional environement and that the MS Windows is better suited for this purpose. Not good for libre software at all!
***

STEPS TO REPRODUCE:
1. Open folder with jpeg2000 photos;
2. Double click an image and browse your photos (using keyboard arrows/ or space if you reinstated the shortcut after its removal).
3. Always reproducible with crash

OBSERVED RESULT:
3. Immediate crash.

EXPECTED RESULT:
Gwenview does not crash when viewing jpeg2000 (jp2) photos, *so we can try to fix the very bad text in those archived photos directly (gimp and gm does wonders if you know what you are doing).

ATTACHMENT:
In order to confirm the crash I created jpeg2000 photo myself using openjpeg. Replicate the attached photo multiple times (under different names, of course) in a folder and then try to browse them in gwenview hitting arrow/next.

Gwenview 24.08.0-1
kimageformats 6.5.0-1
qt6-imageformats 6.7.2-1
---
qt5-imageformats 5.15.15+kde+r4-1
kimageformats5 5.116.0-1


Operating System: Arch [not Manjaro]
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Graphics Platform: X11
Processors: Intel Only
Graphics Processor: Intel HD
Comment 1 Antonio Rojas 2024-09-08 11:53:04 UTC
Please post a backtrace, as requested in the bug reporting template.
Comment 2 bugreporting 2024-09-13 15:54:03 UTC
(In reply to Antonio Rojas from comment #1)
> Please post a backtrace, as requested in the bug reporting template.

Take the attatched file copy it multiple times and crash the gwenview by yourself.
Comment 3 Antonio Rojas 2024-09-13 16:36:03 UTC
(In reply to bugreporting from comment #2)
> (In reply to Antonio Rojas from comment #1)
> > Please post a backtrace, as requested in the bug reporting template.
> 
> Take the attatched file copy it multiple times and crash the gwenview by
> yourself.

It doesn't. So nothing to do here without a backtrace.