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.

Double clicking on result doesn't make tab permanent #680

Open

Description

@adamreisnz

Like for double clicking in tree view, I'd like double clicking on a search result to make that tab permanent, not a preview tab.

Use case: often I want to find something in multiple files and open all the files that the search term was found in.

Activity

  1. swrobel commented on Apr 4, 2016

    @swrobel

    I filed a similar request, but different: #694

  2. MadLittleMods commented on Apr 6, 2016

    @MadLittleMods

    Does this test still pass?

    it "opens the file containing the result in non-pending state when the search result is double-clicked", ->

    The double-click functionality was mentioned in the PR that changed the behavior, #644

    Double click opens file in regular non-pending state.

    I can't get it to work on Windows or OSX with Atom 1.6.2.

  3. swrobel commented on Apr 6, 2016

    @swrobel

    @MadLittleMods not working for me either. Atom 1.7.0-beta4, MacOS.

  4. MadLittleMods commented on Apr 6, 2016

    @MadLittleMods

    Just noticed that if you double-click the tab itself in the preview/pending state, it will move to a permanent tab. Not the ideal workflow but workable for now. This functionality looks like it was introduced in this commit, atom/tabs@0ad1fa1, from this PR, atom/tabs#246

  5. adamreisnz commented on Jun 6, 2016

    @adamreisnz
    Author

    This seems to be fixed now (at least in 1.10.0-dev-672cf6d)

  6. adamreisnz commented on Jun 11, 2016

    @adamreisnz
    Author

    I find this not working again in 1.10.0-dev-748dbcd, so it might be a bug that it sometimes works and sometimes doesn't. Will try to analyse further.

  7. adamreisnz commented on Jun 24, 2016

    @adamreisnz
    Author

    @mnquintana this issue seems to be a bug rather than an enhancement, could you update the label please?

  8. adamreisnz commented on Jul 3, 2016

    @adamreisnz
    Author

    @50Wliu sorry, including you here as @mnquintana seems to be away for a while. Could you mark this as a bug instead? See #644, double click should open the pane in non-pending state.

    Currently, with Atom 1.10.0 it's not working a lot of times, and double clicking the find result results in a temporary tab.

  9. adamreisnz commented on Dec 14, 2016

    @adamreisnz
    Author

    Still not functional in 1.13 unfortunately. It's creating a lot of unnecessary effort when refactoring and needing to open a lot of files based on search results, as you need to then double click each tab to make it permanent.

  10. winstliu commented on Dec 14, 2016

    @winstliu
    Contributor

    Yeah, I was never able to get this to work.

  11. adamreisnz commented on Dec 14, 2016

    @adamreisnz
    Author

    Hasn't the mechanism for creating either temporary or permanent panes been refactored quite a while ago to allow for an easy API to choose how a file should be opened? I seem to recall reading a proposal for that way back when all new files were being opened in a temporary pane.

  12. TheNotary commented on Jan 5, 2017

    @TheNotary

    Changes like these should probably be looked at as feature deprecations if it can be foreseen that it will negatively impact a developer's workflow. E.G. if she or he is relying on exclusive use of permanent tabs to open files, a warning should be listed that this behavior is going to change during an upcoming release and they he or she should begin to adjust their workflow or decline the upgrade.

    As a note, if double clicking the tab isn't working for people in certain releases, you may try right clicking and looking for a "make permanent tab" option.

    Does anyone know which version of atom killed the exclusive permanent tabs feature? And is it still not implemented as a configuration option? I hate to say it, but I think it may be a more efficient approach to editing text files than what has most recently been proposed and introduced into the stable branch of Atom.

  13. winstliu commented on Jan 5, 2017

    @winstliu
    Contributor

    The config option you're looking for is "Allow Pending Pane Items".

  14. chrishiestand commented on Jan 28, 2017

    @chrishiestand
  15. winstliu commented on Aug 10, 2017

    @winstliu
    Contributor

    This only happens if the results view is not in a different pane from where the results are going to open. Once the first click is registered, the new tab is opened and the second click doesn't register.

  16. jneuendorf commented on Sep 5, 2019

    @jneuendorf

    The bug still happens on Atom 1.40.1 for me 😢
    Is this issue supposed to be working by now?

  17. jamesbebbington commented on Oct 4, 2019

    @jamesbebbington

    Yeah same for me in 1.40.1 with one pane. It's really frustrating.

  18. gilbertohasnofb commented on Jul 1, 2020

    @gilbertohasnofb

    Still present in 1.46.0. I think this is a substantial inconsistency with how the users are expected to interact with the application, considering that the tree view allows for double clicks for opening permanent tabs. Opening individual search results and having to double click on their tab names is very tedious.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions