question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

UI issue: interruptions when naming new files or renaming them

See original GitHub issue

Hey folks, I apologize that there may not be a lot here to help reproduce the issue but I would be happy to do more specific tests if offered instructions. Thank you!

OS/Web Information

  • Web Browser: Chrome 95.0.4638.54
  • Local OS: macOS 11.6
  • Remote OS: RHEL ubi8.4
  • Remote Architecture: Running in a container, behind an nginx proxy
  • code-server --version: 3.12.0 4cd55f94c0a72f05c18cea070e10b969996614d2

Steps to Reproduce

  1. Click the ā€œnew fileā€ icon
  2. Start typing a filename

OR

  1. Right-click on a file
  2. Select ā€œRenameā€
  3. Start typing a filename

Expected

The UI patiently waits for me to finish typing

Actual

After a couple of seconds, it closes the file naming box on me, before I have finished typing, and if I continue typing, the text is entered into what looks like a native VSCode filename filtering/search UI

Logs

The code-server-stderr and code-server-stdout logs are empty

Debug logs attached

# Command line: /tools/vscode/bin/code-server --log debug --auth none --disable-update-check --user-data-dir /opt/continuum/.config/code-server --extensions-dir /tools/vscode/extensions --disable-telemetry --port 7050 --host 0.0.0.0 /opt/continuum/project
[2021-10-21T16:10:47.615Z] info  Wrote default config file to ~/.config/code-server/config.yaml
[2021-10-21T16:10:48.268Z] info  code-server 3.12.0 4cd55f94c0a72f05c18cea070e10b969996614d2
[2021-10-21T16:10:48.270Z] info  Using user-data-dir ~/.config/code-server
[2021-10-21T16:10:48.301Z] info  Using config file ~/.config/code-server/config.yaml
[2021-10-21T16:10:48.302Z] info  HTTP server listening on http://0.0.0.0:7050 
[2021-10-21T16:10:48.302Z] info    - Authentication is disabled 
[2021-10-21T16:10:48.302Z] info    - Not serving HTTPS 
[2021-10-21T16:10:50.976Z] debug forking vs code...
[2021-10-21T16:10:51.623Z] debug setting up vs code...
[2021-10-21T16:10:51.628Z] debug vscode got message from code-server {"type":"init"}
[2021-10-21T16:10:52.969Z] debug setting up vs code...
[2021-10-21T16:10:52.970Z] debug vscode got message from code-server {"type":"init"}
[2021-10-21T16:10:54.749Z] debug vscode got message from code-server {"type":"socket"}
[2021-10-21T16:10:54.752Z] debug protocol Initiating handshake... {"token":"d4e38fde-1169-4e2b-b374-d7f87382b5c1"}
[2021-10-21T16:10:54.801Z] debug protocol Handshake completed {"token":"d4e38fde-1169-4e2b-b374-d7f87382b5c1"}
[2021-10-21T16:10:54.802Z] debug management Connecting... {"token":"d4e38fde-1169-4e2b-b374-d7f87382b5c1"}
[2021-10-21T16:10:54.802Z] debug vscode 1 active management connection(s)
[2021-10-21T16:10:55.400Z] debug vscode got message from code-server {"type":"socket"}
[2021-10-21T16:10:55.400Z] debug protocol Initiating handshake... {"token":"465008a6-0cfb-4d2b-adac-5e263d893ae6"}
[2021-10-21T16:10:55.563Z] debug protocol Handshake completed {"token":"465008a6-0cfb-4d2b-adac-5e263d893ae6"}
[2021-10-21T16:10:55.564Z] debug exthost Connecting... {"token":"465008a6-0cfb-4d2b-adac-5e263d893ae6"}
[2021-10-21T16:10:55.565Z] debug exthost Getting NLS configuration... {"token":"465008a6-0cfb-4d2b-adac-5e263d893ae6"}
[2021-10-21T16:10:55.565Z] debug vscode 1 active exthost connection(s)
[2021-10-21T16:10:55.565Z] debug exthost Spawning extension host... {"token":"465008a6-0cfb-4d2b-adac-5e263d893ae6"}
[2021-10-21T16:10:55.574Z] debug exthost Waiting for handshake... {"token":"465008a6-0cfb-4d2b-adac-5e263d893ae6"}
[2021-10-21T16:10:56.686Z] debug exthost Handshake completed {"token":"465008a6-0cfb-4d2b-adac-5e263d893ae6"}
[2021-10-21T16:10:56.686Z] debug exthost Sending socket {"token":"465008a6-0cfb-4d2b-adac-5e263d893ae6"}
[2021-10-21T16:11:50.974Z] debug 2 active connections
[2021-10-21T16:12:50.975Z] debug 2 active connections
[2021-10-21T16:13:50.978Z] debug 2 active connections
[2021-10-21T16:14:50.982Z] debug 2 active connections
[2021-10-21T16:15:50.985Z] debug 2 active connections
[2021-10-21T16:16:50.986Z] debug 2 active connections
[2021-10-21T16:17:50.989Z] debug 2 active connections
[2021-10-21T16:17:53.647Z] debug management Disposing... {"token":"d4e38fde-1169-4e2b-b374-d7f87382b5c1"}
[2021-10-21T16:17:53.648Z] debug management Closed {"token":"d4e38fde-1169-4e2b-b374-d7f87382b5c1"}
[2021-10-21T16:17:53.768Z] debug exthost Got disconnected message {"token":"465008a6-0cfb-4d2b-adac-5e263d893ae6"}
[2021-10-21T16:17:53.768Z] debug exthost Disconnected {"token":"465008a6-0cfb-4d2b-adac-5e263d893ae6"}
[2021-10-21T16:17:54.691Z] debug exthost Exited {"code":0,"token":"465008a6-0cfb-4d2b-adac-5e263d893ae6"}
[2021-10-21T16:17:54.691Z] debug exthost Disposing... {"token":"465008a6-0cfb-4d2b-adac-5e263d893ae6"}
[2021-10-21T16:17:54.692Z] debug exthost Closed {"token":"465008a6-0cfb-4d2b-adac-5e263d893ae6"}
[2021-10-21T16:18:05.517Z] debug setting up vs code...
[2021-10-21T16:18:05.518Z] debug vscode got message from code-server {"type":"init"}
[2021-10-21T16:18:08.944Z] debug vscode got message from code-server {"type":"socket"}
[2021-10-21T16:18:08.946Z] debug protocol Initiating handshake... {"token":"ce98b4ae-27d9-4055-8a89-afa21ae981b6"}
[2021-10-21T16:18:09.122Z] debug protocol Handshake completed {"token":"ce98b4ae-27d9-4055-8a89-afa21ae981b6"}
[2021-10-21T16:18:09.123Z] debug management Connecting... {"token":"ce98b4ae-27d9-4055-8a89-afa21ae981b6"}
[2021-10-21T16:18:09.123Z] debug vscode 1 active management connection(s)
[2021-10-21T16:18:10.301Z] debug vscode got message from code-server {"type":"socket"}
[2021-10-21T16:18:10.301Z] debug protocol Initiating handshake... {"token":"f4588fc3-b1f0-4da6-8dd5-f7c0ca384f94"}
[2021-10-21T16:18:10.448Z] debug protocol Handshake completed {"token":"f4588fc3-b1f0-4da6-8dd5-f7c0ca384f94"}
[2021-10-21T16:18:10.448Z] debug exthost Connecting... {"token":"f4588fc3-b1f0-4da6-8dd5-f7c0ca384f94"}
[2021-10-21T16:18:10.449Z] debug exthost Getting NLS configuration... {"token":"f4588fc3-b1f0-4da6-8dd5-f7c0ca384f94"}
[2021-10-21T16:18:10.449Z] debug vscode 1 active exthost connection(s)
[2021-10-21T16:18:10.449Z] debug exthost Spawning extension host... {"token":"f4588fc3-b1f0-4da6-8dd5-f7c0ca384f94"}
[2021-10-21T16:18:10.462Z] debug exthost Waiting for handshake... {"token":"f4588fc3-b1f0-4da6-8dd5-f7c0ca384f94"}
[2021-10-21T16:18:11.252Z] debug exthost Handshake completed {"token":"f4588fc3-b1f0-4da6-8dd5-f7c0ca384f94"}
[2021-10-21T16:18:11.252Z] debug exthost Sending socket {"token":"f4588fc3-b1f0-4da6-8dd5-f7c0ca384f94"}
[IPC Library: Pty Host]  INFO Persistent process "1": Replaying 8920 chars and 1 size events
[2021-10-21T16:18:50.992Z] debug 2 active connections
[2021-10-21T16:19:50.995Z] debug 2 active connections
[2021-10-21T16:20:50.998Z] debug 2 active connections
[2021-10-21T16:21:51.001Z] debug 2 active connections
[2021-10-21T16:22:51.005Z] debug 2 active connections
[2021-10-21T16:23:51.008Z] debug 2 active connections

Notes

This issue can be reproduced in VS Code: Unknown

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
mcg1969commented, Aug 19, 2022

Hey folks, I recently pulled down a newer version of code-server, and this problem… is gone. We haven’t changed our proxy, so I can’t take credit for this. And you may not know what changes you may have made. But I personally don’t dwell on such questions!

2reactions
mcg1969commented, Feb 4, 2022

@code-asher I was finally able to create a screen recording! I hope this helps spur some suggestions about the kind of debug logs and/or configuration information that may help debug

https://user-images.githubusercontent.com/2797735/152608974-d416076f-4b84-4bca-9bfc-d45fca49bfa3.mp4

.

Read more comments on GitHub >

github_iconTop Results From Across the Web

UI issue: interruptions when naming new files or renaming ...
I tried Firefox and Chromium, only other difference is that I am on Linux but seems unlikely to be OS-related. @jsjoeio any idea...
Read more >
Renaming files: annoying automatic re-selection of entire
At first, I would wait a few seconds, hit "Home" or the left arrow key, and then work on renaming the file hoping...
Read more >
UI did not change the file name after renaming
After that i got the comment that i need to change the file name with using lowercase i. After my second commit where...
Read more >
Windows filename suddenly gets selected again while ...
Click on the Google Drive icon (in the system tray), hit the tree dots and select "Pause". Go to Windows Explorer and rename...
Read more >
Unable to Rename a File in Windows 10? 8 Ways to Fix It
1. First, Rule Out a File Specific Issue Ā· 2. Ensure You Have Access to the File You're Renaming Ā· 3. Ensure the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found