-
Notifications
You must be signed in to change notification settings - Fork 21
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
Improvement to GoToWindow Expend Browser Tabs Brower Tab performance #60
Comments
Hi! Yeah I agree that it's sluggish and would be happy if there is a better approach. I already implemented something similar for listening to wmi events (when running as an administrator) so the list, titles and icons are readily available as soon as the user presses alt tab. I'm not sure about polling though.
Do you see a way to achieve this while mitigating those problems? I will gladly take a PR if you have an idea in mind! (or make it an option). I should probably update the csproj format though (unrelated). |
Thank you for the willingness ! I have two approaches in mind:
https://stackoverflow.com/questions/26582584/chrome-native-host-in-c-cannot-communicate-with-chrome I hope all of that makes sense. |
Well to compare the hash you need to check for tabs, which brings us back to either waiting for the up to date tabs v.s. dynamically changing the list. This being said I'm not against it if it's optional (and most of the time you will have the right tabs so it's fine). If it's possible to bypass the automation API, it would be definitely better! Edge now supports native alt-tabbing so that might have become a no-issue, support for IE is probably unnecessary. The Chrome extension sounds good in theory if it works! |
the point im making is that if you don't have the ui wait for the list to reload everytime and keep it in memory, you will not feel the slugishness when you open the UI. |
Yeah, I understand and it makes sense. I think snappy response times are highly desirable, and correctness is highly desirable too. There's probably a balance in between but no "right" answer. Same for resources usage, right now (as you can see from the lack of recent commits) I'm highly invested in other projects so I can't validate how expensive tabs scanning is, but in the end this can all be tweaked. Scan every 10 seconds or every minute in a setting, potentially show that "more up to date results are available" in the UI for the rare cases where you might tab too fast, would probably work fine. In other words, I'm perfectly fine with your proposed approach. If I want to tab to something and I cannot find it, but scanning is "fast enough" (e.g. 1-2 seconds) and I can see that my result is "out of date" but I still have immediate access to the listing, I believe it provides a pretty good balance. |
Hi Guys,
Really cool project, and the Expend browser tabs is a must have feature for every proper launcher\window manager.
I disussed your project on the powertoys project, and suggested a fix which i'll be very happy if you consider in the expend browser tabs" plugin.
I sorta detail it in this comment microsoft/PowerToys#1912 (comment)
Essentially what I think is that tab expansion would be much faster if we store tabs periodically into memory and pull from there, instead of expending using objects each time the user opens the UI.
Would love to hear your thoughts !
Thanks,
Roy
The text was updated successfully, but these errors were encountered: