Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clicking and dragging in the minimap should cause it to scroll the editor. #21915

Closed
jpoehls opened this issue Mar 3, 2017 · 3 comments
Closed
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) editor-minimap Code/Text minimap widget issues

Comments

@jpoehls
Copy link

jpoehls commented Mar 3, 2017

  • VSCode Version: Code 1.10.1 (653f873, 2017-03-02T00:33:15.706Z)
  • OS Version: Windows_NT ia32 10.0.14393
  • Extensions:
Extension Author Version
EditorConfig EditorConfig 0.4.0
vs-code-xml-format fabianlauer 0.1.4
vscode-auto-open-markdown-preview hnw 0.0.3
docomment k--kato 0.0.14
Go lukehoban 0.6.49
vscode-todo-parser minhthai 1.8.7
vscode-elixir mjmcloug 0.1.1
prettify-json mohsen1 0.0.3
csharp ms-vscode 1.7.0
PowerShell ms-vscode 0.9.0
RustyCode saviorisdead 0.19.1
vscode-wakatime WakaTime 1.1.3

Steps to Reproduce:

  1. Enable the minimap.
  2. Open a file large enough to need scolling.
  3. Click inside the minimap outside of the region currently visible in the editor (i.e., something you need to scroll to see). Without releasing your click, move your cursor up and down.

The click moves the editor to the region clicked but I'd expect further cursor movements before releasing the click to cause the selected region in the minimap to scroll with your cursor. That is, I'd expect it to behave the same as when you initially click the currently visible editor region in the minimap and move your cursor - how the editor scrolls with you.

@maxime4000
Copy link

Just posting a resume of my duplicate here :

Idea :

  • Minimap opacity 50% and when your selecting some text and your mouse is interacting with the text on the minimap. (Setting ?)
  • Enable/Disable scrolling with the minimap (Disable interaction with the minimap so it like interacting with the text).
  • Changing the Opacity of the minimap.

issue

@Tekbr
Copy link

Tekbr commented Mar 4, 2017

-- Sorry for the English, I used Google Translator --

I said something similar at #21822 and @alexandrudima said it is duplicate of #21729 . I believe this one too, no?

@alexdima
Copy link
Member

alexdima commented Mar 6, 2017

@maxime4000 @Tekbr I think @jpoehls refers to something slightly different, where the first mouse down occurs on the minimap, but outside of the minimap slider:

  1. Click inside the minimap outside of the region currently visible in the editor (i.e., something you need to scroll to see). Without releasing your click, move your cursor up and down.

@jpoehls Clicking on the minimap does not necessarily mean the minimap slider will move to where the click happened. I try to explain this by-design limitation in #21708.

@alexdima alexdima closed this as completed Mar 6, 2017
@alexdima alexdima added *duplicate Issue identified as a duplicate of another issue(s) editor-minimap Code/Text minimap widget issues labels Mar 6, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) editor-minimap Code/Text minimap widget issues
Projects
None yet
Development

No branches or pull requests

5 participants