Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commit window file list scrolls to top and selects wrong file #4787

Closed
duncanawoods opened this issue Apr 5, 2018 · 8 comments
Closed

Commit window file list scrolls to top and selects wrong file #4787

duncanawoods opened this issue Apr 5, 2018 · 8 comments
Labels
area: user experience 📭 needs: author feedback More info/confirmation awaited from OP; issues typically get closed after 30 days of inactivity type: bug 🐛

Comments

@duncanawoods
Copy link

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

The wrong file is selected in the commit window when clicked because the list auto-scrolls to the top and then a file at the correct screen location but now different scroll position is selected.

https://i.imgur.com/eff22vA.mp4

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

  1. 50 locally modified files
  2. Open the commit window
  3. Stage a file and write a commit message
  4. Have the file list scrolled down and select a file
  5. Click commit-push
  6. Select a visible file
  7. The file list scrolls up to the top and selects a file different to the one that was clicked

What is the expected behavior?

On clicking, the scroll position should not be changed and the correct file should be selected

Environment you encounter the issue:

  • GitExtensions version:
  • GIT version: 2.51
  • OS version: Windows 10 Home

Did this work in previous version of GitExtensions (which)?

Don't know

@emilsteen
Copy link

This happens every time the list has lost it's focus and the list is scrollable (has more files that fits in the list).
It happens in both "Working directory changes" and in "Staged files".

Reproduce:

  1. Select the other list so the scrollable list looses focus.
  2. Scroll down the scrollable list.
  3. Select a file.
  4. Wrong file is selected.

@mstv
Copy link
Member

mstv commented Oct 12, 2019

@duncanawoods and @emilsteen, this issue might have been fixed by the PR #7247.
Could you try the current development build (portable version), please?

@emilsteen
Copy link

Unfortunately, it is not solved in version 3.3.0.6869.

@emilsteen
Copy link

But I can't reproduce it when I clone the repository and run it from Visual Studio.
Both Debug and Release configuration works.

Is there something with that zip-file I tried?

@emilsteen
Copy link

After lots of testing it looks like this was resolved in commit acf2fe0 in branch #7267.

@gerhardol gerhardol added the 📭 needs: author feedback More info/confirmation awaited from OP; issues typically get closed after 30 days of inactivity label Oct 14, 2019
@mstv
Copy link
Member

mstv commented Oct 14, 2019

Thank you for testing again! Sorry for the confusion I caused by pointing to the wrong fix.

@RussKie
Copy link
Member

RussKie commented Oct 17, 2019 via email

@emilsteen
Copy link

Has this been fixed?

It works on my machine.
=D

@RussKie RussKie closed this as completed Oct 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: user experience 📭 needs: author feedback More info/confirmation awaited from OP; issues typically get closed after 30 days of inactivity type: bug 🐛
Projects
None yet
Development

No branches or pull requests

5 participants