Skip to content

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

Open
@Saljack

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    UIUser Interfacegit[ci] enable versioning jobkind:featureA feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions