Description: On Ubuntu Linux when the default browser is Mozilla Firefox installed via a snap (i.e. firefox is /snap/bin/firefox). In LibreOffice writer when the F1 key is pressed and offline help has been setup. The Firefox browser is launched and immediately displays a file not found error, even though the file shown in the url bar is present in the filesystem (e.g file:///tmp/lu314464cuujkj.tmp/NewHelp0.html). Work round is to remove the firefox snap, and install from the package repository. Steps to Reproduce: 1. Launch writer 2. Press the F1 key Actual Results: Browser display a File Not Found (404) page. Expected Results: Help page is displayed in the browser. Reproducible: Always User Profile Reset: No Additional Info: Either cater for Firefox running from a snap, or document somewhere that this will not work.
LibreOffice uses XDG to send commands to desktop applications. https://www.freedesktop.org/wiki/Software/xdg-utils/ Please post here the output of the command xdg-settings get default-web-browser it should return something like "firefox.desktop" or more generally "<browser>.desktop". to double check: sudo xdg-settings check default-web-browser firefox.desktop
Sorry I no longer have a system with Firefox installed from a snap. My current shows default-web-browser as firefox.desktop. Feel free to close this bug.
(In reply to roger from comment #2) > Feel free to close this bug. => RESOLVED INSUFFICIENTDATA