TabFern icon indicating copy to clipboard operation
TabFern copied to clipboard

Use Chrome native window names

Open gitterspec opened this issue 3 years ago • 4 comments

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.

gitterspec avatar May 31 '21 20:05 gitterspec

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)

cxw42 avatar Jun 01 '21 16:06 cxw42

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 avatar Jun 16 '21 14:06 SamHasler

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:

  • Automatically combine the names (probably the easiest option)
  • Prompt the user to pick or edit the name for each window with two names.

SamHasler avatar Jun 18 '21 07:06 SamHasler

+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.

HikariWS avatar Jun 21 '21 16:06 HikariWS