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

Bring Peek.UI Window into foreground if previously minimized #36098 #36506

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

asif4318
Copy link

@asif4318 asif4318 commented Dec 22, 2024

Allows the UI to be presented even if it was previously minimized. Solves #36098.

Summary of the Pull Request

Fixes issue #36098 and allows the Peek UI to be restored from a minimized state if the hotkey is toggled on a new file.

PR Checklist

Detailed Description of the Pull Request / Additional comments

Simply added an Activate() call to bring Window into foreground if AppWindow.IsVisible.

Validation Steps Performed

Validated behavior manually. Willing to add additional unit tests to test this behavior if given some direction.

… allows the UI to be presented even if it was previously minimized. Solves microsoft#36098.
@asif4318 asif4318 marked this pull request as ready for review December 22, 2024 03:27
@crutkas
Copy link
Member

crutkas commented Dec 22, 2024

🔥🔥🔥

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 this pull request may close these issues.

2 participants