szhu/pushpin

Moving pinned tabs automatically with onFocusedChanged?

christianmagill opened this issue · 2 comments

Would it be possible to move pinned tabs automatically to the active window using

https://developer.chrome.com/docs/extensions/reference/windows/#event-onFocusChanged

Thanks for making this plugin! It could definitely become an essential part of my workflow.

I guess some considerations would need to be made with this one. Otherwise it becomes impossible to reference information from a a pinned tab while another tab is open in the active window.

szhu commented

Hi! Sorry just seeing this. Yeah I agree with both thoughts -- it can be useful at times but might be annoying if there's no way to turn it off. Maybe it's a setting that can be added?

A partial workaround for now is that you can set a keyboard shortcut for activating the extension in chrome://extensions/shortcuts. This will hopefully make it faster to bring pinned tabs to the current window.