Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

"Panes > Split Down" doesn't split tabs if they are single-click-opened (italic tab label) #16934

@revelt

Description

@revelt

Prerequisites

Description

When you single click on file tree on left sidebar, that file tab's label is in italic and tab doesn't stay opened, but another single-clicked file replaces it. I'm talking about this mode in particular, as opposed to file being double-clicked, when tab's label is in normal font.

When single-clicked, it's not possible to split down the pane with a file open. If it was double-clicked, it works as intended. While example is shown with an image, any file will not pane-split if it was opened by single-clicking (its tab's label was in italic).

split

Steps to Reproduce

  1. Single-click on any file on the file Tree View panel. Make sure newly-created tab's label is in italic (you didn't double-click).
  2. Activate menu item: View > Panes > Split Down

Expected behavior: Window splitting accordingly and file being open.

Actual behavior: Tree View sidebar splits instead with no file opened in newly-created split.

Reproduces how often: 100%

Versions

Atom : 1.24.0
Electron: 1.6.16
Chrome : 56.0.2924.87
Node : 7.4.0
MacOS : 10.13.3

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