Click horizontal scrollbar selects hunk last line

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Medium
    • None
    • Affects Version/s: 2.3.5.0
    • Component/s: None
    • Environment:

      Windows 10 Professional x64, en-US language

    • Severity 3 - Minor

      When you are viewing file changes in File Status tab and you click on the horizontal scrollbar of a given hunk it selects the last line of code of it. It causes the button action to change from 'Stage hunk' to 'Stage lines' and then you have to remove the selection to be able to stage the hunk again.

      The same issue happens if you're just checking file modifications on Log/History tab.

      How to reproduce #1:

      1. Clone a repository
      2. Make a file change
      3. Open SourceTree, File Status tab
      4. Select the modified file
      5. Press the horizontal scrollbar

      How to reproduce #2:

      1. Clone a repository
      2. Make a file change
      3. Open SourceTree, Log / History tab
      4. Select any commit
      5. Select any modified file of the commit
      6. Click on the horizontal scrollbar of any of the hunks

            Assignee:
            Unassigned
            Reporter:
            Tiago Martins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: