Skip to content

[BUG] Cannot copy the generated winget command from the "Settings for installation" dialog #4961

@de-served

Description

@de-served

Please confirm these before moving forward

  • I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
  • I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • I have checked the FAQ section for solutions.
  • This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version

2026.2.1

Windows version, edition, and architecture

Windows 11 24H2

Describe your issue

When a user searches for a package and opens the "Settings for installation" dialog, the "Run this command" field displays the full winget.exe command that will be executed (e.g., winget.exe install --id "...package..." --exact --source winget ...). However, the text in this field is not selectable and cannot be copied to the clipboard. This prevents users from manually modifying the command or using it in other contexts (e.g., in a terminal, scripts, or for troubleshooting).

This is a usability issue that affects users who need to adjust the command for advanced scenarios or who want to verify the exact parameters being used.

Steps to reproduce the issue

Launch UniGetUI.

Search for any package (e.g., Git.Git).

In the search results, click the "Settings for installation" icon (or right-click the package and select "Settings for installation").

In the dialog that appears, ensure that "Follow default settings when installing, updating, or uninstalling this package" is enabled (toggle is ON).

Disable this toggle (turn it OFF). The tabs "General", "Architecture and location", etc., become enabled.

Scroll down to the bottom of the dialog where the "Run this command" field is displayed. It shows the full winget.exe command that will be used.

Attempt to select any part of the command text with the mouse or keyboard (e.g., click and drag, or use Ctrl+A).

Observe that the text cannot be selected and therefore cannot be copied.

Expected behavior
The text in the "Run this command" field should be selectable (by mouse or keyboard) and copyable to the clipboard, allowing users to easily copy the command for modification, review, or external use.

Actual behavior
The text in the "Run this command" field is not selectable and cannot be copied. Users are forced to manually retype the command, which is error‑prone and time‑consuming.

Possible solution
Make the "Run this command" text box a standard read‑only text input (or a TextBox with IsReadOnly="True") that supports text selection and copy operations.

Alternatively, add a dedicated "Copy to clipboard" button next to the command field.

UniGetUI Log

-

Package Managers Logs

-

Relevant information

No response

Screenshots and videos

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions