Skip to content

Opening file with previously opened session forces crash #4129

@colichri

Description

@colichri

Environment

  • TeXstudio: 4.8.8
  • Qt: 6.9.1
  • OS: macOS Sequoia 15.6
  • TeX distribution: mactex

Expected behaviour

I am currently writing my Bachelor's thesis and have created a .txss2 session file for it.
TXS recognises the associated files.
I would like to edit the abstract.tex file by clicking on it in the contents panel on the left.

Actual behaviour

Starting TXS and loading the session file.
After loading the session, I wanted to edit an unopened file (abstract.tex) via the document navigation (side panel, contents) on the left-hand side.
Clicking on it to open the file forces TXS to crash.
An Apple bug report window opens immediately afterwards.
TXS also crashes when opening the main.tex and then clicking on any file in the contents panel which hasn't been opened yet.

How to reproduce

See the steps above.
This bug can only be reproduced by clicking on a file in the contents panel that hasn't yet been opened in TXS.
Once a file has been opened via the structure panel, any file can be opened without causing any further crashes.

bug_report_txs.txt

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