Bug 409397 - Possible name conflict between look and feel download calibre
Summary: Possible name conflict between look and feel download calibre
Status: RESOLVED DOWNSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_lookandfeel (show other bugs)
Version: 5.12.7
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-02 07:38 UTC by adch99
Modified: 2019-07-16 12:47 UTC (History)
2 users (show)

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


Attachments
Screenshot of the opened ebook editor. (184.58 KB, image/png)
2019-07-02 07:38 UTC, adch99
Details

Note You need to log in before you can comment on or make changes to this bug.
Description adch99 2019-07-02 07:38:05 UTC
Created attachment 121281 [details]
Screenshot of the opened ebook editor.

SUMMARY
Possible name conflict between 'Look and Feel' package previewer and calibre's tools (ebook editor). Consider exploring '*tweak*' named programs.

STEPS TO REPRODUCE
1. Install calibre
2. Open System Settings>Workspace Theme>Look and Feel
3. Open 'Get New Looks'.
4. Click on any of the heading links of the themes.

OBSERVED RESULT
Opens calibre's ebook editor which gives an error message popup: ERROR: Unsupported format "Tweaking is only supported for books in the AZW3 and EPUB formats. Convert your book to one of these formats first."

EXPECTED RESULT
I actually don't know what should happen here. This is my first KDE install.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 18.04
(available in About System)
KDE Plasma Version: 5.12.7
KDE Frameworks Version: 5.44.0
Qt Version: 5.9.5

ADDITIONAL INFORMATION
calibre version 3.21 from Kubuntu repos.
Comment 1 Patrick Silva 2019-07-14 20:45:06 UTC
I can't reproduce this behavior on Arch Linux with calibre 3.45.0 and Plasma 5.16.3.
Comment 2 Nate Graham 2019-07-15 21:14:07 UTC
Me neither, with those same versions. I may have some idea of what's going on though. Please run the following commands in a terminal window:

xdg-open https://store.kde.org/p/1167640

kioclient5 exec https://store.kde.org/p/1167640

Does either of those commands open Calibre instead of your web browser?

Also, try going to System Settings > Applications > Default Applications > Web Browser and make sure links are set up to open "In the following application" and then select your web browser. Does that fix it?
Comment 3 adch99 2019-07-16 05:47:58 UTC
After delving into the settings, I found that somehow calibre's ebook reader had been set as the default application for viewing HTML files causing the problem. This may be a bug on calibre's side. In any case, it's not a kde bug.
Comment 4 Nate Graham 2019-07-16 12:47:35 UTC
Yep, I had a feeling Calibre was doing something odd. FWIW it seems like newer versions of Calibre than what's provided by Ubuntu 18.04 don't suffer from the issue.