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

            Bug ID: 165573
           Summary: Consider making the read-only "Notify" open action the
                    default for "Document in use" locked file dialog, and
                    use suggested action class styling
           Product: LibreOffice
           Version: 25.2.1.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

When you try to open a file already opened on another system (ex: in a shared
folder), you get a warning dialog giving you a few action choices, as seen in
attachment #180851:

* Open Read-Only
  * Notify
* Open Copy (if the file was locked by *another* user)
* Open (i.e. override the safety)
* Cancel

Notify seems to be essentially "Open Read-Only" but with the extra feature that
it will notify you if/when the document's lockfile is released and the document
can become read+write (barring situations like bug #165572 where it doesn't
actually notify you).

As such, I see no downside and no reason why you would want to use only "Open
Read-Only" instead of using "Notify".

Therefore, my suggestion here is: 

* Consider making "Notify" an integral default part of "Open Read-Only" feature
(and putting an explanatory mention of that in the dialog's message text
instead), and eliminating the separate action for it.

* Ideally, for the GTK version, you would also set the blue "suggested-action"
CSS class on the resulting "Open Read-Only [with notification]" button to
indicate it is the most recommendable action; see
https://developer.gnome.org/hig/patterns/controls/buttons.html#suggested-destructive-actions
for reference, but such styling is already used elsewhere in LibreOffice
(implemented in bug #150007, bug #150008), so you also have existing code for
this as reference, too.


----

Version: 25.2.1.2 (X86_64) / LibreOffice Community
Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49
CPU threads: 8; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Flatpak

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to