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

Able to paste several lines of text to the "Name" field in "Edit Selected VM" #5627

Closed
rxhfcy opened this issue Aug 29, 2023 · 1 comment
Closed
Labels
interface Design, UX/UI issues
Milestone

Comments

@rxhfcy
Copy link

rxhfcy commented Aug 29, 2023

Describe the issue
This is pretty trivial of course, but I happened to notice that you can paste several lines of text to the "Name" field in "Edit Selected VM"

Steps to reproduce:

  1. Open TextEdit, have 5 lines of text: "First", "Second", "Third", "Fourth" and "Fifth"
  2. Select and Copy the 5 lines of text
  3. In UTM, pick a VM and "Edit Selected VM"
  4. Information / Name -> Paste the 5 lines of text
  5. Save

What happens: The VM now has a silly 5-line name.
Expected: warn, truncate or something. Nobody needs more than one line.

Screen shot:
Screenshot

Configuration

  • UTM Version: v4.4.0 (Beta) / 4.4.0 (88)
  • macOS Version: 14.0 Beta (23A5328b)
  • Mac Chip (Intel, M1, ...): M1 (MacBook Air M1, 16 GB RAM)
@rxhfcy
Copy link
Author

rxhfcy commented Aug 29, 2023

(don't try this at home, nontrivial to make UTM work again)

OK, decided to try even stupider shenanigans and pasted 100 lines of spam to the "Name" field.

Got the following error message and after that, the UTM window has hidden etc, had to manually move/delete files in Finder (in ~/Library/Containers/com.utmapp.UTM/Data/Documents) to make things normal again.

Screen shot of the error message (no buttons visible on the screen)

Screenshot

(copy/pasted 100 lines of this:)
123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_
123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_
etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interface Design, UX/UI issues
Projects
None yet
Development

No branches or pull requests

2 participants