Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-8240

Click horizontal scrollbar selects hunk last line

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • 2.3.5.0
    • None
    • 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

              Unassigned Unassigned
              403e90133b23 Tiago Martins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: