elementary / elementary/code

operations on remote file (webdav) block sourceview

未关闭
#1,688 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Vala
星标
521
派生
118
平均合并
1 天 8 小时
30 天内合并 PR
14

描述

### What Happened?

We are editing files on a remote server mounted with webdav

Text inputs or even just cursor moving has the sourceview freezing for a couple seconds on a regular basis, i assume as it interacts with the remote server (it does not seem to be saving though). It makes Code fairly unusable alas, because navigating or typing become very choppy.

Save operations (Ctrl+S) has the sourceview freezing

VS Code, as opposed, only freezes up during open operations. It does not seem to freeze during save

### Steps to Reproduce

open remote file with Code. Use a remote maybe somewhat slow?
move around with arrow keys, click around text, type, save

### Expected Behavior

Non-choppy Sourceview, even when saving, such as for VS Code. Maybe by working on a cache, and having an async send an updated version to remote?

### OS Version

8.x (Circe)

### OS Architecture

amd64 (on most hardwares)

### Session Type

Secure Session (Wayland, This is the default)

### Software Version

Latest release (I have run all updates)

### Log Output

```shell

```

### Hardware Info

_No response_

贡献指南

打开贡献指南

调研方向

报告指出远程 WebDAV 文件和 Sourceview 是受影响的路径,但没有指定源文件或测试。首先,在浏览、输入和保存远程文件时复现卡顿,然后跟踪相关的编辑器操作,并将其行为与 issue 中描述的预期流畅交互进行比较。

由索引模型根据 Issue 内容生成。

评估

领域
desktop, performance
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
32/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。