Skip to content

[Regression] Automatic table formatting when pasting from LibreOffice Calc broken again in 4.9.2 (Ref #4186) #4328

@njpires

Description

@njpires

Environment

  • TeXstudio: 4.9.2
  • Qt: 6.10.1 and compile with Qt 6.10.1 R
  • OS: Windows 11
  • TeX distribution: TeX Live 2025

Expected behavior

When pasting a copied table range from LibreOffice Calc into a tabular or tblr environment, TeXstudio should automatically detect the spreadsheet data and insert the corresponding LaTeX code (using & for columns and \\ for rows). This feature was previously restored in issue #4186 but seems to have stopped working.

Actual behavior

Instead of formatting the text as a LaTeX table, a dialog appears prompting to insert the clipboard content as an image (screenshot behavior). This indicates a regression of the fix implemented for issue #4186.

Image

How to reproduce

  1. Open LibreOffice Calc (tested with Version: 25.8.4.2).
  2. Copy a range of cells (e.g., A1:C3).
  3. Open TeXstudio 4.9.2.
  4. Place the cursor inside a tabular or tblr environment in the editor.
  5. Paste the content (Ctrl+V).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions