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

Windows Terminal support #3

Open
couleurm opened this issue Jun 1, 2022 · 5 comments
Open

Windows Terminal support #3

couleurm opened this issue Jun 1, 2022 · 5 comments
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers

Comments

@couleurm
Copy link

couleurm commented Jun 1, 2022

Describe the bug
When using this on Windows Terminal, instead of making a progress bar on the Windows Terminal process, it opens an OpenConsole.exe window instead

To Reproduce
Steps to reproduce the behavior:

  1. Simply run python install.py while being in Windows Terminal

Expected behavior
The windows terminal window gets the progress bar, not opencolse

Screenshots
1UGAj2f80q

Desktop (please complete the following information):

  • OS: Windows 10 21H2 Pro / Windows 10 2004 Enterprise (Windows Sandbox)
  • Windows Terminal installed via Scoop / Unpacked msix
@N3RDIUM
Copy link
Owner

N3RDIUM commented Jun 4, 2022

If you try it on VS Code, it will do the same thing. It just exposes a hidden terminal behind the GUI. You have to pass the window handle while instantiating the Progress class for now. Don't worry, I'll work on this issue!

@N3RDIUM N3RDIUM added bug Something isn't working enhancement New feature or request good first issue Good for newcomers labels Jun 5, 2022
@couleurm
Copy link
Author

Do you have any updates regarding this bug, or an explanation on how I could obtain and pass the windows' handle? Thank you!

@N3RDIUM
Copy link
Owner

N3RDIUM commented Dec 15, 2022

@couleurm the window handle is available as follows:
from PyTaskbar import hWnd

@SuperZombi
Copy link

I have the same bug when running tkinter app
image
(Sublime, WinTerm, Extra Terminal, Tkinter)

@N3RDIUM
Copy link
Owner

N3RDIUM commented Aug 6, 2023

I'll be adding Tkinter and Windows terminal support soon. The problem is, I have to do that on a VM now because I switched to Linux a long while back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants