Handle closing/aborting the "open file" dialog #25

Closed
opened 2023-02-22 17:56:51 +01:00 by lucas · 1 comment
Owner
  2023-02-22T16:55:27.785146Z  WARN druid_shell::backend::gtk::dialog: Unhandled dialog result: DeleteEvent
    at /home/lucas/.cargo/git/checkouts/druid-f71533f3d81c0bc8/115e46c/druid-shell/src/backend/gtk/dialog.rs:115

  2023-02-22T16:55:27.788303Z ERROR druid_shell::backend::gtk::window: Error trying to open file: Unhandled dialog result
    at /home/lucas/.cargo/git/checkouts/druid-f71533f3d81c0bc8/115e46c/druid-shell/src/backend/gtk/window.rs:923

  2023-02-22T16:55:27.788376Z  WARN dtmm::state: Unknown command: Command { symbol: "druid-builtin.open-panel-cancelled", payload: Any { .. }, target: Window(WindowId(1)) }
    at crates/dtmm/src/state.rs:394
    in dtmm::state::Delegate

The result can just be ignored, but it shouldn't produce an error.

``` 2023-02-22T16:55:27.785146Z WARN druid_shell::backend::gtk::dialog: Unhandled dialog result: DeleteEvent at /home/lucas/.cargo/git/checkouts/druid-f71533f3d81c0bc8/115e46c/druid-shell/src/backend/gtk/dialog.rs:115 2023-02-22T16:55:27.788303Z ERROR druid_shell::backend::gtk::window: Error trying to open file: Unhandled dialog result at /home/lucas/.cargo/git/checkouts/druid-f71533f3d81c0bc8/115e46c/druid-shell/src/backend/gtk/window.rs:923 2023-02-22T16:55:27.788376Z WARN dtmm::state: Unknown command: Command { symbol: "druid-builtin.open-panel-cancelled", payload: Any { .. }, target: Window(WindowId(1)) } at crates/dtmm/src/state.rs:394 in dtmm::state::Delegate ``` The result can just be ignored, but it shouldn't produce an error.
lucas added the
crate/dtmm
stage
actionable
status/good first issue
kind
bug
labels 2023-02-22 17:56:51 +01:00
lucas added this to the Mod Manager project 2023-02-22 17:56:51 +01:00
lucas added this to the DTMM v1.0 + DTMT milestone 2023-02-28 16:00:00 +01:00
Author
Owner

I cannot reproduce the error now. The unhandled command can be ignored safely, and will already not be logged in prod.

I cannot reproduce the error now. The unhandled command can be ignored safely, and will already not be logged in prod.
lucas closed this issue 2023-03-03 14:51:00 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: bitsquid_dt/dtmt#25
No description provided.