Skip to content

Two "Save As..." dialogs over each other #605

@tc-faid

Description

@tc-faid

Environment

  • TeXstudio: 2.12.14
  • Qt: 5.11.2
  • OS: macOS 10.14.5
  • TeX distribution: TeX Live 2019
    But this is an old bug, already present several years ago, so it's probably not version-dependent.

Expected behavior

When I create a new document from the File menu, I expect to have a single "Save As..." dialog that appears, either because I choose "Save As..." in the File menu, or because TeXstudio's autosave feature kicks in after one minute.

Actual behavior

I get two "Save As" dialogs. The first one appears when I trigger it from the File menu, and the second appears automatically because of autosave.
This second dialog appears over the first one, while I was typing the file name. It interrupts my typing.
It looks like TeXstudio doesn't check for the presence of an already opened dialog.

How to reproduce

  1. Create a new file from the File menu.
  2. Start typing something, then choose "Save As..." in the File menu. The first dialog appears normally.
  3. If you aren't finished typing the file name one minute after creating the document, the second dialog appears over the first one.
  4. Getting the first dialog to the front to resume typing is impossible, so you are required to type the file name again from the beginning in the second dialog.

Thanks for your attention.

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