Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 380
    • Issues 380
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #3849
Closed
Open
Issue created Jan 23, 2022 by Marcono1234@Marcono1234

TortoiseGitMerge cannot drag mouse to select last character of wrapped line

In TortoiseGitMerge with "Wrap Lines" enabled, it is not possible to select the last character of a wrapped line by dragging the mouse to the end of the line.

What steps will reproduce the problem?

  1. Open TortoiseGitMerge, for example:
    1. Create an empty text file test1.txt
    2. Create a text file test2.txt with the following content
      test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test
    3. In the Windows Explorer, select both files and perform "TortoiseGit" > "Diff"
  2. Enable "Wrap Lines" in the toolbar at the top
  3. If necessary resize the window so at least one line is wrapped
  4. In the wrapped line, press down your mouse and drag it to the end of the line (where the remainder of the line is wrapped)
    ❌ It is not possible to select the last character of the line

What is the expected output? What do you see instead?

Expected: When dragging the mouse it should be possible to select the complete text of the line, until the position where it is wrapped

Actual: The last character cannot be selected, see
Video showing bug

What version of TortoiseGit and Git are you using? On what operating system?

Microsoft Windows [Version 10.0.19043.1466]

TortoiseGit 2.12.0.0
git version 2.34.1.windows.1

TortoiseGitMerge 2.12.0.0 - 64 Bit, Mar 31 2021
libsvn_diff 1.8.0, -dev
apr 1.6.5
apr-util 1.6.1

Please provide any additional information below.

This only seems to affect text selection by dragging the mouse. Text selection with the arrow keys while holding down Shift works fine, though the cursor seems to be wrapped to the next line as well. Maybe that is related to why it does not work when dragging the mouse.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking