Skip to content

Preferences dialog now closes on CLOSE DIALOG key binding#9268

Merged
k3KAW8Pnf7mkmdSMPHz27 merged 4 commits into
JabRef:mainfrom
sjb-ch1mp:fix-for-issue-8888
Oct 21, 2022
Merged

Preferences dialog now closes on CLOSE DIALOG key binding#9268
k3KAW8Pnf7mkmdSMPHz27 merged 4 commits into
JabRef:mainfrom
sjb-ch1mp:fix-for-issue-8888

Conversation

@sjb-ch1mp

@sjb-ch1mp sjb-ch1mp commented Oct 19, 2022

Copy link
Copy Markdown
Contributor

Fixes #8888

The Preferences dialog was not closing when the CLOSE DIALOG key binding was pressed. This was because when the user changed the tab, they needed to click the Preference Tab List. This ListView was not respecting the event handlers that were present on the dialog. To resolve this, an 'onKeyReleased' event was added to the ListView. The Preferences tab now closes when the CLOSE DIALOG key binding is pressed.

  • Change in CHANGELOG.md described in a way that is understandable for the average user (if applicable)
  • Tests created for changes (if applicable)
  • Manually tested changed features in running JabRef (always required)
  • Screenshots added in PR description (for UI changes)
  • Checked developer's documentation: Is the information available and up to date? If not, I outlined it in this pull request.
  • Checked documentation: Is the information available and up to date? If not, I created an issue at https://github.com/JabRef/user-documentation/issues or, even better, I submitted a pull request to the documentation repository.

@Siedlerchr Siedlerchr added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Oct 19, 2022

@Siedlerchr Siedlerchr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution works! LGTM! Needs review from a second dev

@Siedlerchr

Copy link
Copy Markdown
Member

failing unit tests are related to jitpack error

@k3KAW8Pnf7mkmdSMPHz27 k3KAW8Pnf7mkmdSMPHz27 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and thank you for your contribution @sjb-ch1mp!

A minor point is that this only partially fixes #8888, as it only addresses it for one of the ListViews so I'll re-open the issue after this PR is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ESC should close the dialog

3 participants