Skip to content

UI Shows "Not Responding" #108

@zoicware

Description

@zoicware

Describe the bug

When running the script with the UI option clicking/dragging the UI window while the script is processing can display "Not Responding" on the UI window title bar

To Reproduce

Run any of the tweaks and attempt to move or click the UI while processing

Screenshots

Image

Solution

Simply DO NOT click/drag/attempt to interact with the UI window while running the selected options.

If you run into this error there is nothing wrong just wait and the msg will go away once the code is finished.

Context

A limitation of PowerShell is running code on different threads, the UI and actual removal code are running on the same thread resulting in the Not Responding error. This can be fixed with runspaces or jobs but would require the whole script to be rewritten. This would not make any sense since the UI does not need to be used while the code is running its simply for visual feedback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions