Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 932596

Summary: kde-apps/okular displays popup "more than one backend .." when opening a tiff file
Product: Gentoo Linux Reporter: email200202
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: UNCONFIRMED ---    
Severity: normal CC: email200202
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: okular popup
emerge -av okular
okular_kimgio_tiff.patch

Description email200202 2024-05-24 04:27:02 UTC
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.

Reproducible: Always

Steps to Reproduce:
1. Use okular to open tiff

Actual Results:  
Displays popup for selection of backend

Expected Results:  
To use the better backend okular_tiff
Comment 1 email200202 2024-05-24 04:28:28 UTC
Created attachment 894090 [details]
okular popup
Comment 2 email200202 2024-05-24 04:30:23 UTC
Created attachment 894091 [details]
emerge -av okular
Comment 3 email200202 2024-05-24 04:34:40 UTC
Created attachment 894092 [details, diff]
okular_kimgio_tiff.patch
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-24 04:41:48 UTC
(In reply to email200202 from comment #0)
> 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.

Is this a known limitation upstream, or has it not been reported?

It sounds like either:
* that does need to be reported so it can be fixed, or
* upstream need a prod to remove okular_kimgio (by you upstreaming your patch, perhaps)

I don't think us working around it is a good solution by itself.
Comment 5 email200202 2024-05-24 04:47:53 UTC
The problem is we have two okular generators supporting image/tiff mime. The tiff support in kimgio is incomplete. 

The attached patch removes tiff support from kimgio and stops the annoying selection popup.