processing / processing/processing4

determining path for portable preferences file is wrong for windows OS

Open Beginner friendly
#1,515 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
494
Forks
183
Avg merge
4h 39m
Merged PRs (30d)
3

Description

https://github.com/processing/processing4/blob/24faa54c35b14372f78f6b711d745e60395191ac/app/utils/src/main/java/processing/utils/Settings.java#L102

This is currently searching for portable preferences at: <installdir>\Processing.exe\preferences.txt on windows.
guess, should be: <installdir>\preferences.txt

the replaceall should consider \ as path separator on windows.

Cheers
--- mnse

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 in app/utils/src/main/java/processing/utils/Settings.java around line 102, where the portable preferences path is determined. Reproduce or trace the Windows path handling and check how the separator replacement affects the result. Done means portable preferences resolve to \preferences.txt rather than placing preferences.txt beneath Processing.exe.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
76/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.