Skip to content

Crash while typing \includegraphics[width=\ #4291

@JPelda

Description

@JPelda

Environment

TeXstudio 4.9.1 (git 4.9.1)
Using Qt Version 6.10.1, compiled with Qt 6.10.1 R

Project home site: https://texstudio.org/
Latest stable version: 4.9.1

  • OS: Windows 11
  • TeX distribution: texlive 2023

Expected behavior

\includegraphics[width=\textwidth]{figurepath}

should include graphic.

Actual behavior

after getting template:
\includegraphics[]{}

while typing "" in [width=]
\includegraphics[width=]{}

Textstudio throws an error and crashes.

How to reproduce

Typing \includegraphics[width=\

texstudio_backtrace1.txt gives:
unknown at 7ff6c85862a9 (TXS-Version 4.9.1 R )
[bt] 00007ff6c84b0ff3 q+3797385
[bt] 00007ff6c84b01c7 q+3793757
[bt] 00007ff6c83be03c q+2802130

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