-
Notifications
You must be signed in to change notification settings - Fork 3k
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
gpui: Fix hide
, activate
method on Windows to hide/show application
#18164
Merged
mikayla-maki
merged 5 commits into
zed-industries:main
from
huacnlee:fix-hide-on-windows
Oct 1, 2024
Merged
gpui: Fix hide
, activate
method on Windows to hide/show application
#18164
mikayla-maki
merged 5 commits into
zed-industries:main
from
huacnlee:fix-hide-on-windows
Oct 1, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cla-bot
bot
added
the
cla-signed
The user has signed the Contributor License Agreement
label
Sep 20, 2024
huacnlee
changed the title
windows: Fix
gpui: Fix Sep 20, 2024
hide
, activate
on Windows to hide/show applicationhide
, activate
method on Windows to hide/show application
huacnlee
commented
Sep 23, 2024
mikayla-maki
requested changes
Sep 30, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR should wait until #18161 is merged, then we can rebase and merge this one :D
huacnlee
force-pushed
the
fix-hide-on-windows
branch
from
October 1, 2024 00:13
12755d1
to
5d4f32e
Compare
mikayla-maki
approved these changes
Oct 1, 2024
Thank you! |
SomeoneToIgnore
pushed a commit
that referenced
this pull request
Oct 1, 2024
…w application" (#18571) This PR reverts the changes introduced via #18164. As shown in the video below, once you `hide` the app, there is essentially no way to bring it back. I must emphasize that the window logic on Windows is entirely different from macOS. On macOS, when you `hide` an app, its icon always remains visible in the dock, and you can always bring the hidden app back by clicking that icon. However, on Windows, there is no such mechanism—the app is literally hidden. I think the `hide` feature should be macOS-only. https://github.com/user-attachments/assets/65c8a007-eedb-4444-9499-787b50f2d1e9 Release Notes: - N/A
noaccOS
pushed a commit
to noaccOS/zed
that referenced
this pull request
Oct 19, 2024
…on (zed-industries#18164) Release Notes: - N/A Continue zed-industries#18161 to fix `cx.hide`, `cx.activate` method on Windows to hide/show application. ## After https://github.com/user-attachments/assets/fe0070f9-7844-4c2a-b859-3e22ee4b8d22 --------- Co-authored-by: Mikayla Maki <[email protected]>
noaccOS
pushed a commit
to noaccOS/zed
that referenced
this pull request
Oct 19, 2024
…w application" (zed-industries#18571) This PR reverts the changes introduced via zed-industries#18164. As shown in the video below, once you `hide` the app, there is essentially no way to bring it back. I must emphasize that the window logic on Windows is entirely different from macOS. On macOS, when you `hide` an app, its icon always remains visible in the dock, and you can always bring the hidden app back by clicking that icon. However, on Windows, there is no such mechanism—the app is literally hidden. I think the `hide` feature should be macOS-only. https://github.com/user-attachments/assets/65c8a007-eedb-4444-9499-787b50f2d1e9 Release Notes: - N/A
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Release Notes:
Continue #18161 to fix
cx.hide
,cx.activate
method on Windows to hide/show application.After
hide.app.2024-09-21.034539.mp4