Bug 153823 - Balena Etcher (installed from deb) is invoked when pressing F1 or clicking Help (with helppack installed)
Summary: Balena Etcher (installed from deb) is invoked when pressing F1 or clicking He...
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.5.1.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL: https://github.com/balena-io/etcher/i...
Whiteboard:
Keywords:
Depends on:
Blocks: Language-Help-Packs
  Show dependency treegraph
 
Reported: 2023-02-25 15:59 UTC by zoomer1
Modified: 2023-02-28 13:43 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
shows help file not found (362.40 KB, image/png)
2023-02-28 13:40 UTC, zoomer1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zoomer1 2023-02-25 15:59:00 UTC
Description:
When pressing F1 or clicking Help, Balena Etcher is invoked.  Removing Balena Etcher partially fixes the problem, but then pressing F1 brings up Help not found (404).  Clicking help in the menu works properly.

Steps to Reproduce:
1.Press F1 - up comes Balena Etcher
2.Click Help from the menu  - up comes Balena Etcher
3.Remove Balena Etcher and click Help from menu - normal
4.Remove Balena Etcher and press F1 - 404 error.

Actual Results:
What I wrote above.

Expected Results:
I expected to get help no matter what I pressed or clicked.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.5.1.2 (X86_64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Stéphane Guillou (stragu) 2023-02-26 21:12:04 UTC
Hi Zoomer
- How did you install Balena Etcher? Appimage or other?
- What OS and desktop environment do you use?
Thank you!
Comment 2 zoomer1 2023-02-27 02:46:11 UTC
I used apt to install Etcher. I may have also used AppImage but not sure. The problem remains.

Using Ubuntu 22.04.2 and Gnome.
Comment 3 QA Administrators 2023-02-27 03:20:19 UTC Comment hidden (obsolete)
Comment 4 Stéphane Guillou (stragu) 2023-02-27 09:00:14 UTC
Could not reproduce with Etcher installed as Appimage, on Ubuntu 20.04 with GNOME 3.36.8 and:

Version: 7.5.1.2 (X86_64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

More questions:
- Which component do you have open when pressing F1?
- Does pressing F1 when LibreOffice is not running also bring up Etcher?
- If installed from deb, did you use this PPA? https://github.com/balena-io/etcher?d_id=dab87555-be57-4d28-b915-88c8e569a760&s_id=1677488196722#debian-and-ubuntu-based-package-repository-gnulinux-x86x64
- Can you please paste here the link to the 404 page you get?

Thank you!
Comment 5 zoomer1 2023-02-27 14:07:12 UTC
I use Base module.
Pressing F1 for no application -why would I do that? No, nothing.
Yes, I used that ppa.
Link is: file:///opt/libreoffice7.5/help/en-US/text/shared/05/err_html.html?System=UNIX&DbPAR=BASE&HID=.help:index

I should mention that I installed the help mpdule using gdebi, but it complained of duplicate modules.  With Ubuntu 22.04.2, I am unable to just double-click on the help module to install it. I use dpkg to install LibreOffice, and gdebi for the help module.  Should I use  dpkg for the help module?  No readme is given for it.
Comment 6 zoomer1 2023-02-27 15:21:27 UTC
I don't know if someone there did something, but F1 works as expected now for Base.  Also tried it with Calc and it works there.  It wasn't working earlier today (Feb 27). Strange. I did nothing except try it.

Allan
Comment 7 zoomer1 2023-02-27 17:41:53 UTC
I miswrote earlier. I forgot that I had uninstalled Balena Etcher yesterday so that is why the problem with LibreOffice Help did not occur.  When I reinstalled it, the problem reappeared.  I have since deleted the deb version of Balena Etcher and installed the AppImage version and the problem has disappeared.(again)

Allan
Comment 8 QA Administrators 2023-02-28 03:20:03 UTC Comment hidden (obsolete)
Comment 9 Stéphane Guillou (stragu) 2023-02-28 09:16:51 UTC
I installed the deb version of Etcher, and the helppack from:

https://dev-builds.libreoffice.org/pre-releases/deb/x86_64/LibreOffice_7.5.1.2_Linux_x86-64_deb_helppack_en-US.tar.gz

And I could reproduce this very weird issue in:

Version: 7.5.1.2 (X86_64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Clicking Help > LibreOffice Help or using F1 does open BalenaEtcher!
I could also reproduce in Writer.

---

Regarding the unrelated documentation 404, I can reproduce the general Base help page not being available for version 7.5:

https://help.libreoffice.org/7.5/en-US/text/shared/05/err_html.html?System=UNIX&DbPAR=WRITER&HID=DBACCESS_HID_APP_CREATION_LIST

I've reported the issue in bug 153879.
Comment 10 Stéphane Guillou (stragu) 2023-02-28 09:18:14 UTC
In the console, when pressing F1, I get:

[Axios v1.7.9] Transitional option 'clarifyTimeoutError' has been deprecated since v1.0.0 and will be removed in the near future
[Axios v1.7.9] Transitional option 'forcedJSONParsing' has been deprecated since v1.0.0 and will be removed in the near future
[Axios v1.7.9] Transitional option 'silentJSONParsing' has been deprecated since v1.0.0 and will be removed in the near future
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
ready-to-show: 688.713ms
{"message":"Request failed with status code 404","stack":"Error: Request failed with status code 404\n    at createError (/opt/balenaEtcher/resources/app/generated/etcher.js:1:538018)\n    at settle (/opt/balenaEtcher/resources/app/generated/etcher.js:1:537708)\n    at IncomingMessage.handleStreamEnd (/opt/balenaEtcher/resources/app/generated/etcher.js:1:536494)\n    at IncomingMessage.emit (events.js:327:22)\n    at endReadableNT (internal/streams/readable.js:1327:12)\n    at processTicksAndRejections (internal/process/task_queues.js:80:21)","config":{"url":"https://balena.io/etcher/static/config.json","method":"get","headers":{"Accept":"application/json, text/plain, */*","User-Agent":"axios/1.7.9"},"transformRequest":[null],"transformResponse":[null],"timeout":0,"responseType":"json","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false}}}
Comment 11 Stéphane Guillou (stragu) 2023-02-28 13:26:12 UTC
Noel Grandin in chat said it was an Etcher bug.

Active issue on GitHub: https://github.com/balena-io/etcher/issues/3808

Which references a closed issue: https://github.com/balena-io/etcher/issues/3374

And an xdg-utils bug report, which shows that the issue affects other Electron apps as well: https://gitlab.freedesktop.org/xdg/xdg-utils/-/issues/180

Issue is that Etcher registers itself as the default HTML app for the system. This can be confirmed by opening a HTML file after installing Etcher.

Marking as "not our bug".
Comment 12 zoomer1 2023-02-28 13:40:28 UTC
Created attachment 185644 [details]
shows help file not found

I should mention that when I press F1 and I am working with forms in Base, the Help screen works normally.  If I am at the point where it is the Base main screen and press F1, the 404 error comes up, but Help works mostly normally from the sidebar. Clicking help from the menu works as expected in all cases.

I have eliminated the Balena Etcher error by installing the AppImage.
Comment 13 Stéphane Guillou (stragu) 2023-02-28 13:43:19 UTC
(In reply to zoomer1 from comment #12)
> I should mention that when I press F1 and I am working with forms in Base,
> the Help screen works normally.  If I am at the point where it is the Base
> main screen and press F1, the 404 error comes up, but Help works mostly
> normally from the sidebar. Clicking help from the menu works as expected in
> all cases.
> 
> I have eliminated the Balena Etcher error by installing the AppImage.

Yes, that's consistent with what I described in bug 153879.
Help packs and online help both come from the same source.