https://bugs.documentfoundation.org/show_bug.cgi?id=170921
Bug ID: 170921
Summary: In LibreOffice Calc 25.x, the Text Import dialog can
no longer be invoked when pasting text from the
clipboard
Product: LibreOffice
Version: 25.8.4.2 release
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: [email protected]
Reporter: [email protected]
Description:
In LibreOffice Calc 25.x, the Text Import dialog can no longer be invoked when
pasting text from the clipboard. The dialog is only accessible through the
interactive Paste Special dialog, and all previous programmatic or UNO‑based
methods to trigger it are now ignored. This appears to be a regression from
earlier versions.
Steps to Reproduce:
1. Copy any plain‑text data to the clipboard (e.g., tab‑ or comma‑delimited
text).
2. In Calc, select a cell.
3. Attempt to invoke the Text Import dialog using any of the following methods:
- `.uno:TextImport`
- `.uno:PasteSpecial` with `"Flags"="D"`
- `.uno:PasteSpecial` with `"SelectedFormat"=1`
- A recorded macro that performs Paste Special → “Use Text Import Dialog”
4. Observe that none of these methods open the Text Import dialog.
5. Instead, Calc always shows the small two‑option dialog:
“Unformatted text” / “Text import”
requiring manual selection.
Actual Results:
- `.uno:TextImport` executes without error but does nothing.
- `.uno:PasteSpecial` ignores the `"D"` flag and `"SelectedFormat"` parameter.
- Macro recorder does not capture the “Use Text Import Dialog” action.
- The full Text Import dialog cannot be opened programmatically or via keyboard
shortcut.
- The only remaining path is manually selecting “Use Text Import Dialog” in the
Paste Special dialog.
Expected Results:
- The Text Import dialog should be accessible via UNO commands, as in earlier
versions.
- `.uno:TextImport` should open the dialog directly.
- `.uno:PasteSpecial` with the appropriate flags should bypass the intermediate
dialog.
- Users should be able to bind a keyboard shortcut or macro to open the
Text Import dialog when pasting clipboard text.
Reproducible: Always
User Profile Reset: Yes
Additional Info:
Version: 25.8.4.2 (X86_64)
Build ID: 290daaa01b999472f0c7a3890eb6a550fd74c6df
CPU threads: 20; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster;
VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
- File‑based Text Import (File → Open or Insert Sheet From File) still works
normally.
- The regression appears limited to clipboard‑based imports.
- The presence of `.uno:TextImport` in the command registry suggests the
feature was not intentionally removed, but the implementation no longer
responds in Calc.
--
You are receiving this mail because:
You are the assignee for the bug.