-
-
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
Fixes issue #9281: Let right-click menu more accurately represent selected (sub-)group(s) #9321
Conversation
Hi, could anyone please me some instructions of solving the deployment for macOS. Is it test fail due to my implementation is based on Window system in my local workplace?
|
Thanks for the pr, you can ignore the failure of the mac tests. It require some signing keys that are only available in the original Jabref repor |
To ease organizational workflows I have linked the pull-request to the issue with syntax as described in https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue
|
Thanks for your suggestion. May I please ask is there anything in our implementation need be improved? We would like to have some feedback. |
Thanks for your interest in JabRef programming. After taking a quick look into your solution, this seems to be rather a workaround, but a solution. Before deciding on this issue, i think its best to have some comparisons, eg. how does windows explorer or mac or any other file manager handle the case, that the right click happens not on the entry, which is selected? |
Can you please offer some insight in your rationale and provide some examples, how windows explorer or other applications handle right-click on a list? |
I sorry to see you may have lost interest in fixing this issue. Would be still great though if this issue could be fixed. Maybe someone else is interested looking into best practices on right click handling in lists? |
Fixes #9281
Previous discussion about "Remove group" options are presented for clicked group, but actions are taken on all selected groups.
Proposed solution
We assume that the user would like to apply removal only to the current clicked group if the clicked group is not in
selectedGroups
removeGroupKeepSubgroups()
orremoveGroupAndSubgroups()
are called, check whether the clicked group is presented inselectedGroupds
selectedGroups
and add the current clicked group intoselectedGroups
Single group in
selectedGroup
but does not containgroup
removalbefore
removeGroupKeepSubgroups()
orremoveGroupAndSubgroups()
:selectedGroups
: test2group
: test3Steps:
Multi group in
seletedGroup
but does not containgroup
before
removeGroupKeepSubgroups()
orremoveGroupAndSubgroups()
:selectedGroups
: test1, test2,test3group
: test4Steps:
CHANGELOG.md
described in a way that is understandable for the average user (if applicable)