racket / racket/gui

get-file works differently on windows and linux

Open
#233 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
68
Forks
82
PR merge metrics
No merged PRs in 30d

Description

To Reproduce please run following code on Linux and on Windows.

#lang racket
(require racket/gui/base)

(get-file)
  • On Windows you can create a new folder, on Linux you cannot.
  • On Windows you can select a not existing file, on Linux you cannot.

I think get-file should behave on Linux the same as it does on Windows now.

Contributor guide

Open the contributing guide

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.

Research direction

Start with the get-file entry point exposed by racket/gui/base and reproduce the provided example on both Linux and Windows. Compare the file-dialog behavior, then verify that Linux permits creating folders and selecting nonexistent files like Windows does.

Written by the indexing model from the issue text.

Assessment

Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.