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

Window blanks out when opening eg. Windows File Explorer (mingw64) #6405

Closed
helmesjo opened this issue Mar 22, 2023 · 1 comment
Closed

Window blanks out when opening eg. Windows File Explorer (mingw64) #6405

helmesjo opened this issue Mar 22, 2023 · 1 comment
Labels
C-bug Category: This is a bug

Comments

@helmesjo
Copy link

helmesjo commented Mar 22, 2023

Summary

Any time I have a helix instance running in a mingw64 terminal and open a fresh instance of Windows File Explorer it will (eventually) go blank at some point and I'll have to interact with it for a redraw to be triggered. cmd, powershell & cygwin64 all appears to work fine.

Possibly a bug in mingw64, but it would be interesting to know what helix listens for and whether it actually is a bug in mingw64 or just a case not handled by helix.

mingw64 cygwin64
powershell cmd

ming-helix-redraw-bug

Reproduction Steps

I tried this:

  1. In a mingw64 terminal, run hx .
  2. Open a new instance of Windows File Explorer

I expected this to happen:
helix window is unaffected.
Instead, this happened:
helix window becomes blank white.

Helix log

~/.cache/helix/helix.log
2023-03-22T13:31:07.124 helix_loader [DEBUG] Located configuration folders: []
2023-03-22T13:31:07.129 globset [DEBUG] glob converted to regex: Glob { glob: "*.{zip,gz,bz2,zst,lzo,sz,tgz,tbz2,lz,lz4,lzma,lzo,z,Z,xz,7z,rar,cab}", re: "(?-u)^[^/]*\\.(cab|rar|7z|xz|Z|z|lzo|lzma|lz4|lz|tbz2|tgz|sz|lzo|zst|bz2|gz|zip)$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: false }, tokens: Tokens([ZeroOrMore, Literal('.'), Alternates([Tokens([Literal('c'), Literal('a'), Literal('b')]), Tokens([Literal('r'), Literal('a'), Literal('r')]), Tokens([Literal('7'), Literal('z')]), Tokens([Literal('x'), Literal('z')]), Tokens([Literal('Z')]), Tokens([Literal('z')]), Tokens([Literal('l'), Literal('z'), Literal('o')]), Tokens([Literal('l'), Literal('z'), Literal('m'), Literal('a')]), Tokens([Literal('l'), Literal('z'), Literal('4')]), Tokens([Literal('l'), Literal('z')]), Tokens([Literal('t'), Literal('b'), Literal('z'), Literal('2')]), Tokens([Literal('t'), Literal('g'), Literal('z')]), Tokens([Literal('s'), Literal('z')]), Tokens([Literal('l'), Literal('z'), Literal('o')]), Tokens([Literal('z'), Literal('s'), Literal('t')]), Tokens([Literal('b'), Literal('z'), Literal('2')]), Tokens([Literal('g'), Literal('z')]), Tokens([Literal('z'), Literal('i'), Literal('p')])])]) }
2023-03-22T13:31:07.130 globset [DEBUG] built glob set; 0 literals, 0 basenames, 0 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 1 regexes
2023-03-22T13:31:07.130 helix_term::ui [DEBUG] file_picker init 1.3601ms
2023-03-22T13:31:07.131 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-03-22T13:31:07.132 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-03-22T13:31:07.545 helix_term::application [DEBUG] received editor event: IdleTimer
2023-03-22T13:31:07.545 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-03-22T13:31:08.129 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-03-22T13:31:08.536 helix_term::application [DEBUG] received editor event: IdleTimer
2023-03-22T13:31:15.939 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-03-22T13:31:16.807 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-03-22T13:31:17.033 helix_term::commands::typed [DEBUG] quitting...
2023-03-22T13:31:17.033 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-03-22T13:31:17.126 helix_term::commands::typed [DEBUG] quitting...
2023-03-22T13:31:17.126 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-03-22T13:31:17.126 helix_term::job [DEBUG] waiting on jobs...
2023-03-22T13:31:17.126 helix_term::job [DEBUG] waiting on jobs...

Platform

Windows

Terminal Emulator

mingw64

Helix Version

helix 22.12

@helmesjo helmesjo added the C-bug Category: This is a bug label Mar 22, 2023
@helmesjo
Copy link
Author

This appears to have been an alacritty issue AFAICT. After updating to 0.12.1 the issue disappeared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

1 participant