Bug 165573 - Consider making the read-only "Notify" open action the default for "Document in use" locked file dialog, and use suggested action class styling
Summary: Consider making the read-only "Notify" open action the default for "Document ...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
25.2.1.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on: 165572
Blocks: Dialog-UX File-Lock
  Show dependency treegraph
 
Reported: 2025-03-04 20:37 UTC by Jeff Fortin Tam
Modified: 2025-03-04 20:38 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Fortin Tam 2025-03-04 20:37:50 UTC
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 [details]:

* 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