-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Group order reset after adding a new group #10017
Comments
Hi! I would like to take up this issue |
For fixing this do we just remove the jabref/src/main/java/org/jabref/gui/groups/GroupTreeViewModel.java Lines 179 to 182 in e991e82
I wonder if maintaining the alphabetical order is a desirable feature for some users? |
There's a right click menu option to sort the groups and subgroups
Nitin Suresh ***@***.***> schrieb am Di., 4. Juli 2023, 12:37:
… For fixing this do we just remove the sortAlphabeticallyRecursive call
here -
https://github.com/JabRef/jabref/blob/e991e8241e9a0c39b98d2be88aecb063cdf9249d/src/main/java/org/jabref/gui/groups/GroupTreeViewModel.java#L179-L182
I wonder if maintaining the alphabetical order is a desirable feature for
some users?
—
Reply to this email directly, view it on GitHub
<#10017 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACOFZFZDBSHY4UMBE73TTLXOOFYXANCNFSM6AAAAAAZKY44WY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Got it, thanks |
So yeah just remove this for default on group adding and and leave it to the user in the context menu |
Default sorting also occurs when major edit modifications are carried out on a group. I am guessing that should also be removed, so as to have consistent behaviour? |
Yes, that sounds like a good idea
Nitin Suresh ***@***.***> schrieb am Mi., 5. Juli 2023, 01:15:
… Default sorting also occurs when major edit modifications are carried out
on a group. I am guessing that should also be removed, so as to have
consistent behaviour?
—
Reply to this email directly, view it on GitHub
<#10017 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACOFZD5LIBVB2TEZDFVFQTXOQ6QZANCNFSM6AAAAAAZKY44WY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Note that the behavior was introduced at a fix for koppor#577 at #9228. The PR, however, missed the requirement that groups should be added alphabetically only if they were sorted alphabetically before. -- Thinking longer, the requirement was not that good. We came up with a more sophisticated requirement at koppor#577. |
JabRef version
Latest development branch build (please note build date below)
Operating system
macOS
Details on version and operating system
mac os ventura
Checked with the latest development build
Steps to reproduce the behaviour
=> Expected order would be C, A, B, D
It seems to be that the default sort ordering A-Z is applied,
originally reported in the forum https://discourse.jabref.org/t/adding-new-group-changes-the-group-order-back-to-alphabetical-order/3855?u=siedlerchr
Appendix
...
Log File
The text was updated successfully, but these errors were encountered: