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.

Settings view opens in wrong pane without working tab #11199

Closed

Description

@Ben3eeE

Prerequisites

For more information on how to write a good bug report or enhancement request, see the CONTRIBUTING guide.

Description

Opening the settings from another pane than the one it is currently open in causes the settings to open without a tab.

See image where settings tab is in the right pane, but settings is shown in the left pane but another tab has focus and should be the one shown.
capture

How to know if correct repository, maybe its settings view, maybe tabs, maybe here?

Steps to Reproduce

  1. New window ctrl+shift+n.
  2. Split right so you have two panes.
  3. Focus on left pane.
  4. Open settings with ctrl+,. Settings open normally in the left pane.
  5. Focus on right pane.
  6. Open settings with ctrl+,. Exception in console happens.
  7. Open settings with ctrl+,. Settings open in right pane but tab is in left pane.
  8. Can close left settings tab without closing settings.

Expected behavior: Settings to always have tab in and that tab to be correct. To not throw an exception in the console.

Actual behavior: Incorrect or no tab associated with settings.

Versions

You can get this information from executing atom --version and apm --version at the command line.
atom --version
1.6.0

apm --version
apm 1.6.0
npm 2.13.3
node 0.10.40
python 2.7.11
git 1.9.2.msysgit.0
visual studio

Activity

  1. changed the title [-]Settings view opens in wrong location without working tab[/-] [+]Settings view opens in wrong pane without working tab[/+] on Apr 6, 2016
  2. Ben3eeE commented on Apr 14, 2016

    @Ben3eeE
    ContributorAuthor

    This still happens in atom 1.7.0. Still annoys me every day cause I leave the settings-view open.

    However since 1.7.0 (?) this has started to throw an uncaught exception to the console.
    I updated the steps in the original post to reflect this find.

    /deep/ combinator is deprecated. See https://www.chromestatus.com/features/6750456638341120 for more details.
    C:\Users\lineri\AppData\Local\atom\app-1.7.0\resources\app.asar\src\text-editor-component.js:983 ::shadow pseudo-element is deprecated. See https://www.chromestatus.com/features/6750456638341120 for more details.
    C:\Users\lineri\AppData\Local\atom\app-1.7.0\resources\app.asar\src\item-registry.js:11 Uncaught (in promise) Error: The workspace can only contain one instance of item [object Object](…)
    module.exports.ItemRegistry.addItem @ C:\Users\lineri\AppData\Local\atom\app-1.7.0\resources\app.asar\src\item-registry.js:11
    module.exports.PaneContainer.addedPaneItem @ C:\Users\lineri\AppData\Local\atom\app-1.7.0\resources\app.asar\src\pane-container.js:387
    (anonymous function) @ C:\Users\lineri\AppData\Local\atom\app-1.7.0\resources\app.asar\src\pane-container.js:372
    module.exports.Emitter.simpleDispatch @ C:\Users\lineri\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\event-kit\lib\emitter.…:25
    module.exports.Emitter.emit @ C:\Users\lineri\AppData\Local\atom\app-1.7.0\resources\app.asar\node_modules\event-kit\lib\emitter.…:12
    5module.exports.Pane.addItem @ C:\Users\lineri\AppData\Local\atom\app-1.7.0\resources\app.asar\src\pane.js:485
    module.exports.Pane.activateItem @ C:\Users\lineri\AppData\Local\atom\app-1.7.0\resources\app.asar\src\pane.js:428
    (anonymous function) @ C:\Users\lineri\AppData\Local\atom\app-1.7.0\resources\app.asar\src\workspace.js:533
    
  3. Ben3eeE commented on Dec 29, 2016

    @Ben3eeE
    ContributorAuthor

    Closing in favor of atom/settings-view#723

  4. lock commented on Apr 3, 2018

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  5. locked and limited conversation to collaborators on Apr 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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