cxw42 / TabFern

Google Chrome extension for saving and restoring sets of tabs, and for switching between windows and tabs from a vertical, grouped list.
https://cxw42.github.io/TabFern/
Other
170 stars 27 forks source link

Use Chrome native window names #251

Open gitterspec opened 3 years ago

gitterspec commented 3 years ago

Chrome now has Window Naming built-in under More tools -> Name window. These names show up on the OS taskbar and make window switching easier when using keyboard launcher tools. It would be great if TabFern can use these names instead of having its own Window system that is duplicative and conflicts with the Chrome names.

cxw42 commented 3 years ago

I am open to adding that as an option! I do not want it to be the default since TF still supports old Chrome versions. Since TF collects no data, I have no idea how many users there may be on those older versions :) . (Autoupdate notwithstanding)

SamHasler commented 3 years ago

It doesn't look like there's an extension API for interacting with this yet:

https://developer.chrome.com/docs/extensions/reference/windows/#type-Window

It looks like this is the issue for it:

https://bugs.chromium.org/p/chromium/issues/detail?id=1190160

SamHasler commented 3 years ago

Another thing to consider is what to do when a user upgrades to a version that supports this and they have windows that they've already named in Tabfern and also have a Chrome window name. I think you either have to:

HikariWS commented 3 years ago

+1 for adding support for it, once we have extension API support :D

For migration, just leave it as it is. When user changes windows names, then apply it.