Title: Custom preferences.txt location not working in Processing 4.5.2 · Issue #1435 · processing/processing4 · GitHub
Open Graph Title: Custom preferences.txt location not working in Processing 4.5.2 · Issue #1435 · processing/processing4
X Title: Custom preferences.txt location not working in Processing 4.5.2 · Issue #1435 · processing/processing4
Description: Most appropriate sub-area of Processing 4? PDE Processing version Processing 4.5.2 portable version (processing-4.5.2-windows-x64-portable.zip) Operating system Windows 10 Bug description When a custom location for preferences.txt is def...
Open Graph Description: Most appropriate sub-area of Processing 4? PDE Processing version Processing 4.5.2 portable version (processing-4.5.2-windows-x64-portable.zip) Operating system Windows 10 Bug description When a cu...
X Description: Most appropriate sub-area of Processing 4? PDE Processing version Processing 4.5.2 portable version (processing-4.5.2-windows-x64-portable.zip) Operating system Windows 10 Bug description When a cu...
Opengraph URL: https://github.com/processing/processing4/issues/1435
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Custom preferences.txt location not working in Processing 4.5.2","articleBody":"### Most appropriate sub-area of Processing 4?\n\nPDE\n\n### Processing version\n\nProcessing 4.5.2 portable version (processing-4.5.2-windows-x64-portable.zip)\n\n### Operating system\n\nWindows 10\n\n### Bug description\n\nWhen a custom location for `preferences.txt` is defined in `settings.txt`: \n\n1. Processing creates a `preferences.txt` in that directory but does not write to (update) that file. \n2. Preference changes are written to the default preferences directory instead and are not used.\n3. Processing will use the custom `preferences.txt` if it is manually edited.\n\nProcessing should write to (update) the configured custom `preferences.txt` location.\n\nThis works as expected in Processing 4.4.x\n\n### Steps to reproduce this\n\nThis is a custom environment on my system.\n\nSteps to reproduce:\n1. Unzip `processing-4.5.2-windows-x64-portable.zip` into:\n `D:\\Program_Portable\\`\n This creates: `D:\\Program_Portable\\Processing\\`\n2. Create this folder (must be created manually):\n `D:\\Program_Portable\\Processing\\mypreferences\\`\n3. Create this file:\n `D:\\Program_Portable\\Processing\\app\\resources\\lib\\settings.txt`\n4. Put this single line into settings.txt:\n `settings.path=D:\\Program_Portable\\Processing\\mypreferences`\n5. Launch Processing.\n6. Confirm it creates:\n `D:\\Program_Portable\\Processing\\mypreferences\\preferences.txt`\n7. Change any preference in the UI (example: Editor font size and Console font size).\n8. Close Processing.\n9. Check which file actually changed:\n - `D:\\Program_Portable\\Processing\\mypreferences\\preferences.txt`\n - `%APPDATA%\\Processing\\preferences.txt`\n\nActual result:\n- Processing creates `D:\\Program_Portable\\Processing\\mypreferences\\preferences.txt`\n- Processing does not write preference changes to it.\n- Preference changes are written to `%APPDATA%\\Processing\\preferences.txt` instead.\n\nExpected result:\n- Processing should read/write preferences using the folder specified by `settings.path`.\n- You should see the _Editor font size_ change in real time when modifying it with the scrollbar\n\nReference:\n\n1. https://discourse.processing.org/t/custom-location-for-preferences-txt-not-working-with-processing-4-5-2/47872\n2. https://github.com/processing/processing4/wiki/Preferences#sketchbook-and-settings-location\n3. https://github.com/processing/processing4/releases\n\n### Additional context\n\nSee Processing Discourse for additional context:\n\nhttps://discourse.processing.org/t/custom-location-for-preferences-txt-not-working-with-processing-4-5-2/47872\n\n### Would you like to work on the issue?\n\nNo, I’m just reporting the issue","author":{"url":"https://github.com/glvjr","@type":"Person","name":"glvjr"},"datePublished":"2026-02-15T17:38:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/1435/processing4/issues/1435"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5ea19f02-8a34-3d90-de1f-64e43259f1a7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AE54:830DA:BD01B0:FC5A61:6A604FCE |
| html-safe-nonce | 21753a2f52ba3ac5641a998ff86848cb72efe0c3f38d8d5f0864fd9ddacf3bda |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTU0OjgzMERBOkJEMDFCMDpGQzVBNjE6NkE2MDRGQ0UiLCJ2aXNpdG9yX2lkIjoiNDc1NDM5ODA1NTM1NzIzOTI0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c3af39855caf49c10e0cea2dc3c09848502578410c807e8b8bdd862fb82dc521 |
| hovercard-subject-tag | issue:3944555506 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/processing4/1435/issue_layout |
| twitter:image | https://opengraph.githubassets.com/783d966bbf19524dfc305d5ac10d38f55fc7db1ba665142164ba3486c5e9a947/processing/processing4/issues/1435 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/783d966bbf19524dfc305d5ac10d38f55fc7db1ba665142164ba3486c5e9a947/processing/processing4/issues/1435 |
| og:image:alt | Most appropriate sub-area of Processing 4? PDE Processing version Processing 4.5.2 portable version (processing-4.5.2-windows-x64-portable.zip) Operating system Windows 10 Bug description When a cu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | glvjr |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60da8c2a42fa2bbf5f7567474990ec467836a84444262a58e200fa91b7f3d2d0 |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing4 git https://github.com/processing/processing4.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 844382769 |
| octolytics-dimension-repository_nwo | processing/processing4 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 844382769 |
| octolytics-dimension-repository_network_root_nwo | processing/processing4 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9824515e740d83d5eb82168a089b806ab0fe04a1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width