Skip to content
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

Switching back to minimized apps chooses n+1. #60

Closed
pushqrdx opened this issue Jun 1, 2023 · 1 comment · Fixed by #61
Closed

Switching back to minimized apps chooses n+1. #60

pushqrdx opened this issue Jun 1, 2023 · 1 comment · Fixed by #61

Comments

@pushqrdx
Copy link

pushqrdx commented Jun 1, 2023

Current Behavior:

If you have a minimized application with multiple windows open, when you try to switch to that application, instead of unminimizing last active window, you get the next one. For example, if you have 3 windows open and your last minimized one was window number 2, window-switcher will unminimize window number 3. If window number 3 was the last active one you get back window number 1 etc.

Expected Behavior:

Last active minimized window should be the one restored.


I have quickly skimmed the code and I believe the issue lies in the logic here?

Anyway, very useful application, thanks for working on it!

@sigoden
Copy link
Owner

sigoden commented Jun 1, 2023

Suppose there are three notepad windows a.txt, b.txt, c.txt。 If you minimize a.txt, b.txt, c.txt in order,the topmost window will be a.txt other than c.txt. This is really weird.

Thank you for submitting this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants