vscode-gitlens
vscode-gitlens copied to clipboard
Really janky code navigation when extension is enabled
Issue Type: Bug
Extension version: 11.2.1 Git Version: git version 2.30.0 VS Code version: Code 1.53.2 (622cb03f7e070a9670c94bae1a45d78d7181fbd4, 2021-02-11T11:48:44.518Z) OS version: Linux x64 5.10.15-1-MANJARO
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (4 x 2908) |
| GPU Status | 2d_canvas: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: disabled_off opengl: enabled_on protected_video_decode: unavailable_off rasterization: disabled_software skia_renderer: enabled_on video_decode: disabled_software vulkan: disabled_off webgl: enabled webgl2: enabled |
| Load (avg) | 4, 4, 4 |
| Memory (System) | 15.50GB (5.13GB free) |
| Process Argv | . --no-sandbox --crash-reporter-id e352d1e0-4455-405c-af5d-66a1891cf888 |
| Screen Reader | no |
| VM | 0% |
| DESKTOP_SESSION | /usr/share/xsessions/plasma-i3 |
| XDG_CURRENT_DESKTOP | KDE |
| XDG_SESSION_DESKTOP | KDE |
| XDG_SESSION_TYPE | x11 |
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspyt653:30253241
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry244cf:30256637
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt600cf:30251589
pythontb:30258531
When I press the up/down arrow keys to navigate a file tracked by git, gitlens makes the experience janky, and I see can see a "lag"/"jumps" when I hold the "down arrow" key. For example, if the cursor is at line 1, then holding the "down arrow" key should move the cursor down 1 line at a time (really fast though). While the gitlens extension is enabled, holding the "down arrow" key will make the cursor jump from line 1 to line 10, and then to line 20, and then to 30. (just arbitrary numbers, but the idea is that it doesn't move smoothly) Disabling the extension fixes this.
Honestly, my laptop isn't very powerful, and is about 5 years old at this point :P but I think that adding a debounce should make things better?
Steps to Reproduce:
- Hold the "down arrow" or "up arrow" key.
Debug output from "Gitlens"
[2021-02-18 22:24:49:381] [48e] GitService.getBlameForFile — e=GitUri(file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts repoPath=/home/adi/src/github.com/9at8/watch-and-learn)
[2021-02-18 22:24:49:384] [48e] GitService.getBlameForFile Cache hit: 'blame'
[2021-02-18 22:24:49:385] [48e] GitService.getBlameForFile completed • 3 ms
[2021-02-18 22:24:49:402] [48f] GitService.getBlameForFile — e=GitUri(file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts repoPath=/home/adi/src/github.com/9at8/watch-and-learn)
[2021-02-18 22:24:49:409] [48f] GitService.getBlameForFile Cache hit: 'blame'
[2021-02-18 22:24:49:410] GitCodeLensProvider.provideCodeLenses: — 3 symbol(s) found
[2021-02-18 22:24:49:412] [48f] GitService.getBlameForFile completed • 9 ms
[2021-02-18 22:24:49:441] GitCodeLensProvider.provideCodeLenses: — 3 symbol(s) found
[2021-02-18 22:25:20:756] [490] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=undefined, pending=true, reason=selection
[2021-02-18 22:25:20:756] [491] LineAnnotationController.clear completed • 0 ms
[2021-02-18 22:25:20:756] [490] LineAnnotationController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:20:756] [492] LineHoverController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=undefined, pending=true, reason=selection
[2021-02-18 22:25:20:757] [492] LineHoverController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:20:757] [493] StatusBarController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=undefined, pending=true, reason=selection
[2021-02-18 22:25:20:757] [493] StatusBarController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:21:021] [495] GitService.getBlameForLine — e=GitUri(file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts repoPath=/home/adi/src/github.com/9at8/watch-and-learn), t=1
[2021-02-18 22:25:21:021] [496] GitService.getBlameForFile — e=GitUri(file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts repoPath=/home/adi/src/github.com/9at8/watch-and-learn)
[2021-02-18 22:25:21:021] [496] GitService.getBlameForFile Cache hit: 'blame'
[2021-02-18 22:25:21:021] [496] GitService.getBlameForFile completed • 0 ms
[2021-02-18 22:25:21:021] [495] GitService.getBlameForLine completed • 0 ms
[2021-02-18 22:25:21:022] [494] GitLineTracker.updateState returned true • 0 ms — e=1, t=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts
[2021-02-18 22:25:21:022] [497] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=[1-1], pending=false, reason=selection
[2021-02-18 22:25:21:022] [498] LineAnnotationController.refresh
[2021-02-18 22:25:21:022] [497] LineAnnotationController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:21:022] [499] LineHoverController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=[1-1], pending=false, reason=selection
[2021-02-18 22:25:21:022] [499] LineHoverController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:21:022] [49a] StatusBarController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=[1-1], pending=false, reason=selection
[2021-02-18 22:25:21:022] [49b] StatusBarController.updateBlame
[2021-02-18 22:25:21:022] [49c] GitService.getRichRemoteProvider
[2021-02-18 22:25:21:022] [49a] StatusBarController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:21:022] [49c] GitService.getRichRemoteProvider completed • 0 ms
[2021-02-18 22:25:21:022] [49d] GitService.getRichRemoteProvider
[2021-02-18 22:25:21:023] [49e] GitService.getPullRequestForCommit — e=180a139a4aa0bf2cb6bf536918f2c1760541c672, t=GitHub, {"timeout":100}
[2021-02-18 22:25:21:023] [49f] GitHubRemote.getPullRequestForCommit — e=180a139a4aa0bf2cb6bf536918f2c1760541c672
[2021-02-18 22:25:21:023] [49f] GitHubRemote.getPullRequestForCommit completed • 0 ms
[2021-02-18 22:25:21:023] [49d] GitService.getRichRemoteProvider completed • 0 ms
[2021-02-18 22:25:21:024] [49e] GitService.getPullRequestForCommit completed • 0 ms
[2021-02-18 22:25:21:024] [4a0] GitService.getPullRequestForCommit — e=180a139a4aa0bf2cb6bf536918f2c1760541c672, t=GitHub
[2021-02-18 22:25:21:025] [4a1] GitHubRemote.getPullRequestForCommit — e=180a139a4aa0bf2cb6bf536918f2c1760541c672
[2021-02-18 22:25:21:025] [4a1] GitHubRemote.getPullRequestForCommit completed • 0 ms
[2021-02-18 22:25:21:027] [4a0] GitService.getPullRequestForCommit completed • 2 ms
[2021-02-18 22:25:21:036] [49b] StatusBarController.updateBlame completed • 14 ms
[2021-02-18 22:25:21:044] [498] LineAnnotationController.refresh completed • selection(s)=[1-1] • 22 ms
[2021-02-18 22:25:21:364] [4a2] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=undefined, pending=true, reason=selection
[2021-02-18 22:25:21:364] [4a3] LineAnnotationController.clear completed • 0 ms
[2021-02-18 22:25:21:364] [4a2] LineAnnotationController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:21:364] [4a4] LineHoverController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=undefined, pending=true, reason=selection
[2021-02-18 22:25:21:364] [4a4] LineHoverController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:21:364] [4a5] StatusBarController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=undefined, pending=true, reason=selection
[2021-02-18 22:25:21:364] [4a5] StatusBarController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:23:805] [4a7] GitService.getBlameForLine — e=GitUri(file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts repoPath=/home/adi/src/github.com/9at8/watch-and-learn), t=52
[2021-02-18 22:25:23:805] [4a8] GitService.getBlameForFile — e=GitUri(file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts repoPath=/home/adi/src/github.com/9at8/watch-and-learn)
[2021-02-18 22:25:23:805] [4a8] GitService.getBlameForFile Cache hit: 'blame'
[2021-02-18 22:25:23:806] [4a8] GitService.getBlameForFile completed • 0 ms
[2021-02-18 22:25:23:806] [4a7] GitService.getBlameForLine completed • 0 ms
[2021-02-18 22:25:23:806] [4a6] GitLineTracker.updateState returned true • 1 ms — e=52, t=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts
[2021-02-18 22:25:23:806] [4a9] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=[52-52], pending=false, reason=selection
[2021-02-18 22:25:23:807] [4aa] LineAnnotationController.refresh
[2021-02-18 22:25:23:807] [4a9] LineAnnotationController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:23:807] [4ab] LineHoverController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=[52-52], pending=false, reason=selection
[2021-02-18 22:25:23:807] [4ab] LineHoverController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:23:807] [4ac] StatusBarController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=[52-52], pending=false, reason=selection
[2021-02-18 22:25:23:808] [4ac] StatusBarController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:23:811] [4aa] LineAnnotationController.refresh Line 52 returned no commit
[2021-02-18 22:25:23:813] [4aa] LineAnnotationController.refresh completed • selection(s)=[52-52] • 6 ms
[2021-02-18 22:25:24:438] [4ad] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=undefined, pending=true, reason=selection
[2021-02-18 22:25:24:438] [4ae] LineAnnotationController.clear completed • 0 ms
[2021-02-18 22:25:24:438] [4ad] LineAnnotationController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:24:438] [4af] LineHoverController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=undefined, pending=true, reason=selection
[2021-02-18 22:25:24:438] [4af] LineHoverController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:24:438] [4b0] StatusBarController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=undefined, pending=true, reason=selection
[2021-02-18 22:25:24:438] [4b0] StatusBarController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:24:689] [4b2] GitService.getBlameForLine — e=GitUri(file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts repoPath=/home/adi/src/github.com/9at8/watch-and-learn), t=51
[2021-02-18 22:25:24:689] [4b3] GitService.getBlameForFile — e=GitUri(file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts repoPath=/home/adi/src/github.com/9at8/watch-and-learn)
[2021-02-18 22:25:24:690] [4b3] GitService.getBlameForFile Cache hit: 'blame'
[2021-02-18 22:25:24:690] [4b3] GitService.getBlameForFile completed • 0 ms
[2021-02-18 22:25:24:690] [4b2] GitService.getBlameForLine completed • 0 ms
[2021-02-18 22:25:24:690] [4b1] GitLineTracker.updateState returned true • 0 ms — e=51, t=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts
[2021-02-18 22:25:24:690] [4b4] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=[51-51], pending=false, reason=selection
[2021-02-18 22:25:24:690] [4b5] LineAnnotationController.refresh
[2021-02-18 22:25:24:690] [4b4] LineAnnotationController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:24:690] [4b6] LineHoverController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=[51-51], pending=false, reason=selection
[2021-02-18 22:25:24:690] [4b6] LineHoverController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:24:690] [4b7] StatusBarController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=[51-51], pending=false, reason=selection
[2021-02-18 22:25:24:690] [4b8] StatusBarController.updateBlame
[2021-02-18 22:25:24:691] [4b9] GitService.getRichRemoteProvider
[2021-02-18 22:25:24:691] [4b7] StatusBarController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:24:691] [4b9] GitService.getRichRemoteProvider completed • 0 ms
[2021-02-18 22:25:24:692] [4ba] GitService.getRichRemoteProvider
[2021-02-18 22:25:24:693] [4bb] GitService.getPullRequestForCommit — e=85cc242aac23f4c8bf89b99eae4833de04953c40, t=GitHub, {"timeout":100}
[2021-02-18 22:25:24:693] [4bc] GitHubRemote.getPullRequestForCommit — e=85cc242aac23f4c8bf89b99eae4833de04953c40
[2021-02-18 22:25:24:693] [4bc] GitHubRemote.getPullRequestForCommit completed • 0 ms
[2021-02-18 22:25:24:694] [4ba] GitService.getRichRemoteProvider completed • 1 ms
[2021-02-18 22:25:24:705] [4bb] GitService.getPullRequestForCommit completed • 12 ms
[2021-02-18 22:25:24:706] [4bd] GitService.getPullRequestForCommit — e=85cc242aac23f4c8bf89b99eae4833de04953c40, t=GitHub
[2021-02-18 22:25:24:707] [4be] GitHubRemote.getPullRequestForCommit — e=85cc242aac23f4c8bf89b99eae4833de04953c40
[2021-02-18 22:25:24:712] [4be] GitHubRemote.getPullRequestForCommit completed • 5 ms
[2021-02-18 22:25:24:713] [4bd] GitService.getPullRequestForCommit completed • 6 ms
[2021-02-18 22:25:24:714] [4b8] StatusBarController.updateBlame completed • 23 ms
[2021-02-18 22:25:24:714] [4b5] LineAnnotationController.refresh completed • selection(s)=[51-51] • 24 ms
[2021-02-18 22:25:25:030] [4bf] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=undefined, pending=true, reason=selection
[2021-02-18 22:25:25:031] [4c0] LineAnnotationController.clear completed • 1 ms
[2021-02-18 22:25:25:031] [4bf] LineAnnotationController.onActiveLinesChanged completed • 1 ms
[2021-02-18 22:25:25:031] [4c1] LineHoverController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=undefined, pending=true, reason=selection
[2021-02-18 22:25:25:032] [4c1] LineHoverController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:25:032] [4c2] StatusBarController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=undefined, pending=true, reason=selection
[2021-02-18 22:25:25:032] [4c2] StatusBarController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:26:538] [4c4] GitService.getBlameForLine — e=GitUri(file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts repoPath=/home/adi/src/github.com/9at8/watch-and-learn), t=19
[2021-02-18 22:25:26:539] [4c5] GitService.getBlameForFile — e=GitUri(file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts repoPath=/home/adi/src/github.com/9at8/watch-and-learn)
[2021-02-18 22:25:26:541] [4c5] GitService.getBlameForFile Cache hit: 'blame'
[2021-02-18 22:25:26:542] [4c5] GitService.getBlameForFile completed • 2 ms
[2021-02-18 22:25:26:542] [4c4] GitService.getBlameForLine completed • 3 ms
[2021-02-18 22:25:26:542] [4c3] GitLineTracker.updateState returned true • 4 ms — e=19, t=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts
[2021-02-18 22:25:26:542] [4c6] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=[19-19], pending=false, reason=selection
[2021-02-18 22:25:26:542] [4c7] LineAnnotationController.refresh
[2021-02-18 22:25:26:542] [4c6] LineAnnotationController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:26:542] [4c8] LineHoverController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=[19-19], pending=false, reason=selection
[2021-02-18 22:25:26:542] [4c8] LineHoverController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:26:542] [4c9] StatusBarController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=[19-19], pending=false, reason=selection
[2021-02-18 22:25:26:542] [4ca] StatusBarController.updateBlame
[2021-02-18 22:25:26:542] [4cb] GitService.getRichRemoteProvider
[2021-02-18 22:25:26:542] [4c9] StatusBarController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:26:542] [4cb] GitService.getRichRemoteProvider completed • 0 ms
[2021-02-18 22:25:26:543] [4cc] GitService.getRichRemoteProvider
[2021-02-18 22:25:26:543] [4cd] GitService.getPullRequestForCommit — e=85cc242aac23f4c8bf89b99eae4833de04953c40, t=GitHub, {"timeout":100}
[2021-02-18 22:25:26:543] [4ce] GitHubRemote.getPullRequestForCommit — e=85cc242aac23f4c8bf89b99eae4833de04953c40
[2021-02-18 22:25:26:543] [4ce] GitHubRemote.getPullRequestForCommit completed • 0 ms
[2021-02-18 22:25:26:543] [4cc] GitService.getRichRemoteProvider completed • 0 ms
[2021-02-18 22:25:26:543] [4cd] GitService.getPullRequestForCommit completed • 0 ms
[2021-02-18 22:25:26:543] [4cf] GitService.getPullRequestForCommit — e=85cc242aac23f4c8bf89b99eae4833de04953c40, t=GitHub
[2021-02-18 22:25:26:543] [4d0] GitHubRemote.getPullRequestForCommit — e=85cc242aac23f4c8bf89b99eae4833de04953c40
[2021-02-18 22:25:26:543] [4d0] GitHubRemote.getPullRequestForCommit completed • 0 ms
[2021-02-18 22:25:26:543] [4cf] GitService.getPullRequestForCommit completed • 0 ms
[2021-02-18 22:25:26:544] [4ca] StatusBarController.updateBlame completed • 1 ms
[2021-02-18 22:25:26:545] [4c7] LineAnnotationController.refresh completed • selection(s)=[19-19] • 2 ms
[2021-02-18 22:25:26:583] [4d1] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=undefined, pending=true, reason=selection
[2021-02-18 22:25:26:583] [4d2] LineAnnotationController.clear completed • 0 ms
[2021-02-18 22:25:26:584] [4d1] LineAnnotationController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:26:584] [4d3] LineHoverController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=undefined, pending=true, reason=selection
[2021-02-18 22:25:26:584] [4d3] LineHoverController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:26:584] [4d4] StatusBarController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=undefined, pending=true, reason=selection
[2021-02-18 22:25:26:584] [4d4] StatusBarController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:26:835] [4d6] GitService.getBlameForLine — e=GitUri(file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts repoPath=/home/adi/src/github.com/9at8/watch-and-learn), t=18
[2021-02-18 22:25:26:835] [4d7] GitService.getBlameForFile — e=GitUri(file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts repoPath=/home/adi/src/github.com/9at8/watch-and-learn)
[2021-02-18 22:25:26:836] [4d7] GitService.getBlameForFile Cache hit: 'blame'
[2021-02-18 22:25:26:837] [4d7] GitService.getBlameForFile completed • 1 ms
[2021-02-18 22:25:26:837] [4d6] GitService.getBlameForLine completed • 1 ms
[2021-02-18 22:25:26:837] [4d5] GitLineTracker.updateState returned true • 2 ms — e=18, t=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts
[2021-02-18 22:25:26:837] [4d8] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=[18-18], pending=false, reason=selection
[2021-02-18 22:25:26:838] [4d9] LineAnnotationController.refresh
[2021-02-18 22:25:26:838] [4d8] LineAnnotationController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:26:838] [4da] LineHoverController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=[18-18], pending=false, reason=selection
[2021-02-18 22:25:26:838] [4da] LineHoverController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:26:838] [4db] StatusBarController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=[18-18], pending=false, reason=selection
[2021-02-18 22:25:26:838] [4dc] StatusBarController.updateBlame
[2021-02-18 22:25:26:838] [4dd] GitService.getRichRemoteProvider
[2021-02-18 22:25:26:838] [4db] StatusBarController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:26:842] [4dd] GitService.getRichRemoteProvider completed • 2 ms
[2021-02-18 22:25:26:845] [4de] GitService.getRichRemoteProvider
[2021-02-18 22:25:26:846] [4df] GitService.getPullRequestForCommit — e=85cc242aac23f4c8bf89b99eae4833de04953c40, t=GitHub, {"timeout":100}
[2021-02-18 22:25:26:846] [4e0] GitHubRemote.getPullRequestForCommit — e=85cc242aac23f4c8bf89b99eae4833de04953c40
[2021-02-18 22:25:26:846] [4e0] GitHubRemote.getPullRequestForCommit completed • 0 ms
[2021-02-18 22:25:26:846] [4de] GitService.getRichRemoteProvider completed • 0 ms
[2021-02-18 22:25:26:846] [4df] GitService.getPullRequestForCommit completed • 0 ms
[2021-02-18 22:25:26:847] [4e1] GitService.getPullRequestForCommit — e=85cc242aac23f4c8bf89b99eae4833de04953c40, t=GitHub
[2021-02-18 22:25:26:847] [4e2] GitHubRemote.getPullRequestForCommit — e=85cc242aac23f4c8bf89b99eae4833de04953c40
[2021-02-18 22:25:26:847] [4e2] GitHubRemote.getPullRequestForCommit completed • 0 ms
[2021-02-18 22:25:26:850] [4e1] GitService.getPullRequestForCommit completed • 3 ms
[2021-02-18 22:25:26:854] [4dc] StatusBarController.updateBlame completed • 15 ms
[2021-02-18 22:25:26:858] [4d9] LineAnnotationController.refresh completed • selection(s)=[18-18] • 20 ms
[2021-02-18 22:25:26:860] [4e3] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=undefined, pending=true, reason=selection
[2021-02-18 22:25:26:860] [4e4] LineAnnotationController.clear completed • 0 ms
[2021-02-18 22:25:26:860] [4e3] LineAnnotationController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:26:861] [4e5] LineHoverController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=undefined, pending=true, reason=selection
[2021-02-18 22:25:26:861] [4e5] LineHoverController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:26:861] [4e6] StatusBarController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=undefined, pending=true, reason=selection
[2021-02-18 22:25:26:861] [4e6] StatusBarController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:27:741] [4e8] GitService.getBlameForLine — e=GitUri(file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts repoPath=/home/adi/src/github.com/9at8/watch-and-learn), t=0
[2021-02-18 22:25:27:741] [4e9] GitService.getBlameForFile — e=GitUri(file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts repoPath=/home/adi/src/github.com/9at8/watch-and-learn)
[2021-02-18 22:25:27:742] [4e9] GitService.getBlameForFile Cache hit: 'blame'
[2021-02-18 22:25:27:742] [4e9] GitService.getBlameForFile completed • 0 ms
[2021-02-18 22:25:27:742] [4e8] GitService.getBlameForLine completed • 0 ms
[2021-02-18 22:25:27:742] [4e7] GitLineTracker.updateState returned true • 0 ms — e=0, t=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts
[2021-02-18 22:25:27:742] [4ea] LineAnnotationController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=[0-0], pending=false, reason=selection
[2021-02-18 22:25:27:742] [4eb] LineAnnotationController.refresh
[2021-02-18 22:25:27:742] [4ea] LineAnnotationController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:27:742] [4ec] LineHoverController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=[0-0], pending=false, reason=selection
[2021-02-18 22:25:27:742] [4ec] LineHoverController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:27:742] [4ed] StatusBarController.onActiveLinesChanged — e=editor=file:///home/adi/src/github.com/9at8/watch-and-learn/src/index.ts, selections=[0-0], pending=false, reason=selection
[2021-02-18 22:25:27:742] [4ee] StatusBarController.updateBlame
[2021-02-18 22:25:27:742] [4ef] GitService.getRichRemoteProvider
[2021-02-18 22:25:27:742] [4ed] StatusBarController.onActiveLinesChanged completed • 0 ms
[2021-02-18 22:25:27:742] [4ef] GitService.getRichRemoteProvider completed • 0 ms
[2021-02-18 22:25:27:742] [4f0] GitService.getRichRemoteProvider
[2021-02-18 22:25:27:743] [4f1] GitService.getPullRequestForCommit — e=a7e81c11a9606ff011a13f5c44b44e77f69aec3d, t=GitHub, {"timeout":100}
[2021-02-18 22:25:27:743] [4f2] GitHubRemote.getPullRequestForCommit — e=a7e81c11a9606ff011a13f5c44b44e77f69aec3d
[2021-02-18 22:25:27:743] [4f2] GitHubRemote.getPullRequestForCommit completed • 0 ms
[2021-02-18 22:25:27:743] [4f0] GitService.getRichRemoteProvider completed • 0 ms
[2021-02-18 22:25:27:743] [4f1] GitService.getPullRequestForCommit completed • 0 ms
[2021-02-18 22:25:27:743] [4f3] GitService.getPullRequestForCommit — e=a7e81c11a9606ff011a13f5c44b44e77f69aec3d, t=GitHub
[2021-02-18 22:25:27:743] [4f4] GitHubRemote.getPullRequestForCommit — e=a7e81c11a9606ff011a13f5c44b44e77f69aec3d
[2021-02-18 22:25:27:743] [4f4] GitHubRemote.getPullRequestForCommit completed • 0 ms
[2021-02-18 22:25:27:743] [4f3] GitService.getPullRequestForCommit completed • 0 ms
[2021-02-18 22:25:27:744] [4ee] StatusBarController.updateBlame completed • 2 ms
[2021-02-18 22:25:27:748] [4eb] LineAnnotationController.refresh completed • selection(s)=[0-0] • 5 ms
Debug output from Gitlens (git)
[2021-02-18 22:08:01:088] [/home/adi/src/github.com/9at8/watch-and-learn] git ls-files -- /home/adi/src/github.com/9at8/watch-and-learn/src/index.ts • 49 ms
[2021-02-18 22:08:01:968] [/home/adi/src/github.com/9at8/watch-and-learn] git ls-files -- /home/adi/src/github.com/9at8/watch-and-learn/src/index.ts • 50 ms
[2021-02-18 22:19:49:161] [/home/adi/src/github.com/9at8/watch-and-learn] git ls-files -- /home/adi/src/github.com/9at8/watch-and-learn/src/index.ts • 19 ms
[2021-02-18 22:19:50:912] [/home/adi/src/github.com/9at8/watch-and-learn] git ls-files -- /home/adi/src/github.com/9at8/watch-and-learn/src/index.ts • 22 ms
[2021-02-18 22:22:53:717] [/home/adi/src/github.com/9at8/watch-and-learn] git ls-files -- /home/adi/src/github.com/9at8/watch-and-learn/src/index.ts • 41 ms
[2021-02-18 22:22:54:466] [/home/adi/src/github.com/9at8/watch-and-learn] git ls-files -- /home/adi/src/github.com/9at8/watch-and-learn/src/index.ts • 27 ms
[2021-02-18 22:22:56:402] [/home/adi/src/github.com/9at8/watch-and-learn] git blame --root --incremental -- src/index.ts • 123 ms
[2021-02-18 22:26:28:582] [/home/adi/src/github.com/9at8/watch-and-learn] git ls-files -- /home/adi/src/github.com/9at8/watch-and-learn/src/index.ts • 41 ms
[2021-02-18 22:26:29:314] [/home/adi/src/github.com/9at8/watch-and-learn] git ls-files -- /home/adi/src/github.com/9at8/watch-and-learn/src/index.ts • 34 ms
Without gitlens - https://9at8.dev/no-gitlens.mp4 With gitlens - https://9at8.dev/with-gitlens.mp4
@9at8
Do you still see the issue if you turn off the status bar blame "gitlens.statusBar.enabled": false?
Do you still see the issue if you turn off the current line blame "gitlens.currentLine.enabled": false?
FYI, currently the editor selection (cursor) changing is debounced (at 250ms).
Depending on the answers above, I could also add a setting to allow you to increase the debounce timeout to see if that would help.
@eamodio
Do you still see the issue if you turn off the status bar blame "gitlens.statusBar.enabled": false?
No
Do you still see the issue if you turn off the current line blame "gitlens.currentLine.enabled": false?
Yes
Disabling the statusbar seems to do the trick, regardless of what "gitlens.currentLine.enabled" is set to.
This issue needs more information and has not had recent activity. Please provide the missing information or it will be closed in 7 days. Thanks!
@eamodio I posted the answers to your questions above, let me know if I can do anything else.
Does it change if you set "gitlens.statusBar.reduceFlicker": false?
This issue needs more information and has not had recent activity. Please provide the missing information or it will be closed in 7 days. Thanks!
Sorry for the late reply :sweat_smile:
Does it change if you set
"gitlens.statusBar.reduceFlicker": false?
Yes, "gitlens.statusBar.reduceFlicker": false fixes the problem
This issue needs more information and has not had recent activity. Please provide the missing information or it will be closed in 7 days. Thanks!
@eamodio anything else I can do?
@9at8 Is there any chance you can try running with this line changed and commented out? https://github.com/eamodio/vscode-gitlens/blob/b968e32490248c14da21a7c32224fa7ae2486733/src/statusbar/statusBarController.ts#L136
First, try it with removing ~spin from the text replacement, and if that doesn't help, try commenting out the whole line.
@eamodio yeah for sure! I'll take a look by Wednesday evening.
Awesome, thanks!
@9at8 is this still an issue or can it be closed out?