Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Preview tab should close when it loses focus #196

Open

Description

@grayghostvisuals

Even though a tab preview is great, Atom still keeps a single tab open for the last file highlighted in the tree view. Attached is a screen capture in gif form.

Desired Outcome : I want preview tabs to close no matter what. They should only open when I modify them and only then.

previewtabs-atom

Activity

  1. mnquintana commented on Jul 21, 2015

    @mnquintana
    Contributor

    I'm not sure I follow from the screencap - can you elaborate?

  2. grayghostvisuals commented on Jul 21, 2015

    @grayghostvisuals
    Author

    @mnquintana If you look and follow:

    1. I select a file from tree view
    2. The selected file displays the preview in a tab
    3. If I unselect the file from the tree view and go back to another tab I'm actually editing, the preview tab still stays open even though I never modified it. Make sense now?
  3. ProLoser commented on Sep 23, 2015

    @ProLoser

    I think what you're saying is that preview tab should disappear when another tab is focused.

  4. grayghostvisuals commented on Sep 23, 2015

    @grayghostvisuals
    Author

    yes. just like the screenshot

  5. ssorallen commented on Oct 7, 2015

    @ssorallen
    Contributor

    @grayghostvisuals This functionality was modeled after Sublime Text from what I have read, and Sublime Text keeps the preview tab open even if you focus another tab.

  6. ddavison commented on Oct 8, 2015

    @ddavison

    I'm the author of this particular functionality - and yes.. this was a problem. when you lost focus from the tab, I had a desire to make it close, but never got to that functionality :)

    So 👍 +1

  7. changed the title [-]Preview Tabs Should Only Stay Open When Modified.[/-] [+]Preview tab should close when it loses focus[/+] on Oct 15, 2015
  8. miguelsan commented on Sep 13, 2016

    @miguelsan

    Come on, @ssorallen, Sublime Text ain't the mother of all editors...

    This is a behaviour I am really looking forward to have, I click around files quite often but need a clean screen to work, therefore I see myself closing previews all the time. Pretty annoying.

    Are there any news on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions