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

Session Restore extensions not restoring names #20

Open
l10nelw opened this issue Apr 12, 2023 · 0 comments
Open

Session Restore extensions not restoring names #20

l10nelw opened this issue Apr 12, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@l10nelw
Copy link
Owner

l10nelw commented Apr 12, 2023

Someone has emailed me about this issue. I will reply here as a place to organise my thoughts and allow for any feedback.

Session restore extensions can recreate windows, but without access to Winger's internal data associated with the original windows, they cannot restore their names.

Possible solutions Actionable?
Winger makes its data available for other extensions to request. Then the ball is in their court to support Winger. Will pursue, useful in general. But it's up to session restore extensions to request, save and restore names.
Some session restore extensions save and restore window titles. Winger could try to infer window names from them. Might not be 100% reliable but good enough, and already in my todo list as a way to play nice with other window re-titlers as well. I think a solid solution with the most controllable outcome here.
Winger continually saves a window's tablist "signature", associated with its name, to sync storage. Upon recreating windows via session restore, try to match the windows to these signatures and then name accordingly. Resource intensive and very ambitious. I don't think it's worth it.
Ask for Firefox to support a name window property that all extensions can access. Will pursue. Don't know how this will go. But it might be a gamechanger for some extensions -- access by session restore extensions, conflict management between window re-titlers (like Winger), etc, could become trivial.

Lots to do. Wish me luck

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