Skip to content

DankChat v0.5.1

Choose a tag to compare

@coldi1337 coldi1337 released this 28 Sep 10:28
· 7 commits to main since this release

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 FileBrowserContent was
    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.

Full changelog · Issue #1