Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a document stack to iterate drawings in the order of their usage #1697

Open
lordofbikes opened this issue Oct 7, 2023 · 0 comments
Open
Labels
feature request A request for new functionality or behavior

Comments

@lordofbikes
Copy link
Member

This is to keep up the discussion from #1207.

Expected behavior

Closing a drawing window activates the previous used drawing.
TAB and Shift-TAB iterate documents in the order of their usage.

Observed behavior

Closing a drawing window activates always the first drawing, which is mostly the empty unnamed drawing from start.
TAB and Shift-TAB iterate documents in the fixed order of opening.

Steps to reproduce or sample file

  • open multiple drawings in Tab mode
  • close the latest or any other Tab
  • the first drawing is activated then

This applies to Window mode too, but it is harder to observe.

Operating System and LibreCAD version info

All OS, latest master

As discussed in #1207, it can be irritating, especially when working with multiple drawings, when a drawing is closed and the empty unnamed drawing is activated then.

Because #1207 is fixed now by #1696, the problem is solved for Print Preview and Block Editor.
Anyhow, it would be nice to switch between the drawings in the order of their usage too, similar to other applications where TAB and Shift-TAB iterate documents in forward or reverse usage order.

The last #1207 (comment), from @tonischranz, describes the needed steps very well.

@lordofbikes lordofbikes added the feature request A request for new functionality or behavior label Oct 7, 2023
dxli added a commit that referenced this issue Oct 7, 2023
When closing a document, activate the latest opened if exists.

This is not yet usage based activation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A request for new functionality or behavior
Projects
None yet
Development

No branches or pull requests

1 participant