Skip to content

Git Commit Diff tab file list does not remember sorting and is unsorted by default #7742

Closed

Description

@Saljack

Apache NetBeans version

Apache NetBeans 22

What happened

If I want to commit changes and check what was changed there then a list of files in the Diff tab is unsorted (or I do not see any sorting key). I would expect that selected sorting will be stored and when I open this window next time it will be sorted by the previous selection.
I always have to click on the header to sort files by Path.
It would be really nice to use the same order of files as selected in the Commit tab (but there are different headers).

image

I would also expect files in the Diff tab to be sorted by default by Path (my preference) or by File Name.

Language / Project Type / NetBeans Component

Git

How to reproduce

  1. Git commit
  2. Sort files in Diff tab by Path
  3. Confirm commit
  4. Do some changes in a few files
  5. Git commit again
  6. Files are again unsorted in the Diff tab

Did this work correctly in an earlier version?

No / Don't know

Operating System

Windows 10

JDK

Temurin 21

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

No response

Are you willing to submit a pull request?

No

Activity

  1. added
    kind:bug
    needs:triage
    on Sep 9, 2024
  2. added
    UI
    git
    kind:feature
    and removed
    needs:triage
    kind:bug
    on Sep 11, 2024
  3. added a commit that references this issue on Jun 5, 2026
    95aa31d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    UIgitkind:feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions