Skip to content

Compact folders: Context menu actions not selection aware #86103

Closed

Description

Testing #85928

The path copied is org.eclipse.jdt.junit.runtime/src/org/eclipse/jdt/internal/junit/runner

Same with other context menu command: Open in Terminal, Find in Folder..., New File...
Rename & Copy seem to work.

Activity

  1. added
    bug
    file-explorer
    on Dec 4, 2019
  2. isidorn commented on Dec 4, 2019

    @isidorn

    Good catch. Debt follow up work #86268

    Verifier have the compact folders in the explorer and verify all context menu actions work on the expected context (if you click on the middle item it will execute on it).

  3. aeschli commented on Dec 5, 2019

    @aeschli
    ContributorAuthor

    Open Terminal still opens on the wrong folder. Created #86408

  4. aeschli commented on Dec 5, 2019

    @aeschli
    ContributorAuthor

    Oh, it's much more. It depends on where the selection is (not just the focus).

    • open a remote WSL window
    • clone https://github.com/eclipse/eclipse.jdt.ui.git
    • set "explorer.compactFolders": true
    • in the explorer, set the selection on org.eclipse.jdt.junit.runtime - src -org\eclipse\jdt\internal\junit\runner
    • Move the mouse over jdt, open the context menu and `Copy Relative Path'
      Paste:
      org.eclipse.jdt.junit.runtime\src
      org.eclipse.jdt.junit.runtime\src\org
      org.eclipse.jdt.junit.runtime\src\org\eclipse
      org.eclipse.jdt.junit.runtime\src\org\eclipse\jdt
      org.eclipse.jdt.junit.runtime\src\org\eclipse\jdt\internal
      org.eclipse.jdt.junit.runtime\src\org\eclipse\jdt\internal\junit
      org.eclipse.jdt.junit.runtime\src\org\eclipse\jdt\internal\junit\runner

    I changed #86408 to that.

  5. aeschli commented on Dec 5, 2019

    @aeschli
    ContributorAuthor

    If the selection is somewhere else, things work. Marking as verified.

  6. locked and limited conversation to collaborators on Jan 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugfile-explorerverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions