Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-3972

Copying an empty selection nukes the clipboard content

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • Next minor release
    • None
    • None
    • None

      If you have a text cursor (i.e. empty selection) in the commit message field and type Cmd-C, instead of nothing happening ("Copy" shouldn't be enabled when nothing is selected) the clipboard is emptied instead. Given C and V are right next to each other on many keyboards, it's easy to lose data. Please fix this to leave the pasteboard alone.

          Form Name

            [SRCTREE-3972] Copying an empty selection nukes the clipboard content

            Thanks for the report, text view validation wasn't being used properly.

            Brian Ganninger (Inactive) added a comment - Thanks for the report, text view validation wasn't being used properly.

            Bah… nuke content != crash (rewritten)

            Brian Ganninger (Inactive) added a comment - - edited Bah… nuke content != crash (rewritten)

              Unassigned Unassigned
              5451048c44d7 uliwitness
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: