[Bug 166386] Provide confirmation warning dialog for MRUs "Clear Recent Documents" and "Clear Unavailable Files"

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri May 16 06:41:53 UTC 2025


https://bugs.documentfoundation.org/show_bug.cgi?id=166386

Heiko Tietze <heiko.tietze at documentfoundation.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
           Keywords|needsUXEval                 |difficultyMedium, easyHack,
                   |                            |skillCpp, topicUI
                 CC|libreoffice-ux-advise at lists |heiko.tietze at documentfounda
                   |.freedesktop.org            |tion.org
             Status|UNCONFIRMED                 |NEW

--- Comment #5 from Heiko Tietze <heiko.tietze at documentfoundation.org> ---
We discussed the topic in the design meeting.

The function itself is easy to understand and the result should not come with a
surprise. However, it is a destructive action that cannot be undone. If the
warning is implemented, it needs to be a querydialog that allows users to not
show it again. 

Easy hack:

The command run via main menu is executed in
RecentFilesMenuController::itemSelected() (CMD_CLEAR_LIST), when done from the
start center it is RecentDocsView::clearUnavailableFiles(), see
sfx2/source/control/recentdocsview.cxx. An example for the querydialog is
SwView::ExecViewOptions()... case FN_VIEW_FIELDNAME in
sw/source/uibase/uiview/view0.cxx (see also
https://gerrit.libreoffice.org/c/core/+/185213).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list