[Libreoffice-bugs] [Bug 38812] PackageKit / Help integration
https://bugs.documentfoundation.org/show_bug.cgi?id=38812 John changed: What|Removed |Added CC|rukmal...@gmail.com | --- Comment #15 from John --- (In reply to Buovjaga from comment #12) > Olivier: check the previous comment, we have a dev interested in Help Wishing Bugzilla would allow me to delete my own comments. Sorry for all the noi -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 38812] PackageKit / Help integration
https://bugs.documentfoundation.org/show_bug.cgi?id=38812 --- Comment #14 from John --- (In reply to John from comment #13) > (In reply to Buovjaga from comment #12) > > Olivier: check the previous comment, we have a dev interested in Help > > Sorry I misunderstood the situation. Since it was unassigned and it has been a while since an update. Asela - I added to the CC list for this bug so you can jump in. Are you working on this? Are there any roadblocks or ways I could help out? -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 38812] PackageKit / Help integration
https://bugs.documentfoundation.org/show_bug.cgi?id=38812 John changed: What|Removed |Added CC||rukmal...@gmail.com --- Comment #13 from John --- (In reply to Buovjaga from comment #12) > Olivier: check the previous comment, we have a dev interested in Help Sorry I misunderstood the situation. Since it was unassigned -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 38812] PackageKit / Help integration
https://bugs.documentfoundation.org/show_bug.cgi?id=38812 Buovjaga changed: What|Removed |Added CC||j...@gmx.us, ||olivier.hallot@libreoffice. ||org --- Comment #12 from Buovjaga --- Olivier: check the previous comment, we have a dev interested in Help -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 38812] PackageKit / Help integration
https://bugs.documentfoundation.org/show_bug.cgi?id=38812 --- Comment #11 from John --- I was taking a look at this and made what looked like a maybe-correct change, but I'm having trouble testing, so let me ask a strange question followed by some observations that may explain... Do we have a docker or a known current version of a distro I can build a VM from where this would be expected to work? In particular one where the Bibliography Database menu option can successfully install libreoffice-base and also having libreoffice-help installed would allow me to see the help files through the menu. The two environments I tried to test in are 1) My new laptop. It's so new I haven't bothered to distrohop or change much yet. It's still on the manufacturer's default: PopOS 20.10. I did change the default browser, which will come up. 2) The family desktop. It's on Ubuntu 20.04.2 LTS with pretty much stock everything. On the laptop the org.freedesktop.PackageKit.Modify2 interface is not available. Modify is. PopOS apparently uses a lot of package manager manager code from Enlightenment (rebranded, of course). So of course Also, installing libreoffice-help-en-us (that is my locale, BTW) causes it to attempt open those HTML files in my default browser, which is ungoogled-chromium from a flatpak that doesn't have permission to see those files. I know I could fix that, but I have to imagine this could confuse someone. On the desktop (where both Modify and Modify2 exist) if I try the Bibliography Database it asks me only asks me to restart LO (no prompting for authentication or anything). Looking at dbus-monitor indicates to me it did make a DBus call, but nothing ever was visible. journalctl shows me that Ubuntu Software wasn't allowed to communicate with me? apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gtk/Notifications" interface="org.gtk.Notifications" member="AddNotification" mask="send" name="org.gtk.Notifications" pid=3023 label="snap.snap-store.ubuntu-software" peer_pid=2653 peer_label="unconfined" Note that pkcon works on both these machines, so the dbus approach should in theory be doable. A couple limitations to this approach occurred to me, though. For one thing installing software requires auth from a user who can do such things (i.e. a sudoer). If I were to try to use LibreOffice at my current employer, for example, I (and most employees) do not have such privileges on any machines. This would just be rubbing it in 😉. But also... at least with the minimalist change I was making, there's no querying the package to see where it installed the help files - I was going to just assume the approot would be the same. Which it should be if the same person (or two reasonable people) made both packages. But what if LO isn't running from a package. If I wanted to run LO at work I'd be either building from source or downloading someone's archive file of some sort and running it from some arbitrary user directory. My current build directory for LO certainly can't find the files installed by libreoffice-help. Perhaps that latter point should be a part of the requirement for fixing this ticket? That sfxhelp.cxx file does also contain logic of where to look for the files. The PK APIs (both gobject and also dbus) certainly do contain calls to check if the package is installed and to list the files installed by a given package. You already have a a call for IsInstalled and GetFiles() is documented here: https://www.freedesktop.org/software/PackageKit/gtk-doc/Transaction.html But maybe another approach could be better? I know y'all know LO much better than I, and I don't know the reasoning for the status quo, so feel free to slap this down. Maybe LO could have a built-in html viewer to avoid weird issues that could come up with the default browser, and if it can't find the HTML files yes start grabbing online help for the right version but your "Help Browser" could have a button to "Download for Offline Viewing"? But then that's not an easy hack anymore, but rather a significant restructuring of how Help works. Just a thought. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 38812] PackageKit / Help integration
https://bugs.documentfoundation.org/show_bug.cgi?id=38812 vukasindfel...@gmail.com changed: What|Removed |Added Assignee|vukasindfel...@gmail.com|libreoffice-b...@lists.free ||desktop.org -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 38812] PackageKit / Help integration
https://bugs.documentfoundation.org/show_bug.cgi?id=38812 vukasindfel...@gmail.com changed: What|Removed |Added Assignee|libreoffice-b...@lists.free |vukasindfel...@gmail.com |desktop.org | -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 38812] PackageKit / Help integration
https://bugs.documentfoundation.org/show_bug.cgi?id=38812 --- Comment #10 from Asela --- (In reply to jan iversen from comment #9) > (In reply to Asela from comment #8) > > I like to do this hack. Can anyone give me more hints about this > > Welcome, you are aware that this is one of the more difficult easy hacks ? > > > Have a look at > https://wiki.documentfoundation.org/Development/GetInvolved > > to get you started. > > > You have a code pointer in comment #2, and that is all you should need. > > happy hacking > jan i. Thanks I will try -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 38812] PackageKit / Help integration
https://bugs.documentfoundation.org/show_bug.cgi?id=38812 --- Comment #9 from jan iversen --- (In reply to Asela from comment #8) > I like to do this hack. Can anyone give me more hints about this Welcome, you are aware that this is one of the more difficult easy hacks ? Have a look at https://wiki.documentfoundation.org/Development/GetInvolved to get you started. You have a code pointer in comment #2, and that is all you should need. happy hacking jan i. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 38812] PackageKit / Help integration
https://bugs.documentfoundation.org/show_bug.cgi?id=38812 --- Comment #8 from Asela --- I like to do this hack. Can anyone give me more hints about this -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 38812] PackageKit / Help integration
https://bugs.documentfoundation.org/show_bug.cgi?id=38812 jan iversen changed: What|Removed |Added Whiteboard|ToBeReviewed| -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 38812] PackageKit / Help integration
https://bugs.documentfoundation.org/show_bug.cgi?id=38812 jan iversen changed: What|Removed |Added Whiteboard||ToBeReviewed -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 38812] PackageKit / Help integration
https://bugs.documentfoundation.org/show_bug.cgi?id=38812 Michael Stahl changed: What|Removed |Added Keywords|skillLinux | --- Comment #6 from Michael Stahl --- oops, the skillLinux keyword isn't real, remove it again -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 38812] PackageKit / Help integration
https://bugs.documentfoundation.org/show_bug.cgi?id=38812 Michael Stahl changed: What|Removed |Added Keywords||skillLinux -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 38812] PackageKit / Help integration
https://bugs.documentfoundation.org/show_bug.cgi?id=38812 Björn Michaelsen changed: What|Removed |Added OS|All |Linux (All) -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 38812] PackageKit / Help integration
https://bugs.freedesktop.org/show_bug.cgi?id=38812 --- Comment #4 from Björn Michaelsen --- Still an EasyHack, note there is the lcl_tryLoadBibliography() function showing how to use the PackageKit helper: http://opengrok.libreoffice.org/s?refs=lcl_tryLoadBibliography&project=core -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 38812] PackageKit / Help integration
https://bugs.freedesktop.org/show_bug.cgi?id=38812 Björn Michaelsen changed: What|Removed |Added CC||libreoffice@lists.freedeskt ||op.org --- Comment #3 from Björn Michaelsen --- adding LibreOffice developer list as CC to unresolved EasyHacks for better visibility. see e.g. http://nabble.documentfoundation.org/minutes-of-ESC-call-td4076214.html for details -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 38812] PackageKit / Help integration
https://bugs.freedesktop.org/show_bug.cgi?id=38812 --- Comment #2 from Björn Michaelsen --- The Dbus/Sessioninstaller-bridge code as already here now: http://opengrok.libreoffice.org/xref/core/shell/source/sessioninstall/SyncDbusSessionHelper.hxx all it need now, is to plug that in at the right locations. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 38812] PackageKit / Help integration
https://bugs.freedesktop.org/show_bug.cgi?id=38812 Florian Reisinger changed: What|Removed |Added Summary|[EasyHack] PackageKit / |PackageKit / Help |Help integration|integration --- Comment #1 from Florian Reisinger 2012-05-18 09:47:59 PDT --- Deleted "Easyhack" from summary. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs