[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

Heiko Tietze  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|libreoffice-b...@lists.free |ism...@iodev.co.uk
   |desktop.org |

--- Comment #23 from Heiko Tietze  ---
Ismael, feel free to submit patches in WIP state to Gerrit too. See
https://wiki.documentfoundation.org/Development/gerrit/SubmitPatch

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

--- Comment #22 from Ismael Luceno  ---
Created attachment 175379
  --> https://bugs.documentfoundation.org/attachment.cgi?id=175379=edit
patch - first try

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

--- Comment #21 from Heiko Tietze  ---
(In reply to Julien Nabet from comment #19)
> Heiko/Xisco: in brief, I suppose we need an else case here:

Either disable the command if not applicable (since it actually would never
work it has to be hidden) or show some actionable information like "In order to
use the bibliography you need to install Base". Since bibliography is a basic
feature we better do the second.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

--- Comment #20 from Ismael Luceno  ---
(In reply to Julien Nabet from comment #19)
> Heiko/Xisco: in brief, I suppose we need an else case here:
> 
> 162 if (officecfg::Office::Common::PackageKit::EnableBaseInstallation::get())
> 163 {
> 164 try
> 165 {
> 166 using namespace org::freedesktop::PackageKit;
> 167 using namespace svtools;
> 168 Reference< XSyncDbusSessionHelper >
> xSyncDbusSessionHelper(SyncDbusSessionHelper::create(comphelper::
> getProcessComponentContext()));
> 169 Sequence< OUString > vPackages { "libreoffice-base" };
> 170 xSyncDbusSessionHelper->InstallPackageNames(vPackages,
> OUString());
> 171 // I'll be back (hopefully)!
> 172 SolarMutexGuard aGuard;
> 173 executeRestartDialog(comphelper::getProcessComponentContext(),
> nullptr, RESTART_REASON_BIBLIOGRAPHY_INSTALL);
> 174 }
> 175 catch (const Exception &)
> 176 {
> 177 TOOLS_INFO_EXCEPTION("sfx.appl", "trying to install LibreOffice
> Base");
> 178 }
> 179 }
> 180 return;
> 
> (See
> https://opengrok.libreoffice.org/xref/core/sfx2/source/appl/appserv.
> cxx?r=e1138605#162)
> 
> The else case would contain a dialog indicating something like:
> "You need to install Base part to use bibliography."
> What do you think?

+1

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

Buovjaga  changed:

   What|Removed |Added

 Resolution|MOVED   |---
 Status|RESOLVED|NEW

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

Julien Nabet  changed:

   What|Removed |Added

 CC||heiko.tietze@documentfounda
   ||tion.org

--- Comment #19 from Julien Nabet  ---
Heiko/Xisco: in brief, I suppose we need an else case here:

162 if (officecfg::Office::Common::PackageKit::EnableBaseInstallation::get())
163 {
164 try
165 {
166 using namespace org::freedesktop::PackageKit;
167 using namespace svtools;
168 Reference< XSyncDbusSessionHelper >
xSyncDbusSessionHelper(SyncDbusSessionHelper::create(comphelper::getProcessComponentContext()));
169 Sequence< OUString > vPackages { "libreoffice-base" };
170 xSyncDbusSessionHelper->InstallPackageNames(vPackages, OUString());
171 // I'll be back (hopefully)!
172 SolarMutexGuard aGuard;
173 executeRestartDialog(comphelper::getProcessComponentContext(),
nullptr, RESTART_REASON_BIBLIOGRAPHY_INSTALL);
174 }
175 catch (const Exception &)
176 {
177 TOOLS_INFO_EXCEPTION("sfx.appl", "trying to install LibreOffice
Base");
178 }
179 }
180 return;

(See
https://opengrok.libreoffice.org/xref/core/sfx2/source/appl/appserv.cxx?r=e1138605#162)

The else case would contain a dialog indicating something like:
"You need to install Base part to use bibliography."
What do you think?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

--- Comment #18 from Ismael Luceno  ---
*Some* GUI feedback is necessary.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

--- Comment #17 from Rene Engelhard  ---
But yes, I *DO* believe that LO should handle it more gracefully and tell
people the needed stuff is missing.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

--- Comment #16 from Rene Engelhard  ---
Sorry, written in the subway from mobile phone...

> Mit installing Base then is a deliberate admin choice

Mit -> Not.

> C) -base is extra because of principle (one doesn't need all stuff if you 
> just want e.g. writer) but also because if it's dependencies - e.g. Java

it's -> its ;-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

--- Comment #15 from Julien Nabet  ---
(In reply to Julien Nabet from comment #14)
> If I understand well, it should be rather NOTABUG then?
> 
> In this case, perhaps documentation page,
> https://help.libreoffice.org/7.2/en-US/text/swriter/guide/indices_literature.
> html?=WRITER=UNIX, should indicate libreoffice-base is
> mandatory to use bibliography and we may recycle this bug as documentation
> enhancement?

Sorry it can't be NOTABUG and recycled in a enhancement at the same time of
course, it should be one or the other.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

--- Comment #14 from Julien Nabet  ---
If I understand well, it should be rather NOTABUG then?

In this case, perhaps documentation page,
https://help.libreoffice.org/7.2/en-US/text/swriter/guide/indices_literature.html?=WRITER=UNIX,
should indicate libreoffice-base is mandatory to use bibliography and we may
recycle this bug as documentation enhancement?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

--- Comment #13 from Rene Engelhard  ---
A) TDF also provides a separate -base package (though admittedly not as
agressively split as we did)

B) -writer DOES Suggest -base because if exactly this reason and apt shows so.
Mit installing Base then is a deliberate admin choice

C) -base is extra because of principle (one doesn't need all stuff if you just
want e.g. writer) but also because if it's dependencies - e.g. Java


No change intended there and this is basically a admin/user error.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

Julien Nabet  changed:

   What|Removed |Added

 CC||r...@debian.org

--- Comment #12 from Julien Nabet  ---
Rene: any thoughts about libreoffice-base dependency in Debian ?
I didn't think we may install LO with Base part.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

--- Comment #11 from Ismael Luceno  ---
(In reply to Buovjaga from comment #9)
> (In reply to Ismael Luceno from comment #8)
> > (In reply to Buovjaga from comment #7)
> > > Thanks, so it's indeed an Ubuntu issue.
> > 
> > Unless Ubuntu patched that specific portion, not really, the installation
> > may be mangled for other reasons, and the application should report this to
> > the user...
> 
> Ok, let me try to explain: you are not supposed to supply LibreOffice with
> the applications separately installed. Ubuntu chooses to do this and as we
> see from the Launchpad bug I linked to in comment 5, they have a workaround
> mechanism that *should* open Software Centre when you click Tools ->
> Bibliography.

Operating systems may disagree about how it should be installed, but that's not
the only reason the files might be missing; shouldn't the software always
report some error in cases like these?

I've checked debian changes, but it seems there's no changes specific to
Debian/Ubuntu. The build script just moves files around.

I've confirmed the behavior is the same in Debian, up to Sid with LibreOffice
7.2.1. We can reasonably assume this affects all debian-derived distributions,
as well as others using similar packaging approaches.

On Void-Linux, which similarly splits the installation, but has a slightly
older version (7.1.3.2), it just crashes the application.

So this is a widespread issue.

I've traced the fix to the crash to commit
1889c1af41650576a29c587a0b2cdeaf0d297587:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=1889c1af41650576a29c587a0b2cdeaf0d297587

Which indeed doesn't implement any feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

Timur  changed:

   What|Removed |Added

 Resolution|NOTOURBUG   |MOVED

--- Comment #10 from Timur  ---
NotOurBug becomes Moved, if bug is reported and known there, so I change.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

Buovjaga  changed:

   What|Removed |Added

 Resolution|--- |NOTOURBUG
 Status|REOPENED|RESOLVED

--- Comment #9 from Buovjaga  ---
(In reply to Ismael Luceno from comment #8)
> (In reply to Buovjaga from comment #7)
> > Thanks, so it's indeed an Ubuntu issue.
> 
> Unless Ubuntu patched that specific portion, not really, the installation
> may be mangled for other reasons, and the application should report this to
> the user...

Ok, let me try to explain: you are not supposed to supply LibreOffice with the
applications separately installed. Ubuntu chooses to do this and as we see from
the Launchpad bug I linked to in comment 5, they have a workaround mechanism
that *should* open Software Centre when you click Tools -> Bibliography.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

Ismael Luceno  changed:

   What|Removed |Added

 Resolution|NOTOURBUG   |---
 Status|RESOLVED|REOPENED

--- Comment #8 from Ismael Luceno  ---
(In reply to Buovjaga from comment #7)
> Thanks, so it's indeed an Ubuntu issue.

Unless Ubuntu patched that specific portion, not really, the installation may
be mangled for other reasons, and the application should report this to the
user...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

Buovjaga  changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |NOTOURBUG

--- Comment #7 from Buovjaga  ---
Thanks, so it's indeed an Ubuntu issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

--- Comment #6 from Ismael Luceno  ---
Yes, installing libreoffice-base solved the issue, but still, when not
installed, no dialog was shown.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

Buovjaga  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEEDINFO

--- Comment #5 from Buovjaga  ---
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1790294

Cecilia & Ismael: please check, if you have libreoffice-base package installed
or not. As you can see from the report above, Ubuntu has its own issues related
to this separation of packaging.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

Julien Nabet  changed:

   What|Removed |Added

 CC||gti...@gmail.com,
   ||ilmari.lauhakangas@libreoff
   ||ice.org,
   ||xiscofa...@libreoffice.org

--- Comment #4 from Julien Nabet  ---
Xisco/Timur/Ilmari: do you reproduce this?
Could it be Ubuntu only bug?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

Ismael Luceno  changed:

   What|Removed |Added

 CC||ism...@iodev.co.uk

--- Comment #3 from Ismael Luceno  ---
Even more problematic than the problem itself is that there is no error dialog,
so the user can't tell what's wrong.

I'm reporting on the same machine:

$ dpkg -l libreoffice-\*|grep ^i
ii  libreoffice-base-core 1:7.1.5-0ubuntu0.21.04.1 amd64   
office productivity suite -- shared library
ii  libreoffice-calc  1:7.1.5-0ubuntu0.21.04.1 amd64   
office productivity suite -- spreadsheet
ii  libreoffice-common1:7.1.5-0ubuntu0.21.04.1 all 
office productivity suite -- arch-independent files
ii  libreoffice-core  1:7.1.5-0ubuntu0.21.04.1 amd64   
office productivity suite -- arch-dependent files
ii  libreoffice-draw  1:7.1.5-0ubuntu0.21.04.1 amd64   
office productivity suite -- drawing
ii  libreoffice-impress   1:7.1.5-0ubuntu0.21.04.1 amd64   
office productivity suite -- presentation
ii  libreoffice-math  1:7.1.5-0ubuntu0.21.04.1 amd64   
office productivity suite -- equation editor
ii  libreoffice-style-colibre 1:7.1.5-0ubuntu0.21.04.1 all 
office productivity suite -- colibre symbol style
ii  libreoffice-writer1:7.1.5-0ubuntu0.21.04.1 amd64   
office productivity suite -- word processor

I tried updating the system software, creating a new user, and from that user
launching LibreOffice Writer.

Same result. No feedback from the application whatsoever, not even to
stderr/stdout.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

Julien Nabet  changed:

   What|Removed |Added

 CC||serval2...@yahoo.fr

--- Comment #2 from Julien Nabet  ---
On pc Debian x86-64 with LO Debian testing package 7.1.5.2, I don't reproduce
this.
Did you install LO from Ubuntu repository?

Could you give a try at
https://wiki.documentfoundation.org/QA/FirstSteps#Corrupted_user_profile ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144607] Bibliography database option does not open when selected

2021-09-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144607

--- Comment #1 from Cecilia  ---
Created attachment 175121
  --> https://bugs.documentfoundation.org/attachment.cgi?id=175121=edit
screenshot

-- 
You are receiving this mail because:
You are the assignee for the bug.