Summary: | "Really clear history?" confirmation dialog is modal and blocks plasmashell | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | mubashar96 |
Component: | Clipboard widget & pop-up | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | a1sadqw, nate |
Priority: | NOR | Keywords: | usability |
Version First Reported In: | 5.27.9 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Bug Depends on: | |||
Bug Blocks: | 504615 |
Description
mubashar96
2023-12-04 15:10:13 UTC
Slight tricky problem. Being modal is correct here since you do have to make a decision before proceeding. But being modal caused it to block interaction with the app, which is Plasma, so you can't interact with any other part of Plasma. It might be a better UX if we replaced this modal confirmation dialog with InlineMessage giving you the opportunity to undo the action. And that would fix the problem automatically by removing the modal dialog. *** Bug 500069 has been marked as a duplicate of this bug. *** Digging into this, it seems like a tricky one. We use a KMessageBox::warningContinueCancel here, which is inherently modal (app-model or window-modal); it has no non-modal usage, and it isn't spawned by a traditional parent window so we can't make it window-modal. I think we should remove this dialog and instead offers users the option to undo clearing the entire history. That would constitute a better, more HIG-aligned UX anyway. |