beyondcode / beyondcode/polyscope-community
[Bug]: Open a local folder opens file picker for local instead of remote machine
- 主要語言
- 沒有語言資料
- 星號
- 20
- 分支
- 0
- PR 合併指標
- 30 天內沒有已合併 PR
描述
### Platform
Linux
### Operating system version
Ubuntu 24.04.3 LTS (Through WSL)
### System architecture
Windows
### PolyScope Version
0.19.0 - Polyscope Server v0.17.0 (linux/x64)
### Bug description
When trying to add a repository on a remote server (Polyscope running on Windows, Polyscope-server on Ubuntu through WSL) the `open a local folder` opens a file picker in Windows (which you cannot select the actual path on the machine). When selecting empty project and manually adding the path a error is shown:
Once that error is shown the fields (project name and folder) remains readonly/disabled and you need to restart to try again.
### Steps to reproduce
1. Run Polyscope on Windows/Mac device
2. Run Polyscope-Server on linux device
3. Try to add repository through GUI
4. Click `Open a local folder` -> local file picker is shown
5. Click empty project
6. Fill in project name and folder (git repo) -> path gets autocompleted so that is working
7. Press blue button
8. Error message is shown
9. Fields project name and path become readonly/disabled
### Relevant log output
```shell
[ws] relay client: path.suggest {"type":"path.suggest","path":"/home/bkooij/test/"}
[ws] relay client: project.create_empty {"type":"project.create_empty","name":"test","directory":"/home/bkooij/test/"}
```
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
首先,在 Windows 上使用 Polyscope,並透過 WSL 在 Ubuntu 上使用 Polyscope-Server,重現透過「Open a local folder」和「empty project」的 GUI 流程。追蹤日誌中顯示的 `path.suggest` 和 `project.create_empty` 訊息,然後驗證可以選取遠端資料夾,且專案欄位在發生錯誤後仍可使用。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- linux
- 領域
- backend, desktop
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100