online icon indicating copy to clipboard operation
online copied to clipboard

Improve UX of the paste special fallback dialog

Open vmiklos opened this issue 2 years ago • 1 comments

Describe the Bug

In case navigator.clipboard.read() fails for paste special, then we show a dialog which does work, but it has poor UX and can easily confuse users.

Steps to Reproduce

  1. Open Calc
  2. Copy a cell
  3. Click the paste dropdown on the notebookbar
  4. Click the paste special menu item

Expected Behavior

A clear dialog that explains it's time to press Ctrl-V.

Actual Behavior

A dialog that looks like just a warning to be ignored, and a confused user when pressing OK doesn't result in a paste special.

Screenshots

image

Desktop

Tested on Linux with Firefox, Chrome doesn't show this dialog anymore (with experimental settings enabled).

Suggested fixes

  1. 'Ok' legend needs renaming to 'Cancel' in 23.05 - no translation change needed and 'Cancel paste special' in 24.04
  2. We should bold the 'Please press now:' - which at least in English should say: "Please press" so it is far more visible.
  3. We should loose the excessive white-space at the bottom of the dialog if we can.
  4. Probably we should have a "Paste from this document" button as well which is likely the majority use-case and shouldn't need access to the clipboard

vmiklos avatar Feb 21 '24 12:02 vmiklos

Yep, full agree!


I think it could just be reworded to:

Your browser has very limited access to the keyboard.

Press Ctrl + V to see more options.

Then you would just naturally:

  • Press Cancel (or click out of popup) if you want to get out.
  • Press Ctrl+V if you want to go further.
    • Bringing you to the "Paste Special" dialog.

Also maybe:

  • Center+Bold the first line / warning.

I think that'll make it easier to understand the popup. :)


Side Note: I just wrote a little about the clunky Calc "Paste Special" dialog here too:

  • https://github.com/CollaboraOnline/online/issues/8033#issuecomment-1936949598

Tex2002ans avatar Feb 21 '24 17:02 Tex2002ans

New look after #8366:

image

vmiklos avatar Feb 27 '24 07:02 vmiklos

The above two PRs are now in, closing.

vmiklos avatar Feb 29 '24 08:02 vmiklos