| Summary: | Show a warning infobar when imported text file used several of selected field separators | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Mike Kaganski <mikekaganski> |
| Component: | Calc | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | NEW --- | ||
| Severity: | enhancement | CC: | erack, heiko.tietze |
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=152336 | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 109238 | ||
|
Description
Mike Kaganski
2022-12-01 09:25:05 UTC
The same infobar could be shown also in case of paste of text into existing spreadsheet document, when this text import dialog was used, in the same scenario. I suspect the infobar would be annoying to many users. And if you load a lot of data in any tool you have to do sanity checks anyway. And I wonder what threshold you have in mind. Something like more than 0.01% "common separator" in the document. Why not do the opposite with the argument that only a few data points are separated by semicolon and you haven't check it. Last but not least what impact would such a check have on the performance? (In reply to Heiko Tietze from comment #2) > I suspect the infobar would be annoying to many users. And if you load a lot > of data in any tool you have to do sanity checks anyway. If you import a *CSV* (or TSV, or any of the *normal* text files of this kind, generated by vast majority of software), which use a *single* separator inside, then no matter how many separators you selected in the dialog - only one of them must be used actually by Calc; if Calc happened to meet two of the selected separators - it means that the import *went wrong*, and it is a *destructive import error*. This is the whole essence of the issue. If "many users" would see it, it means that many users import their data and break it, and *do not notice it*! > And I wonder what threshold you have in mind. Something like more than 0.01% > "common separator" in the document. No threshold. A single extra separator means the error occurred. *Especially* when it's a single occurrence, it's most possible that the user will not notice it somewhere in the middle of a huge data. > Why not do the opposite with the argument that only a few data points are > separated by semicolon and you haven't check it. I totally do not understand you. > Last but not least what impact would such a check have on the performance? None. No impact on performance, simple warning at every single occurrence... no need for input from UX in this case. |