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

webui_set_size does not work on firefox #296

Open
jinzhongjia opened this issue Jan 4, 2024 · 2 comments
Open

webui_set_size does not work on firefox #296

jinzhongjia opened this issue Jan 4, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@jinzhongjia
Copy link
Contributor

More details, refer to this: webui-dev/zig-webui#13

@hassandraga
Copy link
Member

It will work if the Firefox profile is new (first run), while starting from the second run, Firefox remember the last manually changed size and position, so it ignores the values setting by WebUI command lines.

A quick workaround is by deleting the Firefox profile on exist:

webui_delete_all_profiles();
webui_clean();

We should find a better solution for Firefox.

@hassandraga
Copy link
Member

I'm experimenting some paths, like using user_pref("...");. And other settings to programmatically force Firefox to use the default settings on every run instead of the manually updated size and position.

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

2 participants