Issues with Firefox and Add Water on GNOME

Hello, on brand new installs with the latest GNOME iso, Firefox Home (new tab page) isn’t working after the second start of Firefox and is showing as blank:


Also Add Water isn’t launching (looking for Firefox profile in the wrong place, I think):

   ~  addwater                                                         ✔ 
/home/pacu/.cache/add-water already exists. Skipped.
/home/pacu/.cache/add-water/downloads already exists. Skipped.
/home/pacu/.cache/add-water/logs already exists. Skipped.
All paths initialized.
-------------------------
[INFO]   addwater.apps.firefox.firefox_details — 06:09 || Setting Firefox data path: 
[ERROR]   addwater.apps.firefox.firefox_details — 06:09 || Tried to set app_path to non-existant path. Path given: 
[CRITICAL]   addwater.apps.firefox.firefox_details — 06:09 || Could not find any valid data paths. App cannot function.
Traceback (most recent call last):
  File "/usr/share/addwater/addwater/apps/firefox/firefox_details.py", line 90, in __init__
    self.set_data_path(current_path)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "/usr/share/addwater/addwater/apps/firefox/firefox_details.py", line 167, in set_data_path
    raise FileNotFoundError("Invalid data path")
FileNotFoundError: Invalid data path

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/addwater", line 46, in <module>
    sys.exit(main.main(VERSION))
             ~~~~~~~~~^^^^^^^^^
  File "/usr/share/addwater/addwater/main.py", line 179, in main
    app = AddWaterApplication()
  File "/usr/share/addwater/addwater/main.py", line 63, in __init__
    self.backends = self.construct_backends()
                    ~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/share/addwater/addwater/main.py", line 133, in construct_backends
    ff_app_detail = FirefoxAppDetails()
  File "/usr/share/addwater/addwater/apps/firefox/firefox_details.py", line 94, in __init__
    self.set_data_path(available_paths[0]["path"])
                       ~~~~~~~~~~~~~~~^^^
IndexError: list index out of range

Both issues are connected.

As from Firefox 147 on Linux, profile and other directories have been changed (mainly) to reside under the ~/.config/ heirarchy instead of ~/.mozilla. This is a generally seamless change, however, there may be applications (such as “Add Water” that you mentioned) that have hard-coded paths, for example; only a guess, as I have no idea what this “AddWater” might be.

This looks to be a path that you have previously set in AddWater – that being the case, you should probably change it to the correct path – if the application was installed via the AUR, you might simply need to rebuild it.

I suggest deleting ~/.cache firstly, to see if that makes a difference – this must be done without being logged into the GUI – logout, and login via a TTY – then delete ~/.cache and reboot.

Let us know if the issue persists after that.

Clearing .cache didn’t work, I did it the way you said

Add Water ships with Manjaro by default and is the installer for the libadwaita theme for Firefox. Actually I managed to fix it by:

mkdir -p ~/.mozilla
ln -s ~/.config/mozilla/firefox ~/.mozilla/firefox

Let’s see if the app devs will update it to work out of the box.

About Firefox, I tried going to about:support, clicking “Refresh Firefox”, “Clear startup cache”, I even deleted manjaro-browser-settings, but the home page still breaks after opening and closing a few tabs/windows.

Update: Reinstalling Firefox fixed it, probably so it can start without manjaro-browser-settings. Maybe the issue is in that package, since I’m not getting this problem on other Arch distros

The AddWater developer is aware: