Bug 19439

Summary: LibreOffice can't open files anymore under Plasma
Product: Mageia Reporter: Samuel Verschelde <stormi-mageia>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: jyri2000, kde, mageia, neoclust, wilcal.int
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: libreoffice-5.2.2.2-1.mga6 CVE:
Status comment:
Attachments: strace output

Description Samuel Verschelde 2016-09-22 10:27:09 CEST
Since recently (but it began before the upgrade to 5.2), LibreOffice fails to open my files. It has been confirmed to me by Neoclust too.

It tries opening the file but kind of hangs and I have to kill it.

If the bug can't be reproduced by the maintainers I'll provide any needed useful debug information (strace output for example?).
Samuel Verschelde 2016-09-22 10:27:30 CEST

Priority: Normal => release_blocker
Assignee: bugsquad => thierry.vignaud

Comment 1 Thierry Vignaud 2016-09-22 12:10:49 CEST
It works for me (using GNOME).
What desktop are you using?

Keywords: (none) => NEEDINFO
Priority: release_blocker => Normal
Severity: critical => normal

Comment 2 Samuel Verschelde 2016-09-22 12:12:54 CEST
I'm using Plasma and I bet Neoclust too.
Comment 3 Thierry Vignaud 2016-09-22 15:02:58 CEST
Is libreoffice-kde4 installed?
If yes, what if ou uninstall it?
If no,  what if ou install it?

Source RPM: libreoffice => libreoffice-5.2.2.1-1.mga6

Comment 4 Samuel Verschelde 2016-09-22 20:59:18 CEST
Created attachment 8439 [details]
strace output

libreoffice-kde4 was installed but removing it changed nothing.

Here is the output of strace if it can help.
Samuel Verschelde 2016-09-22 20:59:39 CEST

Keywords: NEEDINFO => (none)

Comment 5 Jüri Ivask 2016-09-23 09:49:22 CEST
Also Plasma 5 desktop here and LibreOffice fails to open my files if I start it and use Fail -> Open or klick a file in Dolphin file manager.
However - opening attachments in Thunderbird with Libreoffice works just fine.

Libreoffice Versioon: 5.2.2.1 from /core/updates/testing here and using it with gtk2 frontend.

CC: (none) => jyri2000

Comment 6 Jüri Ivask 2016-09-23 09:57:40 CEST
The same with 5.2.2.2-1.mga6
Comment 7 Thierry Vignaud 2016-09-23 10:18:13 CEST
Have you tried the gtk3 frontend?
What's the output of the "rpm -qa libreoffice-[gkx]*"?

Source RPM: libreoffice-5.2.2.1-1.mga6 => libreoffice-5.2.2.2-1.mga6

Comment 8 Jüri Ivask 2016-09-23 11:02:55 CEST
$ rpm -qa libreoffice-[gkx]*
libreoffice-graphicfilter-5.2.2.2-1.mga6
libreoffice-xsltfilter-5.2.2.2-1.mga6
libreoffice-x11-5.2.2.2-1.mga6
libreoffice-gtk2-5.2.2.2-1.mga6
libreoffice-gtk3-5.2.2.2-1.mga6

I'm using "export SAL_USE_VCLPLUGIN=gtk" in .bash_profile to use gtk2 frontend as gtk3 frontend does not "play" well with breeze(-gtk) theme: https://bugs.mageia.org/show_bug.cgi?id=18442#c3

So removing that makes use of (default) gtk3 frontend and that makes no difference in the opening of files...
Comment 9 William Kenney 2016-10-03 17:38:48 CEST
Sometime in the last few updates:

Opening Libreoffice results in the following error message:

"KDEInit could not launch 'libreoffice':
Could not open library 'libkdeinit5_libreoffice'.
Cannot load library libkdeinit5_libreoffice: (libkdeinit5_libreoffice: cannot open shared object file: No such file or directory)

Libreoffice apps are no longer in the launch office menu."

Same problem as this?

CC: (none) => wilcal.int

Thierry Vignaud 2016-10-03 22:58:17 CEST

CC: (none) => neoclust
Summary: LibreOffice can't open files anymore => LibreOffice can't open files anymore under Plasma

Comment 10 Samuel Verschelde 2016-10-04 10:13:30 CEST
(In reply to William Kenney from comment #9)
> Sometime in the last few updates:
> 
> Opening Libreoffice results in the following error message:
> 
> "KDEInit could not launch 'libreoffice':
> Could not open library 'libkdeinit5_libreoffice'.
> Cannot load library libkdeinit5_libreoffice: (libkdeinit5_libreoffice:
> cannot open shared object file: No such file or directory)
> 
> Libreoffice apps are no longer in the launch office menu."
> 
> Same problem as this?

No, I don't think it's the same problem. Here Libreoffice does start, it just hangs while opening the file.

Note that sometimes it works after a reboot and I can't tell what's difference with when it doesn't.
Nicolas Lécureuil 2016-10-04 10:14:49 CEST

CC: (none) => kde, mageia

Comment 11 Samuel Verschelde 2016-10-08 17:34:43 CEST
In the last few days it worked here, can others confirm?
Comment 12 William Kenney 2016-10-08 19:09:41 CEST
I'm not having any problems starting OO or creating/opening a
file with OO. What I described in Comment 9 is still true.
Comment 13 Jüri Ivask 2016-10-20 10:37:06 CEST
Recently I have had no problems opening Libreoffice files when running Plasma Desktop. Seems to be fixed?...
Comment 14 Samuel Verschelde 2016-10-20 10:46:13 CEST
Same here. We don't know what the problem was but it's gone. Closing.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 15 Thierry Vignaud 2017-03-16 15:46:12 CET
if tt's fixed, then we should revert the January change and install libreoffice-kde4 again under Plasma...