Skip to content

Fix key-file dialog hang when selecting unreadable key files - #13495

Open
abdosaeedelhassan wants to merge 2 commits into
keepassxreboot:developfrom
abdosaeedelhassan:fix/keyfile-readability
Open

Fix key-file dialog hang when selecting unreadable key files#13495
abdosaeedelhassan wants to merge 2 commits into
keepassxreboot:developfrom
abdosaeedelhassan:fix/keyfile-readability

Conversation

@abdosaeedelhassan

Copy link
Copy Markdown

Add QFileInfo::isReadable() check before attempting to open a key file, preventing a hang on Flatpak when an unreadable file is selected.

Fixes #12531

[skip ci]

Screenshots

Testing strategy

Type of change

  • ✅ Bug fix (non-breaking change that fixes an issue)
  • ✅ New feature (change that adds functionality)
  • ✅ Breaking change (causes existing functionality to change)
  • ✅ Refactor (significant modification to existing code)
  • ✅ Documentation (non-code change)

Add QFileInfo::isReadable() check before attempting to open a key
file, preventing a hang on Flatpak when an unreadable file is
selected.

Fixes keepassxreboot#12531

[skip ci]
@varjolintu varjolintu added the pr: ai-assisted Pull request contains significant contributions by generative AI label Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: ai-assisted Pull request contains significant contributions by generative AI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Database open dialog hangs when selecting unreadable key file

3 participants