mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Added TODO.md for ideas to improve
This commit is contained in:
parent
876cbfd006
commit
1f45c02bf1
2 changed files with 8 additions and 1 deletions
|
|
@ -0,0 +1,8 @@
|
|||
# Items to consider to improve the code
|
||||
|
||||
- TabsWalker.GetCurrentTabFromWindow
|
||||
- Research browsers' settings and check if it may break current assumption of just taking the last tab
|
||||
|
||||
- absTracker
|
||||
- AutomationFocusChangedEventHandler could be replaced with AutomationStructureChangedEventHandler, StructureChangeType.ChildAdded
|
||||
- Removal of tabs should be handled to save memory by using AutomationStructureChangedEventHandler, StructureChangeType.ChildRemoved
|
||||
|
|
@ -79,7 +79,6 @@ internal class TabsWalker
|
|||
// Let's take the last one and assume this is the one that was created recently
|
||||
// This is the best known approach as of today
|
||||
// There might be some browsers' settings that change this behavior but weren't tested nor considered yet
|
||||
//TODO: research browsers' settings and check if it may break current assumption of just taking the last tab
|
||||
return InitiateTab(process, tabs.Last());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue