marticliment / UniGetUI

UniGetUI: The Graphical Interface for your package managers. Could be terribly described as a package manager manager to manage your package managers
https://www.marticliment.com/unigetui/
MIT License
10.42k stars 338 forks source link

[BUG] Canceling scoop operations doesn't work #2393

Open aaronliu0130 opened 6 days ago

aaronliu0130 commented 6 days ago

Please confirm these before moving forward

UniGetUI Version

3.1.0-beta2

Windows version, edition and architecture

Windows 11 Pro 26040.1000 AMD64

Describe your issue

Scoop operations continue downloading after cancelled.

Steps to reproduce the issue

  1. Search for something, say "Kotlin Native"
  2. Install it from scoop
  3. Wait a second and cancel the operation

UniGetUI Log

Too long; see [the last section](#Screenshots and videos)

Package Managers Logs

Manager Scoop with version:
Current Scoop version:
d337bb1f chore(release): Bump to version 0.4.2 (#5964)

'main' bucket:
cc94f8c44 trid: Update to version 2.24-24.07.03

'extras' bucket:
19f3c9937 signal: Update to version 7.15.0

'versions' bucket:
27e35c072 zig-dev: Update to version 0.14.0-dev.142

'nonportable' bucket:
93ed260 10x-np: Update to version 1.0.181

——————————————————————————————————————————

Logged subprocess-based task on manager Scoop. Task type is ListSources
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: " -NoProfile -ExecutionPolicy Bypass -Command scoop bucket list"
Process start time: 2024/7/3 0:55:25
Process end time:   2024/7/3 0:55:27

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Scoop. Task type is RefreshIndexes
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: " -NoProfile -ExecutionPolicy Bypass -Command scoop update"
Process start time: 2024/7/3 0:55:27
Process end time:   2024/7/3 0:55:35

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Scoop. Task type is ListPackages
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: " -NoProfile -ExecutionPolicy Bypass -Command scoop list"
Process start time: 2024/7/3 0:55:27
Process end time:   2024/7/3 0:55:31

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Scoop. Task type is ListSources
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: " -NoProfile -ExecutionPolicy Bypass -Command scoop bucket list"
Process start time: 2024/7/3 0:55:28
Process end time:   2024/7/3 0:55:31

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Scoop. Task type is ListPackages
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: " -NoProfile -ExecutionPolicy Bypass -Command scoop list"
Process start time: 2024/7/3 0:55:35
Process end time:   2024/7/3 0:55:36

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Scoop. Task type is ListUpdates
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: " -NoProfile -ExecutionPolicy Bypass -Command scoop status"
Process start time: 2024/7/3 0:55:36
Process end time:   2024/7/3 0:55:42

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Scoop. Task type is FindPackages
Subprocess executable: "C:\Users\aaron\scoop\shims\scoop-search.exe"
Command-line arguments: "clion"
Process start time: 2024/7/3 0:55:38
Process end time:   2024/7/3 0:55:38

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Relevant information

Potentially related to #1723.

Screenshots and videos

UniGetUI Log.txt