Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Empty Plugin Settings #3182

Open
2 tasks done
Gh0stExp10it opened this issue Jan 13, 2025 · 1 comment
Open
2 tasks done

BUG: Empty Plugin Settings #3182

Gh0stExp10it opened this issue Jan 13, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Gh0stExp10it
Copy link

Checks

  • I have checked that this issue has not already been reported.

  • I am using the latest version of Flow Launcher.

Problem Description

Especially for plugins written in Python, I have noticed that the settings made by the user are successfully applied in the UI, but always remain “empty” after closing and restarting the application (Flow Launcher). This applies in particular to fields of type “input” and “dropdown”. Settings of the type “checkbox” are not affected. I could not test other types. The fields are empty in the UI, but Flow Launcher has correctly saved the settings in the JSON file (see screenshot for empty UI and JSON example for filled settings).

The plugin Ollama, which was written by me, is mentioned as an example. The Python library used is “pyflowlauncher”.
Further examples are the Currency Converter or HA Commander plugins.

JSON settings example (filled):
{
"preserve_newline": true,
"pull_model": true,
"ollama_model": "llama3.2:1b",
"ollama_host": "http://localhost:11434",
"save_response": false,
"response_preview_length": "750",
"prompt_stop": "||",
"log_level": "ERROR"
}

To Reproduce

  1. Open Flow Launcher and change Plugin Settings
  2. Close and exit Flow Launcher
  3. Start Flow Launcher
  4. Check the plugin settings and see that the changed value is empty

Screenshots

UI settings example (empty):
ui-plugin-settings-example

Flow Launcher Version

1.19.4

Windows Build Number

10.0.22621.4460

Error Log

No response

@Gh0stExp10it Gh0stExp10it added the bug Something isn't working label Jan 13, 2025
@Gh0stExp10it
Copy link
Author

Gh0stExp10it commented Jan 13, 2025

Additionally: At least I haven't found any documentation on how to get the UI to read the plugin settings correctly. Maybe a Flow Launcher Dev can clarify this.

In addition to the stale Bug #2577.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant