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

Alt+Tab restores minimized windows, even if they don't end up focused #3323

Closed
Saviq opened this issue Apr 8, 2024 · 3 comments · Fixed by #3409
Closed

Alt+Tab restores minimized windows, even if they don't end up focused #3323

Saviq opened this issue Apr 8, 2024 · 3 comments · Fixed by #3409
Labels
bug triaged Triage into JIRA to plan it in

Comments

@Saviq
Copy link
Collaborator

Saviq commented Apr 8, 2024

Steps:

  • have at least three non-obscuring windows open
  • minimize one of them
  • cycle through Alt+Tab to reach the other un-minimized window

Expected:

  • the minimized window remains minimized

Current:

  • the minimized window is restored

Also: should minimized windows be moved to the bottom of the stack? That would certainly alleviate this issue.

@Saviq Saviq added bug triaged Triage into JIRA to plan it in labels Apr 8, 2024
@mattkae
Copy link
Contributor

mattkae commented May 8, 2024

We could move them to the bottom of the stack I suppose, but I don't think that fully solves the problem. The problem is that you that the user has no indication that minimized windows are alt-tabbable (e.g. in gnome-shell they show the window in the preview even though it's minimized).

Perhaps we just don't allow minimized apps to be alt-tabbable until we can use some other indication?

@Saviq
Copy link
Collaborator Author

Saviq commented May 9, 2024

Well, yeah, while Alt+Tabbing, we'd have to restore them, but they should go back to minimized unless you actually choose the un-minimized one.

Yeah it's all wonky without a proper visual switcher, but maybe we can do something better.

@Saviq
Copy link
Collaborator Author

Saviq commented May 9, 2024

To rephrase: the only lasting effect of a Alt+Tab/` "session" should be the raising/focusing of the window that was in front when Alt is released.

It may well be we have to refactor it altogether to e.g. copy the stack and manipulate that rather than the original, right until the end.

github-merge-queue bot pushed a commit that referenced this issue Jun 4, 2024
…ed (#3409)

fixes #3323

Note that this does **NOT** fix
#3408

## What's new?
- We now remember the restore state of the selected window as we're
cycling through it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triaged Triage into JIRA to plan it in
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants