Cannot paste into autofiltered range, because selection is not uniform.
Steps to reproduce:
1. Make a list of repeating numbers in one column such as 1, 2, 3, 4, 1, 2, 3, 4.
2. Now use autofilter to filter out everything but ones.
3. Let's say you want to copy there your two lines of data from somewhere else. But you cannot, Libreoffice says you cannot paste into multiple selections.
Being able to paste into autofiltered sheet to visible fields.
Platform (if different from the browser):
Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0
Build ID: own W7 debug build
Windows 7 Professional SP1 64 bit
In your example I could paste into filtered fields using Ctrl+V. I just received "cells contain data" warning. However paste commands in right-menu or toolbar buttons are disabled.
LibO 3.6.1, still the same. If you test it just make sure the range you are pasting into contains at least a row, which is filtered out.
Easiest is to copy everything and then paste it into the same place.
Created attachment 124421 [details]
Example document for easy testing.
Still an issue in 126.96.36.199
Still same in 188.8.131.52
The error message in Calc is of course much better than Excel 2016-s way of pasting in hidden cells at random (some cells get new content, some don't, visible ones usually do).
This was also requested in https://ask.libreoffice.org/en/question/157634/paste-only-to-visible-cells-into-filtered-column-in-calc/ .
Created attachment 160989 [details]
some tests copy/paste with discontinuos ranges
misleading ... or improved?
from the title/subject and the sample and test one could get the impression it's generally impossible to paste data into discontinuos areas ...
at least with ver 184.108.40.206.a1+ and 220.127.116.11 the opposite is true, it is even possible to copy from one discountinuos area to other discountinuos areas, see attached sheet, cases S, U, Y, Z, only some simple cases are blocked, see yellow highlighting in attached sheet,
why? was a developer 'unusually careful' not to produce errors by automatic extend of the target area? in other cases this is generously accepted,
of course, a security warning would be desirable beforehand,
there are! some flaws, see red highlighting in attached sheet,
the request from this bug works if you select A2:A6 instead of only A2 as target for pasting, maybe that caused the norepro comment #1,
- enable pasting to 'small targets',
- replace the option 'yes' from the dialog 'The content of the clipboard is bigger than the range selected. - Do you want to insert it anyway?' by a selection:
A: 'shrink' - copy partial data to small target area,
B: 'extend' - copy full clipboard to automatically extended target range,
not only for copying to autofiltered ranges but in general if target < source in width or height,