"Remove group" options are presented for clicked group, but actions are taken on all selected groups #9281
Closed
2 tasks done
Labels
bug
Confirmed bugs or reports that are very likely to be bugs
good first issue
An issue intended for project-newcomers. Varies in difficulty.
groups
JabRef version
Latest development branch build (please note build date below)
Operating system
Windows
Details on version and operating system
Windows 21H2, jabref build date: 22/10/22
Checked with the latest development build
Steps to reproduce the behaviour
Remove group > Also remove subgroups
orRemove group > keep subgroups
The
group
passed toremoveGroupKeepSubgroups
andremoveGroupAndSubgroups
is only used for dialog text,selectedGroups
is used for all actual removals.Potential solutions could be to check that clicked group is part of selected groups, or to update context menu and dialogs to reflect selected groups more accurately.
Appendix
Appears to be caused by changes from #8390.
Problematic methods
org.jabref.gui.groups.GroupTreeViewModel.java:
The text was updated successfully, but these errors were encountered: