Bug 82598 - "Use LibreOffice Dialogs" setting is ignored in KDE
Summary: "Use LibreOffice Dialogs" setting is ignored in KDE
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: Other Linux (All)
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: possibleRegression
: 86285 96519 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-08-14 06:51 UTC by Bernard Gray
Modified: 2015-12-22 13:27 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Gray 2014-08-14 06:51:53 UTC
Kubuntu 14.04 (KDE Desktop Environment)

Packages from this ppa:
https://launchpad.net/~libreoffice

Version: 4.3.0-0ubuntu1~trusty1 (as reported by dpkg)
or 4.3.0.4 Build ID: 430m0(Build:4) as reported by LibreOffice about dialog.

LibreOffice uses it's native filepicker/save dialogs, regardless of whether the config option "Use LibreOffice Dialogs" is ticked or not.

This is a regression from 4.2.4-0ubuntu2 currently in the security repository.
Comment 1 Bernard Gray 2014-08-18 00:12:43 UTC
I'm updating the severity of this bug.

Combined with #78845, which closes the filepicker dialog when you click the New Folder icon, not only is the forced use of the native filepicker inconvenient, but it doesn't actually work.
Comment 2 ign_christian 2014-08-18 02:54:53 UTC
Sorry I can't test with latest LO version in machine with KDE.

But I can confirm it's not happen with LO 4.0.4.2 (from PPA) under Kubuntu 12.04 x86

@Bernard, perhaps you know whether package from LO website have same behavior?
Comment 3 Bernard Gray 2014-08-18 04:04:10 UTC
(In reply to comment #2)
> Sorry I can't test with latest LO version in machine with KDE.
> 
> But I can confirm it's not happen with LO 4.0.4.2 (from PPA) under Kubuntu
> 12.04 x86
> 
> @Bernard, perhaps you know whether package from LO website have same
> behavior?

Hi ign_christian, 
Tested as you suggested, the site is listing v4.3.0.4 for download.
It is working as expected in that release (albeit #78845 is still present). 

I initially attempted to report the bug in Launchpad, but there isn't (or I couldn't find) a way for that particular ppa.
Comment 4 ign_christian 2014-08-18 05:07:57 UTC
Hi Bernard, thanks for your confirmation. So the bug is only occured in package from PPA.

AFAIK there is a link for official Ubuntu repository, but I don't if that also used for PPA: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+filebug

After bug filed there, please link that bug here. We'll know soon if your report with that link rejected ;)
Comment 5 ign_christian 2014-08-18 05:17:23 UTC
(In reply to comment #3)
> It is working as expected in that release (albeit #78845 is still present). 
Bug 78845 fixed in 4.3.1 (see the whiteboard). If you still reproduce that issue with 4.3.1 release or daily, just drop a comment in that bug.
Comment 6 Maxim Monastirsky 2014-08-18 10:49:10 UTC
Hi Bernard,

This is not our bug. You should open a bug against Qt4 package of Ubuntu, and ask them to add the patch from https://bugreports.qt-project.org/browse/QTBUG-34614.
Comment 7 Bernard Gray 2014-08-19 23:07:56 UTC
(In reply to comment #6)
> Hi Bernard,
> 
> This is not our bug. You should open a bug against Qt4 package of Ubuntu,
> and ask them to add the patch from
> https://bugreports.qt-project.org/browse/QTBUG-34614.

Hi Maxim, 
Thanks for the reply, I'm happy to make the report on the QT tracker, but I can't work out how the QT Clipboard bug you linked to is related to my issue - could you clarify this for me?
Comment 8 Maxim Monastirsky 2014-08-20 07:31:02 UTC
(In reply to comment #7)
> I'm happy to make the report on the QT tracker,
Actually I meant the Ubuntu tracker, for the qt4-x11 package.

> but I
> can't work out how the QT Clipboard bug you linked to is related to my issue
> - could you clarify this for me?
This is explained in the Qt bug I referenced. There are also some comments in the LO code, like [1]. (In also mentions QTBUG-37380, but Ubuntu already has this patch [2]).

And BTW, adding also https://bugreports.qt-project.org/browse/QTBUG-38585 is recommended.

[1] http://opengrok.libreoffice.org/xref/core/vcl/unx/kde4/KDEXLib.cxx#189
[2] https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/1290514
Comment 9 Maxim Monastirsky 2014-08-20 07:56:26 UTC
(In reply to comment #7)
> but I
> can't work out how the QT Clipboard bug you linked to is related to my issue
In short: To avoid crashes, we disable Qt dialogs at runtime, if buggy Qt is detected.
Comment 10 Bernard Gray 2014-08-21 02:10:06 UTC
(In reply to comment #9)
> (In reply to comment #7)
> > but I
> > can't work out how the QT Clipboard bug you linked to is related to my issue
> In short: To avoid crashes, we disable Qt dialogs at runtime, if buggy Qt is
> detected.

Thanks for your assistance :)

Bug Logged: 
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1359486



(In reply to comment #4)
> Hi Bernard, thanks for your confirmation. So the bug is only occured in
> package from PPA.
> 
> AFAIK there is a link for official Ubuntu repository, but I don't if that
> also used for PPA:
> https://bugs.launchpad.net/ubuntu/+source/libreoffice/+filebug
> 
> After bug filed there, please link that bug here. We'll know soon if your
> report with that link rejected ;)

I missed this when I was looking previously, but they have a link to an explanation of how to report bugs against the PPA package here:
https://lists.launchpad.net/libreoffice/msg00072.html
Comment 11 Stefan Gruber 2014-09-30 16:56:54 UTC
I observed the same problem in opensuse 13.1 from LO 4.2.0 on.

As the named qt-bugs were patched in my latest tests
(see http://bugzilla.opensuse.org/show_bug.cgi?id=899045) I suppose that the cause is on the libreoffice side.

I suppose no actual linux distribution works correct in this way.
Comment 12 Bernard Gray 2014-10-01 01:51:17 UTC
(In reply to comment #11)
> I observed the same problem in opensuse 13.1 from LO 4.2.0 on.
> 
> As the named qt-bugs were patched in my latest tests
> (see http://bugzilla.opensuse.org/show_bug.cgi?id=899045) I suppose that the
> cause is on the libreoffice side.
> 
> I suppose no actual linux distribution works correct in this way.

Hi Stefan, 
I did a rebuild of qt4-x11 with the patches applied on Ubuntu 14.04.1 and it actually resolved the issue...

Info on the launchpad bug:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1359486/comments/14
Comment 13 Stefan Gruber 2014-10-01 20:11:27 UTC
Hello Bernard
(In reply to comment #12)
> I did a rebuild of qt4-x11 with the patches applied on Ubuntu 14.04.1 and it
> actually resolved the issue...

I read your post before at launchpad, but for my excuse I'm not  familiar with the ubuntu world but with opensuse's. Is this patched build publicly available yet or is it your private build? What is the easiest way to test it?

I just had a try with Kubuntu 14.10 beta without success concerning our problem: still crappy LO-Filepicker instead of KDE/Qt-dialog...

Your report gave me hope, but applying the same patches at opensuse obviously didn't solve it. So there seem to be more traps...
Comment 14 Bernard Gray 2014-10-02 00:51:14 UTC
(In reply to Stefan Gruber from comment #13)
> Hello Bernard
> (In reply to comment #12)
> > I did a rebuild of qt4-x11 with the patches applied on Ubuntu 14.04.1 and it
> > actually resolved the issue...
> 
> I read your post before at launchpad, but for my excuse I'm not  familiar
> with the ubuntu world but with opensuse's. Is this patched build publicly
> available yet or is it your private build? What is the easiest way to test
> it?

I've created a ppa with the patched package - right at this moment, the package has built successfully, but the binaries are pending publication. By the time you read this I hope it will be ready to go:

https://launchpad.net/~bernard-gray/+archive/ubuntu/1359486

sudo add-apt-repository ppa:bernard-gray/1359486
Comment 15 Joel Madero 2014-11-02 16:27:59 UTC
Never confirmed by QA team - moving to UNCONFIRMED.
Comment 16 Maxim Monastirsky 2014-11-02 16:48:31 UTC
(In reply to Joel Madero from comment #15)
> Never confirmed by QA team - moving to UNCONFIRMED.
Actually NOTABUG/NOTOURBUG could be a better resolution for this bug. See comment 6 and comment 9. From our side it seems to work as designed. And we have several confirmations that it actually works - see comment 12, and the openSUSE bug that in 'See Also'. I also can confirm that it works for me in Fedora 20. So WORKSFORME also would be appropriate here.
Comment 17 Maxim Monastirsky 2014-11-15 19:11:25 UTC
*** Bug 86285 has been marked as a duplicate of this bug. ***
Comment 18 Murz 2015-07-06 12:08:52 UTC
I can confirm this issue on about 10 computers in our company with Kubuntu 14.04, 14.10.  Patched version from https://launchpad.net/~bernard-gray/+archive/ubuntu/1359486 solves this problem for Ubuntu 14.04, but there are no fix for Ubuntu 14.10 at now...
Comment 19 Robinson Tryon (qubit) 2015-12-15 22:05:14 UTC
Migrating Whiteboard tags to Keywords: (possibleRegression)
[NinjaEdit]
Comment 20 Maxim Monastirsky 2015-12-22 13:23:37 UTC
*** Bug 96519 has been marked as a duplicate of this bug. ***
Comment 21 Maxim Monastirsky 2015-12-22 13:27:12 UTC
Removing the mention of PPA from the title, as the upstream builds of 5.1 also have KDE4 bits.