Bug 397903 - Can't open "file type options"
Summary: Can't open "file type options"
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: servicemenus (show other bugs)
Version: 5.0.97
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Aaron J. Seigo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-26 21:15 UTC by william.mann
Modified: 2018-08-28 05:42 UTC (History)
1 user (show)

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


Attachments
The button that does not work (122.78 KB, image/png)
2018-08-26 21:15 UTC, william.mann
Details
Functionality works on this system, which lists the okularpoppler service (56.42 KB, image/png)
2018-08-27 15:29 UTC, william.mann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description william.mann 2018-08-26 21:15:56 UTC
Created attachment 114629 [details]
The button that does not work

In the file manager, I right-click on a file and click "Properties" to bring up the "Properties for..." menu. When I click "File Type Options", nothing happens.

My real goal is to have PDFs open in an embedded viewer in Konqueror rather than an external window, so that I can then use "Ctrl+Shift+L" to have a split-screen PDF viewer. I had this working on Ubuntu 14 but I cannot figure out how to do it since upgrading to Ubuntu 18. I think that the "embedded viewer" option is under "File Type Options" but am not completely sure, and can't find any clear documentation on this issue.
Comment 1 Burkhard Lück 2018-08-27 04:56:51 UTC
does "kcmshell5 filetypes" work for you?
Comment 2 william.mann 2018-08-27 05:47:02 UTC
(In reply to Burkhard Lueck from comment #1)
> does "kcmshell5 filetypes" work for you?

That helped! The command failed but with a suggestion to install kde-cli-tools, which I did. Now the button has started working, and I can also access the file associations through that command.

But even after selecting "Show file in embedded viewer" and "Apply", Konqueror launches a separate viewer for PDFs, whether I use Okular or Document Viewer. Image files seem to open in the embedded viewer just fine. I'm guessing I just need to install something more, but don't know what.
Comment 3 william.mann 2018-08-27 15:29:07 UTC
Created attachment 114636 [details]
Functionality works on this system, which lists the okularpoppler service
Comment 4 william.mann 2018-08-27 15:30:25 UTC
(In reply to william.mann from comment #3)
> Created attachment 114636 [details]
> Functionality works on this system, which lists the okularpoppler service

On a different system that was recently updated, I find that the functionality works fine, and the menu also lists an "okularpoppler" service that is missing on the computer where I'm having the problem. So I wonder if I just need to install that service, but I can't find any information on how to do that.
Comment 5 Burkhard Lück 2018-08-27 15:59:42 UTC
On Debian based system:
:~$ locate okularpart|grep /usr
/usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so
:~$ dpkg -S /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so
okular: /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so

So you need the package okular to show embeded PDF files in konqueror
Comment 6 william.mann 2018-08-28 05:42:50 UTC
(In reply to Burkhard Lueck from comment #5)
> On Debian based system:
> :~$ locate okularpart|grep /usr
> /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so
> :~$ dpkg -S /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so
> okular: /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so
> 
> So you need the package okular to show embeded PDF files in konqueror

That did it, thank you so much for your help!