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

Entry list loses focus after entry edit #4157

Closed
AlwaysOn24 opened this issue Jan 11, 2020 · 3 comments · Fixed by #4287
Closed

Entry list loses focus after entry edit #4157

AlwaysOn24 opened this issue Jan 11, 2020 · 3 comments · Fixed by #4287

Comments

@AlwaysOn24
Copy link

ok

Expected Behavior

open keepassxc, program starts
login
arow down arow down: (fokus now in the list of entries)
ctrl+e: entry opens, edit the titel or anything other
alt + o (save and close of the entry)
arow down or up: focus jumps from one entry to the next, with ctrl+e open is working

Current Behavior

open keepassxc, program starts
login
arow down arow down: (fokus now in the list of entries)
ctrl+e: entry opens, edit the titel or anything other
alt + o (save and close of the entry)
arow down or up: focus has been lost in the list of entries. ctrl+e open is not working. only with shift+tab the focus is back in the list and can be opened with ctrl+e or browsed with the up and down arrow.

Possible Solution

after saving, make sure, the focus is back in the list of entries.

Steps to Reproduce

  1. n a

Context

the issue affected me in the way of disrupting my workflow when working just with the keyboard only. the bug forces me, to make additional mouse operations or press shift+tab to regain control of the focus in the list of entries.

Debug Info

KeePassXC - VERSION
Revision: REVISION
KeePassXC - Version 2.5.2
Revision: 62cda9d
Distribution: Snap

Qt 5.9.5
Debugging mode is disabled.

Operating system: Ubuntu Core 18
CPU architecture: x86_64
Kernel: linux 5.0.0-37-generic

Enabled extensions:

  • Auto-Type
  • Browser Integration
  • SSH Agent
  • KeeShare (signed and unsigned sharing)
  • YubiKey
  • Secret Service Integration

Cryptographic libraries:
libgcrypt 1.8.1

Libraries:

  • LIBS

Operating system: n a
CPU architecture: ARCH na
Kernel: KERNEL na

Enabled extensions:

  • EXTENSIONS
    na
@AlwaysOn24 AlwaysOn24 added the bug label Jan 11, 2020
@droidmonkey
Copy link
Member

This is not the behavior on Windows 10. Must be a Linux thing...

@droidmonkey droidmonkey changed the title fokus get lost in the list of entries after open + edit, save and close of an entry Entry list loses focus after entry edit Jan 11, 2020
@errolpais
Copy link

Verified behavior exists on:
KeePassXC-2.5.2-x86_64.AppImage
Ubuntu 16.04.6 LTS

@JJuiice
Copy link
Contributor

JJuiice commented Feb 4, 2020

I was able to recreate this issue with the latest build on Windows and Linux. In 2.5.2, entryView and groupView are temporarily disabled after the database is edited to ensure it is safely saved and keyboard focus is lost. I can open a PR in a bit.

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

Successfully merging a pull request may close this issue.

4 participants