Comment 28 for bug 2032992

Revision history for this message
Vladimir Petko (vpa1977) wrote :

It seems that the bug is not fixed in the release channel.
I am trying to fix lintian warning
W: openjdk-22-doc: embedded-javascript-library /usr [usr/share/doc/openjdk-22-jre-headless/api/resource-files/jquery-ui.min.css]

But the search bar becomes inactive when I start using symlinks:

$snap info firefox
name: firefox
summary: Mozilla Firefox web browser
publisher: Mozilla✓
store-url: https://snapcraft.io/firefox
contact: https://support.mozilla.org/kb/file-bug-report-or-feature-request-mozilla
license: unset
description: |
  Firefox is a powerful, extensible web browser with support for modern web application
  technologies.
commands:
  - firefox
  - firefox.geckodriver
snap-id: 3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk
tracking: latest/stable/ubuntu-22.10
refresh-date: 3 days ago, at 06:25 NZST
channels:
  latest/stable: 128.0.3-1 2024-07-26 (4650) 281MB -
  latest/candidate: 129.0-1 2024-07-31 (4684) 282MB -
  latest/beta: 129.0b9-1 2024-07-26 (4659) 282MB -
  latest/edge: 130.0a1 2024-07-31 (4692) 302MB -
  esr/stable: 115.13.0esr-3 2024-07-09 (4532) 256MB -
  esr/candidate: 115.14.0esr-1 2024-07-30 (4679) 257MB -
  esr/beta: ↑
  esr/edge: ↑
installed: 128.0.3-1 (4650) 281MB -

$snap info chromium
name: chromium
summary: Chromium web browser, open-source version of Chrome
publisher: Canonical✓
store-url: https://snapcraft.io/chromium
contact: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bugs?field.tag=snap
license: unset
description: |
  An open-source browser project that aims to build a safer, faster, and more
  stable way for all Internet users to experience the web.
commands:
  - chromium.chromedriver
  - chromium
snap-id: XKEcBqPM06H1Z7zGOdG5fbICuf8NWK5R
tracking: latest/stable
refresh-date: 11 days ago, at 14:15 NZST
channels:
  latest/stable: 127.0.6533.72 2024-07-30 (2921) 173MB -
  latest/candidate: 127.0.6533.88 2024-07-31 (2923) 174MB -
  latest/beta: 127.0.6533.57 2024-07-23 (2914) 179MB -
  latest/edge: 129.0.6614.3 2024-07-29 (2920) 181MB -
installed: 126.0.6478.182 (2910) 171MB -

$ ls -alrt /usr/share/doc/openjdk-21-doc/api/script-dir/
total 12
lrwxrwxrwx 1 root root 43 Jul 23 13:34 jquery-3.6.1.min.js -> ../../../../javascript/jquery/jquery.min.js
drwxr-xr-x 64 root root 4096 Aug 1 06:52 ..
lrwxrwxrwx 1 root root 48 Aug 1 13:52 jquery-ui.min.js -> /usr/share/javascript/jquery-ui/jquery-ui.min.js
lrwxrwxrwx 1 root root 61 Aug 1 13:54 jquery-ui.min.css -> /usr/share/javascript/jquery-ui-themes/base/jquery-ui.min.css
drwxr-xr-x 2 root root 4096 Aug 1 13:54 .
$ cat /usr/share/doc/openjdk-21-doc/api/script-dir/jquery-3.6.1.min.js
/*! jQuery v3.6.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */

...

Firefox error:
Loading failed for the <script> with source “file:///usr/share/doc/openjdk-21-jre-headless/api/script-dir/jquery-ui.min.js”.

Chrome snap error:
Failed to load resource: net::ERR_FILE_NOT_FOUND
dejavu.css:1

Failed to load resource: net::ERR_FILE_NOT_FOUND
jquery-ui.min.js:1