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

Open
#175 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
linux
Domain
backend, desktop

Research direction

Start by reproducing the GUI flow through “Open a local folder” and “empty project” with Polyscope on Windows and Polyscope-Server on Ubuntu through WSL. Trace the path.suggest and project.create_empty messages shown in the logs, then verify that remote folders are selectable and that project fields remain usable after an error.

Written by the indexing model from the issue text.

Description

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
[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/"}
Dominant language
No language data
Stars
20
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from beyondcode/polyscope-community

All issues in beyondcode/polyscope-community

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.