zed icon indicating copy to clipboard operation
zed copied to clipboard

The outline view causes poor selection performance on linux

Open mhanuszh opened this issue 7 months ago • 4 comments

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

Dragging the cursor while mouse-1 is pressed (usual selection) is very slow

vkcube works and detects my GPU:

mh red001 ~ $ vkcube
Selected GPU 0: NVIDIA GeForce GTX 1050 Ti, type: DiscreteGpu

~~The same thing happens if the outline is hidden~~

Environment

Zed: v0.143.6 (Zed) OS: Linux X11 debian 12 Memory: 15.6 GiB Architecture: x86_64

Debian 12, Gnome 43.9, X11, Nvidia 535.183.01, Kernel 6.1.0-17-amd64 i5-2500, 16GB DDR3, GTX 1050 Ti

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

I did not release the mouse-1 until the very end.

https://github.com/zed-industries/zed/assets/5262962/eaf8e4b2-8f6b-48eb-9004-9da9b484f7f8

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

Zed.log

2024-07-11T20:02:50+02:00 [INFO] ========== starting zed ==========
2024-07-11T20:02:50+02:00 [INFO] Compositor detection: _NET_WM_CM_S?=false, _NET_WM_CM_OWNER=false, _NET_SUPPORTING_WM_CHECK=true
2024-07-11T20:02:50+02:00 [INFO] x11: compositor present: true, gtk_frame_extents_supported: true
2024-07-11T20:02:50+02:00 [INFO] Try connect ibus
2024-07-11T20:02:50+02:00 [INFO] Opening main db
2024-07-11T20:02:50+02:00 [INFO] perform;
2024-07-11T20:02:50+02:00 [INFO] read_command;
2024-07-11T20:02:50+02:00 [INFO] read_command;
2024-07-11T20:02:50+02:00 [INFO] socket reader;
2024-07-11T20:02:50+02:00 [INFO] new;
2024-07-11T20:02:50+02:00 [INFO] keep_updated;
2024-07-11T20:02:50+02:00 [INFO] Using git binary path: None
2024-07-11T20:02:50+02:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-07-11T20:02:50+02:00 [INFO] activate is not implemented on Linux, ignoring the call
2024-07-11T20:02:50+02:00 [INFO] set environment variables from shell:/bin/bash, path:/home/mh/.local/bin:/home/mh/.cargo/bin:/home/mh/.bun/bin:/home/mh/.deno/bin:/home/mh/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
2024-07-11T20:02:50+02:00 [INFO] XConnected server on 27263028, transport version: 0.0, TRANSPORT_MAX: 20
2024-07-11T20:02:50+02:00 [INFO] perform;
2024-07-11T20:02:50+02:00 [INFO] read_command;
2024-07-11T20:02:50+02:00 [INFO] Opening main db
2024-07-11T20:02:50+02:00 [INFO] read_command;
2024-07-11T20:02:50+02:00 [INFO] socket reader;
2024-07-11T20:02:50+02:00 [INFO] Using Visual { id: 35, colormap: 0, depth: 32 }
2024-07-11T20:02:50+02:00 [INFO] Creating colormap 6291459
2024-07-11T20:02:51+02:00 [INFO] Enabling Vulkan Portability
2024-07-11T20:02:51+02:00 [INFO] Adapter "NVIDIA GeForce GTX 1050 Ti"
2024-07-11T20:02:51+02:00 [INFO] No ray tracing extensions are supported
2024-07-11T20:02:51+02:00 [INFO] Using surface present mode FIFO_RELAXED
2024-07-11T20:02:51+02:00 [WARN] Unable to forbid exclusive full screen
2024-07-11T20:02:51+02:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-07-11T20:02:51+02:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-07-11T20:02:51+02:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored }
2024-07-11T20:02:51+02:00 [INFO] Refreshing at 16666 micros
2024-07-11T20:02:51+02:00 [WARN] GPU frame is out of date
2024-07-11T20:02:51+02:00 [INFO] Using surface present mode FIFO_RELAXED
2024-07-11T20:02:51+02:00 [WARN] Unable to forbid exclusive full screen
2024-07-11T20:02:51+02:00 [INFO] Opening main db
2024-07-11T20:02:51+02:00 [ERROR] No path stored for this editor
2024-07-11T20:02:51+02:00 [WARN] GPU frame is out of date
2024-07-11T20:02:51+02:00 [INFO] Using surface present mode FIFO_RELAXED
2024-07-11T20:02:51+02:00 [WARN] Unable to forbid exclusive full screen
2024-07-11T20:02:51+02:00 [WARN] Unknown request DestroyIcReply { input_method_id: 46, input_context_id: 345 }
2024-07-11T20:02:57+02:00 [INFO] Initializing default prettier with plugins {}
2024-07-11T20:03:23+02:00 [WARN] Unknown request DestroyIcReply { input_method_id: 46, input_context_id: 347 }
2024-07-11T20:03:25+02:00 [ERROR] window not found
2024-07-11T20:03:25+02:00 [ERROR] window not found

mhanuszh avatar Jul 11 '24 18:07 mhanuszh