Collapse icon indicating copy to clipboard operation
Collapse copied to clipboard

[Request]: Show download progress in the taskbar

Open DeepChirp opened this issue 1 year ago • 5 comments

Is your request related to a problem?

No

How is the feature request related to the problem?

No response

Describe your proposed solution

I think the download progress can be displayed in the taskbar, so that the download progress can be quickly judged through the taskbar.

Describe alternatives you've considered

Maybe not.

Additional context

We may be able to use TaskbarItemInfo.ProgressState and TaskbarItemInfo.ProgressValue to achieve this functionality. See: https://learn.microsoft.com/en-us/dotnet/api/system.windows.shell.taskbariteminfo.progressstate and https://learn.microsoft.com/en-us/dotnet/api/system.windows.shell.taskbariteminfo.progressvalue. Regardless of whether you adopt this suggestion, I am grateful.

DeepChirp avatar Jun 19 '24 08:06 DeepChirp

We can implement this feature, but it may not have a high priority. Also we use WinUI 3 as the UI framework, not WPF. https://learn.microsoft.com/en-us/windows/win32/api/shobjidl_core/nf-shobjidl_core-itaskbarlist3-setprogressvalue

shatyuka avatar Jun 19 '24 08:06 shatyuka

Also we use WinUI 3 as the UI framework, not WPF.

Sorry, I don't know about these frameworks. I just saw it using C#.

DeepChirp avatar Jun 19 '24 08:06 DeepChirp

Hi, after talking a bit about this with @neon-nyan, it's possible to implement this function as addition into our TrayIcon class. But this requires a lot of events code from InstallManager to handle cases like multiple download install, task bar status rate limit, etc.

TL;DR: It's possible but might take awhile due to the complexity of our code

bagusnl avatar Jun 21 '24 10:06 bagusnl

Bump, any dev(s) want to dibs on this implementation?

bagusnl avatar Sep 18 '24 15:09 bagusnl

working on it

shatyuka avatar Sep 19 '24 02:09 shatyuka

Try this CI build: https://nightly.link/CollapseLauncher/Collapse/actions/runs/12733592000

shatyuka avatar Jan 13 '25 02:01 shatyuka