Repository navigation
DankChat v0.5.1
This patch fixes the blank chat window reported with newer DMS builds after the file-browser API changed. Both the legacy and modern native file pickers are supported.
Fixed
- Fix the blank chat window on newer DMS builds where
FileBrowserContentwas
removed. The file dialog now selects the modern or legacy native picker at
runtime, preserving support for older DMS versions (issue #1). - Preserve the native picker's layout and theming when loading it dynamically.
- Show a clear English/German error if no compatible picker is available, while
keeping the conversation usable. - Clear diagnostic-export mode when the file dialog is dismissed.
Improved
- Support selecting multiple attachments at once in the modern DMS picker.
- Check file-picker components and shared dependencies in
check-environment,
and distinguish this file check from a full QML runtime test. - Extend UI coverage for selection, media/diagnostic export, cancellation,
missing picker types and layout geometry on both DMS generations. - Fix the test runner's shutdown path after a QML loading failure and isolate
its home directory as well as its settings and account data.
Upgrade notes
Update DankChat and restart DMS. If setup has not been run since upgrading from
0.4, run python3 scripts/setup in the plugin folder first. This patch adds no
new dependencies and preserves existing accounts and settings. Restarting DMS
clears drafts held only in memory.
Validation: 93 project tests, 152 vendor tests (one intentional skip), Qt/QML and manifest checks, English/German picker fixtures, and the service fixture against current DMS source. Selection, save, cancel, missing-picker behavior and layout were checked with synthetic data. The reporter’s exact ChaoticAUR package has not been installed or tested.