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

gitk: check main window visibility before waiting for it to show #705

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

Dieken
Copy link

@Dieken Dieken commented Nov 13, 2024

If the main window is already visible when gitk waits for it to become visible, gitk hangs forever.
This commit adds a check whether the window is already visible. See https://wiki.tcl-lang.org/page/tkwait+visibility

This ports git#944 to microsoft/git. for Git.

Fixed issue #704.

If the main window is already visible when gitk waits for it to
become visible, gitk hangs forever.
This commit adds a check whether the window is already visible.
See https://wiki.tcl-lang.org/page/tkwait+visibility

Signed-off-by: Tobias Pietzsch <[email protected]>
@dscho dscho linked an issue Nov 13, 2024 that may be closed by this pull request
@dscho
Copy link
Member

dscho commented Nov 13, 2024

image

Oh joy. Something in git/git's CI's fragile dependency management is broken again. Here is a patch by the Git maintainer who wants to "Note that this new URL seems to fail to download", so it's not actually a fix, either.

Copy link
Member

@dscho dscho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@dscho dscho merged commit e1c75f9 into microsoft:vfs-2.47.0 Nov 13, 2024
49 checks passed
mjcheetham pushed a commit that referenced this pull request Dec 3, 2024
If the main window is already visible when gitk waits for it to become
visible, gitk hangs forever.
This commit adds a check whether the window is already visible. See
https://wiki.tcl-lang.org/page/tkwait+visibility

This ports git#944 to `microsoft/git`. for
Git.

Fixed issue #704.
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.

gitk: check main window visibility before waiting for it to show
2 participants