Bug 385156 - Dolphin fails to open xlsx files
Summary: Dolphin fails to open xlsx files
Status: RESOLVED DUPLICATE of bug 371765
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 17.04.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-27 22:03 UTC by Kevin Gilbert
Modified: 2017-10-04 22:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Gilbert 2017-09-27 22:03:21 UTC
When clicking on an Excel 2007 file (with xslx extension) in Dolphin the file is not opened in LibreOffice Calc (as configured in File Associations) but is shown in Dolphin as a zip file.
Comment 1 Nate Graham 2017-09-30 15:40:44 UTC
Can't reproduce in Kubuntu with Dolphin 16.12.3 and KDE Neon with Dolphin 17.11.70 or from current git master. In all three, the file appears in Dolphin to be a spreadsheet, even when Calc isn't installed. When Calc is installed, it opens in Calc.

This may be a dumb question, but is LibreOffice Calc installed? What distro are you using?
Comment 2 Kevin Gilbert 2017-09-30 21:41:38 UTC
1) Fedora
2) libreoffice-calc.x86_64 1:5.3.6.1-6.fc26
3) When I click on a file with an extension of xlsx, the location(?) bar shows "krarc: <path to xlsx file>"
Comment 3 Nate Graham 2017-10-01 00:10:22 UTC
Weird. Fedora 26, with the KDE spin?
Comment 4 Kevin Gilbert 2017-10-01 00:13:43 UTC
Yes

# uname -a
Linux giles 4.12.14-300.fc26.x86_64 #1 SMP Wed Sep 20 16:28:07 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/redhat-release 
Fedora release 26 (Twenty Six)
Comment 5 Nate Graham 2017-10-01 01:34:10 UTC
Odd bug. Thanks for reporting it.

I created a Fedora 26 KDE VM and tried to reproduce as follows:
1. Install the system
2. `sudo dnf install libreoffice`
3. Open Calc and create a .xlsx file
4. Try to open it in Dolphin

It opened in Calc as expected.

Is there anything unusual about your system?
Comment 6 Kevin Gilbert 2017-10-01 02:30:53 UTC
OK, after a bit of digging, the problem is caused by Dolphin Settings / Navigation / Open archives as folder.

When this is off, Libre Calc opens as it expected.

Should this option really affect the processing of xlsx (aka zip) files?
Comment 7 Nate Graham 2017-10-01 02:38:26 UTC
Aha! When I turn on "Open archives as folder" I can now reproduce this on my Fedora 26 test system. That system is using Dolphin 17.04.1, same as the one where you experience the issue. I can't reproduce the issue on Dolphin 17.08 or from git master, so I have to assume that the issue has either been fixed since 17.04, or else it's a downstream problem with the way Red Hat is packaging Dolphin or creating the KDE spin.

If you can upgrade or compile from git master, it would be instructive to see if the issue goes away. If it does, it's been fixed. If it doesn't, there's an issue with the Fedora KDE spin's packaging.
Comment 8 Kevin Gilbert 2017-10-01 02:45:29 UTC
Pretty busy right now, but will try upgrade to Fedora bleeding edge version of Dolphin or compile from git.

Watch this space, it may take a while.
Comment 9 Kevin Gilbert 2017-10-01 03:51:44 UTC
OK: 

(1) No bleeding edge version available. :(

(2) Compiling from git a major undertaking with missing dependencies & etc (that's after installing all the required dependencies via "dnf builddep"). The problem may be cause by some ECM package. I installed that from source but the Dolphin build failed with incorrect versions.

All too much trouble - I'll wait for RedHat to catch-up.
Comment 10 Nate Graham 2017-10-01 04:22:35 UTC
There might be a newer version in the Rawhide repos, but yeah, eventually a fixed version should trickle down into your hands.
Comment 11 Rex Dieter 2017-10-03 19:05:45 UTC
I can confirm that I'll start work on 17.08.x packaging for f26 updates-testing/updates sometime over the next week or so
Comment 12 Christoph Feck 2017-10-04 22:24:26 UTC
krarc: is Krusader's KIO slave.

*** This bug has been marked as a duplicate of bug 371765 ***