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

Feature request - support for progress bars #11

Open
twlvnn opened this issue Aug 30, 2024 · 4 comments
Open

Feature request - support for progress bars #11

twlvnn opened this issue Aug 30, 2024 · 4 comments

Comments

@twlvnn
Copy link

twlvnn commented Aug 30, 2024

Hello 0x7c13, I really like this project and I love dark themes so I'm curious if you have any plans to add support for the progress bar as a big part of my time in Unity is yoinked away by it..

The OS I use Unity in is Windows 11 and I use Unity 6 these days but I've also tested it with 2021 and its the same there too.

Here is a preview of the interface element
изображение

Thanks in advance.

@twlvnn
Copy link
Author

twlvnn commented Aug 30, 2024

I foolishly didn't check an existing closed issue (#4) where you mention that it may not be possible, so feel free to close this if that is still the case

@KamilTheDev
Copy link

This is the last thing needed to be perfect, so I hope it can be explored. Just some ideas to find the window if it were plausible:

  • Hook into the process that spawns the window to intercept and obtain the window
  • The window could be found via the title since there's same titles for various actions ("Hold on", "Importing", etc.)
  • The window always spawns in center relative to Editor window, with a specific/small size, window style has no close button

@0x7c13
Copy link
Owner

0x7c13 commented Sep 17, 2024

This is the last thing needed to be perfect, so I hope it can be explored. Just some ideas to find the window if it were plausible:

  • Hook into the process that spawns the window to intercept and obtain the window
  • The window could be found via the title since there's same titles for various actions ("Hold on", "Importing", etc.)
  • The window always spawns in center relative to Editor window, with a specific/small size, window style has no close button

The window could be found via the title since there's same titles for various actions ("Hold on", "Importing", etc.) -> This is something I was thinking the other day as well.

The problem is not how but why. Current solution only register the hook for the Unity wnd/proc. To "fix" the build process window, we might need to do hook on OS level which is over kill. I am not so triggered by this small window since at least it is full white (consistent) vs half white half black (Unity window).

Also, since I haven't spent time on it, that particular window might be created by a background Unity worker thread. If we can located on which process it is, then maybe we can come up with a simpler solution.

@0x7c13
Copy link
Owner

0x7c13 commented Sep 20, 2024

For someone who is interested, this might be helpful: https://github.com/SFTRS/DarkTaskDialog

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

No branches or pull requests

3 participants