zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
50.46k stars 3.12k forks source link

"Shift" lettering after almost each press of the shift button #20979

Closed jingleville closed 1 day ago

jingleville commented 1 day ago

Check for existing issues

Describe the bug / provide steps to reproduce it

Almost every time you press the shift key, such as when changing the layout, a “shift” is inserted where the cursor was located.

Environment

Zed: v0.162.3 (Zed) OS: Linux X11 linuxmint 21.2 Memory: 7.7 GiB Architecture: x86_64 GPU: Intel(R) HD Graphics 5500 (BDW GT2) || Intel open-source Mesa driver || Mesa 23.2.1-1ubuntu3.1~22.04.2

If applicable, add mockups / screenshots to help explain present your vision of the feature

image I just wanted to capitalize it and remembered the name of the class I wanted.

If applicable, attach your Zed.log file to this issue.

Zed.log ``` 2024-11-21T13:40:26.099265868+03:00 [INFO] ========== starting zed ========== 2024-11-21T13:40:26.240267719+03:00 [INFO] Compositor detection: _NET_WM_CM_S?=false, _NET_WM_CM_OWNER=false, _NET_SUPPORTING_WM_CHECK=true 2024-11-21T13:40:26.240399332+03:00 [INFO] x11: compositor present: true, gtk_frame_extents_supported: true 2024-11-21T13:40:26.284396027+03:00 [INFO] perform; 2024-11-21T13:40:26.284582745+03:00 [INFO] authenticate; 2024-11-21T13:40:26.285662393+03:00 [INFO] read_command; 2024-11-21T13:40:26.298608162+03:00 [INFO] socket reader; 2024-11-21T13:40:26.298713161+03:00 [INFO] new; 2024-11-21T13:40:26.300144134+03:00 [INFO] keep_updated; 2024-11-21T13:40:26.355536321+03:00 [INFO] Opening main db 2024-11-21T13:40:26.38826273+03:00 [INFO] Opening main db 2024-11-21T13:40:26.423970842+03:00 [INFO] Using git binary path: None 2024-11-21T13:40:26.578877188+03:00 [INFO] set environment variables from shell:/usr/bin/fish, path:/home/andrew/.cabal/bin:/home/andrew/.rbenv/shims:/home/andrew/.cabal/bin:/home/andrew/.rbenv/shims:/home/andrew/.local/bin:/home/andrew/go/bin:/home/andrew/.local/opt/go/bin:/home/andrew/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/andrew/.cabal/bin:/home/andrew/.ghcup/bin:/home/andrew/.ghcup/bin:/home/andrew/.ghcup/bin 2024-11-21T13:40:26.758366871+03:00 [ERROR] No such file or directory (os error 2) about ["/home/andrew/.config/github-copilot"] 2024-11-21T13:40:26.856841662+03:00 [INFO] No prompt template overrides directory found at /home/andrew/.local/share/zed/prompt_overrides. Using built-in prompts. 2024-11-21T13:40:26.944980767+03:00 [INFO] extensions updated. loading 8, reloading 0, unloading 0 2024-11-21T13:40:27.089478078+03:00 [INFO] activate is not implemented on Linux, ignoring the call 2024-11-21T13:40:27.116725201+03:00 [INFO] perform; 2024-11-21T13:40:27.116827586+03:00 [INFO] authenticate; 2024-11-21T13:40:27.116903868+03:00 [INFO] read_command; 2024-11-21T13:40:27.117993535+03:00 [INFO] socket reader; 2024-11-21T13:40:27.153651459+03:00 [INFO] Opening main db 2024-11-21T13:40:27.180746003+03:00 [INFO] Using Visual { id: 147, colormap: 0, depth: 32 } 2024-11-21T13:40:27.180911748+03:00 [INFO] Creating colormap 83886083 2024-11-21T13:40:27.190754323+03:00 [INFO] building git repository, `.git` path in the worktree: ".git" 2024-11-21T13:40:27.498048456+03:00 [INFO] Enabling color space support 2024-11-21T13:40:27.956977085+03:00 [INFO] Adapter: "Intel(R) HD Graphics 5500 (BDW GT2)" 2024-11-21T13:40:27.958065965+03:00 [INFO] Testing presentation capability on Linux/Intel 2024-11-21T13:40:27.962619657+03:00 [INFO] No ray tracing extensions are supported 2024-11-21T13:40:27.965318093+03:00 [INFO] Using surface present mode MAILBOX 2024-11-21T13:40:27.974796823+03:00 [WARN] Unable to forbid exclusive full screen 2024-11-21T13:40:27.980685203+03:00 [INFO] Creating a descriptor pool for at most 16 sets 2024-11-21T13:40:27.981890109+03:00 [INFO] Creating a descriptor pool for at most 16 sets 2024-11-21T13:40:27.982026131+03:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored } 2024-11-21T13:40:28.037712292+03:00 [INFO] Refreshing at 16665 micros 2024-11-21T13:40:28.101197026+03:00 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "Intel(R) HD Graphics 5500 (BDW GT2)", driver_name: "Intel open-source Mesa driver", driver_info: "Mesa 23.2.1-1ubuntu3.1~22.04.2" } 2024-11-21T13:40:28.192291644+03:00 [INFO] Opening main db 2024-11-21T13:40:28.22360279+03:00 [INFO] Opening main db 2024-11-21T13:40:28.404844718+03:00 [ERROR] missing field `name` at line 50 column 1 2024-11-21T13:40:28.464523207+03:00 [INFO] using project environment variables from CLI. PATH="/home/andrew/.cabal/bin:/home/andrew/.rbenv/shims:/home/andrew/.local/bin:/home/andrew/go/bin:/home/andrew/.local/opt/go/bin:/home/andrew/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/andrew/.cabal/bin:/home/andrew/.ghcup/bin:/home/andrew/.ghcup/bin" 2024-11-21T13:40:29.488822459+03:00 [INFO] new; 2024-11-21T13:40:29.491010512+03:00 [INFO] keep_updated; 2024-11-21T13:40:30.732462703+03:00 [INFO] set status on client 0: Authenticating 2024-11-21T13:40:30.733553677+03:00 [INFO] perform; 2024-11-21T13:40:30.733674408+03:00 [INFO] authenticate; 2024-11-21T13:40:30.73378836+03:00 [INFO] read_command; 2024-11-21T13:40:30.736294441+03:00 [INFO] socket reader; 2024-11-21T13:40:30.742046467+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.743392882+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.747719155+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.749074912+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.750453039+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.751755312+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.753215248+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.75474444+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.756320136+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.757597317+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.758873993+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.760171602+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.76053216+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.76060649+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.760673726+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.760748974+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.760831423+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.760896355+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.760960329+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.761023718+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.761087441+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.761151074+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.761214503+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.76127795+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:30.982059652+03:00 [INFO] new; 2024-11-21T13:40:30.98563367+03:00 [INFO] keep_updated; 2024-11-21T13:40:31.008220371+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:31.008356796+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:31.008463573+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:31.008577818+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:31.008692369+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:31.008798697+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:31.00890355+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:31.009008959+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:31.009113571+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:31.009218145+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:31.009322807+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:31.009461186+03:00 [WARN] no language server found matching 'ruby-lsp' 2024-11-21T13:40:31.19263518+03:00 [INFO] set status on client 191152: Connecting 2024-11-21T13:40:31.532623209+03:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc 2024-11-21T13:40:32.011706205+03:00 [INFO] add_connection; 2024-11-21T13:40:32.033223768+03:00 [INFO] set status on client 191152: Connected { peer_id: PeerId { owner_id: 614, id: 229635 }, connection_id: ConnectionId { owner_id: 0, id: 0 } } 2024-11-21T13:40:33.663910941+03:00 [INFO] attempting to start language server "ruby-lsp", path: "/home/andrew/Work/bb_backend_new", id: 1 2024-11-21T13:40:33.669505985+03:00 [INFO] starting language server process. binary path: "/home/andrew/.rbenv/shims/ruby-lsp", working directory: "/home/andrew/Work/bb_backend_new", args: [] 2024-11-21T13:41:39.033594541+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T13:48:46.692524704+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T13:49:38.858720336+03:00 [INFO] open paths ["/home/andrew/Work/bb_backend_new/,"] 2024-11-21T13:49:39.012408931+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T13:49:41.460365578+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T13:49:54.129356966+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T13:49:57.143815947+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T13:53:56.832262875+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T13:55:40.424661375+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T13:56:02.347266766+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T13:56:20.538114669+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T13:56:25.739639833+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T13:56:30.980443406+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T13:56:42.53634762+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T13:56:46.614673555+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T13:56:50.15594929+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T13:56:53.42775163+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T13:57:07.257749338+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T13:57:21.865728289+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T13:57:34.465391653+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T13:57:45.757194753+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T13:57:54.666458051+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T13:58:22.193523104+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T14:01:22.715032266+03:00 [INFO] Creating a descriptor pool for at most 16 sets 2024-11-21T14:01:22.741437881+03:00 [INFO] Creating a descriptor pool for at most 16 sets 2024-11-21T14:01:22.745947175+03:00 [INFO] Creating a descriptor pool for at most 256 sets 2024-11-21T14:01:22.76262143+03:00 [INFO] Creating a descriptor pool for at most 256 sets 2024-11-21T14:02:32.042343649+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T14:02:48.632538224+03:00 [INFO] completion out of expected range 2024-11-21T14:02:48.633108731+03:00 [INFO] completion out of expected range 2024-11-21T14:02:48.635952084+03:00 [INFO] completion out of expected range 2024-11-21T14:02:48.641667703+03:00 [INFO] completion out of expected range 2024-11-21T14:02:55.289947967+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T14:05:45.911753443+03:00 [INFO] open paths ["/home/andrew/.config/zed/tasks.json"] 2024-11-21T14:05:45.975311514+03:00 [INFO] attempting to start language server "json-language-server", path: "/home/andrew/.config/zed/tasks.json", id: 2 2024-11-21T14:05:45.977825808+03:00 [INFO] Initializing default prettier with plugins {} 2024-11-21T14:05:45.978286597+03:00 [INFO] Initializing default prettier with plugins {} 2024-11-21T14:05:46.108031172+03:00 [INFO] fetching latest version of language server "json-language-server" 2024-11-21T14:05:46.114039206+03:00 [INFO] Initializing default prettier with plugins {} 2024-11-21T14:05:46.126481514+03:00 [ERROR] invalid type: map, expected a string at line 5 column 3 2024-11-21T14:05:46.154220706+03:00 [ERROR] node at /usr/bin/node is too old. want: 18.0.0, got: 12.22.9 2024-11-21T14:05:46.154395805+03:00 [INFO] Node runtime install_if_needed 2024-11-21T14:05:49.044600836+03:00 [INFO] downloading language server "json-language-server" 2024-11-21T14:05:49.079779208+03:00 [ERROR] node at /usr/bin/node is too old. want: 18.0.0, got: 12.22.9 2024-11-21T14:05:49.079910244+03:00 [INFO] Node runtime install_if_needed 2024-11-21T14:05:49.341084509+03:00 [ERROR] node at /usr/bin/node is too old. want: 18.0.0, got: 12.22.9 2024-11-21T14:05:49.341211126+03:00 [INFO] Node runtime install_if_needed 2024-11-21T14:05:49.56058114+03:00 [INFO] using project environment for language server LanguageServerName("json-language-server") 2024-11-21T14:05:49.560944794+03:00 [INFO] starting language server process. binary path: "/home/andrew/.local/share/zed/node/node-v22.5.1-linux-x64/bin/node", working directory: "/home/andrew/.config/zed", args: ["/home/andrew/.local/share/zed/languages/json-language-server/node_modules/vscode-langservers-extracted/bin/vscode-json-language-server", "--stdio"] 2024-11-21T14:07:11.546747133+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T14:07:15.843761413+03:00 [INFO] ignoring macOS specific set_edited 2024-11-21T14:07:15.923445359+03:00 [ERROR] invalid type: map, expected a string at line 5 column 3 2024-11-21T14:07:15.92816729+03:00 [INFO] Initializing default prettier with plugins {} 2024-11-21T14:07:15.940489109+03:00 [ERROR] Failed to load user tasks: parsing tasks file content as a JSON array ```