Skip to content

Tab opened in a wrong window #439

Open
@sorawee

Description

@sorawee

Consider the following sequence of actions:

  1. Start DrRacket
  2. Open a Racket file (say, a.rkt) in a tab via File > Open (with "Open files in separate tabs" on)
  3. Open a new window
  4. Switch back to the previous window (that has a.rkt)
  5. Open a Racket file (say, b.rkt)

I expect that b.rkt will be be in the same window as a.rkt, but it's not.

IIUC, this is due to how open-drscheme-window tries to open a new tab in newest-frame, which is set to the most recent created window. I don't understand why that's a desirable behavior however.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions