Skip to content

Can't change 'vendor' or 'product' text in Cocoa version 5.2.10 #23

@barbeque

Description

@barbeque

Summary

Trying to enter letters into the 'vendor' or 'product' fields in the Mac Cocoa version of the scsi2sd-util 5.2.10 just makes a system beep sound.

Numbers go through fine, unless you enter too many numbers, at which point the application quits.

It seems like it is trying to re-use the "input filtering" code from the numeric fields, although a quick look at the Xcode project in this repo doesn't make it obvious how that would happen. "Revision" also seems to be affected by the same bug, as typing into that field turns 4.2 into 42

I'd like to be able to set my vendor and product strings to match an OEM Apple Quantum Fireball, in the hopes that HD SC Setup will smile upon me.

Reproduced on a MacBook Air (Intel) running Monterey and a MacBook Pro (ARM) running Ventura, on versions downloaded from the SCSI2SD website and the Releases tab on this repository.

This seems to be a regression from 5.2.5, which allows me to enter text in the "vendor" field.

Reproduction Steps

Can't enter text

  1. Open scsi2sd-util 5.2.10
  2. Navigate to "Device 1" tab
  3. Select "Vendor" field (by default, the contents are codesrc)
  4. Type the letter "Q."
  5. The field will clear, and your "Q" does not appear.
  6. Type the letter "U."
  7. The same thing happens again.

Crashes

  1. Open scsi2sd-util and navigate to "Device 1" tab
  2. Select "Vendor" field
  3. Type a very long number into there.
  4. Application crashes and is caught by CrashReporter. The crash log is attached below, if it helps.

SCSI2SD-util-2023-04-15-210308.ips.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions