Skip to content

Google Search extension crashes when "Remember Search History" is enabled #322

Description

@n0tdivyansh

System information

  • Version: v0.23.1 (81d9a9b50)
  • Build info: GCC 15.2.0 - Release - LTO
  • Provenance: appimage
  • OS: Manjaro Linux -
  • QT Platform: wayland
  • DE: GNOME/Wayland

Description

The Google Search Raycast extension crashes in Vicinae when "Remember Search History" is enabled.

The extension page marks it as "This extension should be fully compatible", but enabling this option causes the extension to fail immediately with a JavaScript exception.

Disabling Remember Search History makes the extension work normally.

To Reproduce

  1. Install the Google Search extension.
  2. Open the extension settings.
  3. Enable Remember Search History.
  4. Launch the extension.

Expected behavior

The extension should open normally and persist search history.

Actual Behavior

The extension crashes with the following error:

TypeError: Cannot read properties of null (reading 'filter')
at /home/divyansh/.local/share/vicinae/extensions/store.raycast.google-search/index.js:19:2381

**

Image

**

Additional Note

This appears to be related to the history persistence path. Since the extension works correctly with history disabled, it looks like the stored history value is null when the extension expects an array and later calls .filter() on it.

It may be worth checking whether Vicinae's LocalStorage implementation returns null in a case where Raycast returns an empty array or another default value, or whether the extension should guard against a null history value before calling .filter().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions