Move to new window hangs xed for up to 10 minutes when underlying file has changed
まだ誰も着手していません。
評価
調査の方向性
Start by tracing how Xed handles external file changes and moves a tab between windows; the issue does not name a source file or test. Reproduce the sequence with a file modified externally before moving its tab, then check that the move does not hang and that Xed reports the changed contents so they can be reloaded without overwriting them.
索引モデルが issue の本文から書いたものです。
説明
xed - Version 3.8.9 on x86-64 Linux Mint 22.3 Zena
The problem replicates consistently on my system:
- Open a file with xed (e.g. a file on a NAS server)
- Modify the file (e.g. externally via another NAS client)
- Move the tab to another window before the message appears to reload the file
result: Xed hangs for up to 10 minutes.
Fortunately, if you are patient and click many times on "wait" instead of "terminate", xed ultimately recovers with the desired outcome: the tab has moved to a new window and no work has been lost. In my case, the file captures the output of failed background kernel compilations, part of git workflows, so very unpredicatable.
EDIT: forgot to mention that the new window contains the original, non-modified version of the file and won't display a message that the file has changed anymore. There seems no way to reload the modified contents (no refresh/reload button). The only indication you get is a message warning you to overwrite the file when using the "save" function. Never a message to reload the file, even when the file is modified a second time. Hitting "save" a second time, gives no more message and destroys the file.
It is quite annoying because one has generally no idea that the file been has modified and unless you understand what is happening and have the patience, the expected reaction is to terminate the editor and start all over which can cause both "lots and loss" of work.
Happy to look into the code and file a PR, but need some help to figure out where to start cause I have never looked at Xed source code.
- 主要言語
- C
- スター
- 558
- フォーク
- 117
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
linuxmint/xed のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
Allow pkexec xedオープンFEATURE REQUEST
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 47/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
-
xed 3.8.9 hangs at startup when GTK4 is installed: Python plugins load Gtk-4.0 typelib into a GTK3 process再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 93/100
webarkit/WebARKitLib#107 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
polhenarejos/pico-fido#302 ·
-
[BUG] Out-of-range negative slice end returns the whole string対応中かも @Don-Yin が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
fastfetch-cli/fastfetch#2668 ·
メンテナーはふだん 1 日以内に返信