Flow-Launcher / Flow-Launcher/Flow.Launcher
BUG: Original window is not in focus if Flow Launcher is canceled.
- Dominant language
- C#
- Stars
- 15.6k
- Forks
- 644
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 4
Description
### Checks
- [x] I have checked that this issue has not already been reported.
- [x] I am using the latest version of Flow Launcher.
- [ ] I am using the prerelease version of Flow Launcher.
### Problem Description
This isn't the biggest deal. It's a minor one that just annoying. But it should be extremely to fix.
When I open Flow Launcher and use it to open a program like Google Chrome, window is in focus and the carat is located in the address bar! It's perfect.
But occasionally, I'll change my mind and press alt-space (my Flow Launcher hotkey) to close the Flow Launcher window without opening a new program. This should return the focus back to the original window with the carat exactly where it was before.
Unfortunately, this isn't the case. The original window I was working on is not in focus. And typing on my keyboard results in nothing happening. 😢
The solution would return focus back to the original window that was in focus and the carat should be located in its original location prior to my opening Flow Launcher.
### To Reproduce
1. Stop typing on whatever document you are working on.
2. Press alt-space, the hotkey to open the Flow Launcher window.
3. The Flow Launcher window opens.
4. Change your mind about opening a new program and press alt-space again.
5. The Flow Launcher window disappears.
6. You try to start typing on the "whatever" document you were working on in step 1. Unfortunately, nothing happens. The carat is nowhere to be found.
### Screenshots
_No response_
### Flow Launcher Version
2.1.3
### Windows Build Number
10.0.26200.8973
### Error Log
```shell
Replace this line with the important log contents.
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the reported sequence on Windows 10.0.26200.8973: open Flow Launcher with Alt-Space, cancel it with the same hotkey, and check whether the previously focused document accepts typing at its original caret position. Done means cancellation restores focus and caret behavior without opening a program.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100