beyondcode / beyondcode/polyscope-community

[Bug]: Open a local folder opens file picker for local instead of remote machine

未关闭
#175 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
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.

Image

Image

### 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

把新 issue 发到你的邮箱

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