Bug 505512 - kde-apps/okular displays popup "more than one backend .." when opening a tiff file
Summary: kde-apps/okular displays popup "more than one backend .." when opening a tiff...
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: TIFF backend (other bugs)
Version First Reported In: 25.04.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-12 09:56 UTC by yzg
Modified: 2025-06-22 13:25 UTC (History)
3 users (show)

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


Attachments
okular popup (22.03 KB, image/jpeg)
2025-06-12 09:56 UTC, yzg
Details
okular_kimgio_tiff.patch (4.30 KB, text/plain)
2025-06-12 09:58 UTC, yzg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yzg 2025-06-12 09:56:11 UTC
Created attachment 182221 [details]
okular popup

SUMMARY
Okular displays popup "More than one backend for the MIME type TIFF image (image/tiff). Please select which one to use:"

The offered choices are okular_tiff and okular_kimgio.

The okular_imgio selection shows only the first page of a multipage tiff. It is redundant compared to okular_tiff.

STEPS TO REPRODUCE
1. Use okular to open tiff

OBSERVED RESULT
Displays popup for selection of backend

EXPECTED RESULT
To use the better backend okular_tiff

SOFTWARE/OS VERSIONS
$ kinfo
Operating System: Gentoo Linux 2.17
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.1
Kernel Version: 6.1.141-gentoo (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7 CPU         950  @ 3.07GHz
Memory: 35.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1650

ADDITIONAL INFORMATION
Comment 1 yzg 2025-06-12 09:58:00 UTC
Created attachment 182222 [details]
okular_kimgio_tiff.patch
Comment 2 yzg 2025-06-12 09:59:35 UTC
The attached patch removes tiff support from kimgio and stops the annoying selection popup.
Comment 3 John Kizer 2025-06-20 03:20:30 UTC
Hi - thank you for submitting a patch! Since patches attached to Bugzilla tickets tend to get missed and become stale over time, could I ask you to please submit it as a merge request using GitLab instead? 

The Okular GitLab repository is located at https://invent.kde.org/graphics/okular , and the KDE Community Wiki guide to using it is located at https://community.kde.org/Infrastructure/GitLab
Comment 4 Albert Astals Cid 2025-06-20 03:49:06 UTC
this is not a bug, if you don't want the backend selection dialog, disable it in the settings
Comment 5 yzg 2025-06-20 09:10:43 UTC
(In reply to Albert Astals Cid from comment #4)
> this is not a bug, if you don't want the backend selection dialog, disable
> it in the settings

Can you advice where the settings to disable the backend selection dialog and force the selection of okular_tiff for MIME type TIFF image (image/tiff)?
Comment 6 yzg 2025-06-20 09:19:49 UTC
(In reply to John Kizer from comment #3)
> Hi - thank you for submitting a patch! Since patches attached to Bugzilla
> tickets tend to get missed and become stale over time, could I ask you to
> please submit it as a merge request using GitLab instead? 
> 
> The Okular GitLab repository is located at
> https://invent.kde.org/graphics/okular , and the KDE Community Wiki guide to
> using it is located at https://community.kde.org/Infrastructure/GitLab

Thank you John for your helpful reply. I will submit the patch to GitLab.
Comment 7 Albert Astals Cid 2025-06-21 08:00:57 UTC
https://i.imgur.com/IwZjuUG.png
Comment 8 Andreas Sturmlechner 2025-06-22 13:25:48 UTC
That's not the only place where it causes a bit of confusion though.