Skip to content
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

Cleanup welcome screen recent databases view #4822

Merged
merged 6 commits into from
Jun 6, 2020

Conversation

JMcKiern
Copy link
Contributor

@JMcKiern JMcKiern commented Jun 4, 2020

While a database in the "Recent databases" on the welcome screen is selected, pressing the "Delete" key will now cause that database to be removed from the recent databases list.
Fixes #4710

Additionally, this fixes a segfault that occurs when a user presses Enter while the "Recent databases" widget is in focus but no database is selected.

Screenshots

clear-database

Testing strategy

I did some manual tests.
I'm new to this so let me know if/how I should implement tests.

Type of change

  • ✅ New feature (change that adds functionality)
  • ✅ Bug fix (non-breaking change that fixes an issue)

src/gui/WelcomeWidget.cpp Outdated Show resolved Hide resolved
src/gui/WelcomeWidget.cpp Outdated Show resolved Hide resolved
src/gui/WelcomeWidget.cpp Outdated Show resolved Hide resolved
@droidmonkey droidmonkey added this to the v2.6.1 milestone Jun 5, 2020
@phoerious
Copy link
Member

I think there is still this bug that the field stays visible after clearing out all entries. That should be fixed as well.

@droidmonkey droidmonkey modified the milestones: v2.6.1, v2.6.0 Jun 5, 2020
@droidmonkey
Copy link
Member

droidmonkey commented Jun 5, 2020

We can merge this into 2.6.0, it is a glaring UI issue. Thank you for the submission!

@JMcKiern
Copy link
Contributor Author

JMcKiern commented Jun 5, 2020

Thanks :)

@droidmonkey droidmonkey changed the title Press "Delete" to remove recent database Cleanup welcome screen recent databases view Jun 6, 2020
@droidmonkey droidmonkey merged commit 6c91254 into keepassxreboot:develop Jun 6, 2020
lerignoux pushed a commit to lerignoux/keepassxc that referenced this pull request Jul 20, 2020
* Press "Delete" to remove recent database
* Refresh recent databases on becoming visible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request : delete priviouly opened database entry’s
3 participants