Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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.

Assessment

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

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.

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

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

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.

More from processing/processing4

All issues in processing/processing4

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.