GeezerVison is showing github.com — Read preferences txt, if fails, read defaults, else really break by catilac · Pull Request #1393 · processing/processing4
Conversation
This is a bandaid fix for the tab-spacing Advanced error that was reported.
I'm carving out a set of issues for a larger fix.
@SableRaf can you please give this a little test?
partial fix of #1388
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
SableRaf reacted with eyes emoji
|
In a quick test it seems to work 👍 Thanks @catilac
Here's what I did:
Replicating
- Opened Processing 4.5.1
- Opened the preferences
- Searched for "tabs"
- Set
editor.tabs.size to 4/ (causes error in the console)
- Closed and re-opened. Got the error from Preferences not validating inputs #1388
Testing the PR
- Built from PR branch (runs successfullly)
- Opened the preferences
- Searched for "tabs"
- Set
editor.tabs.size to 4 (removed the trailing /)
- Closed Processing
- Re-opened 4.5.1. (starts successfully)
|
catilac reacted with heart emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
SableRaf
commented
Jan 29, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
@catilac What's your take on adding comments in the code to explain why a workaround like this one was needed?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
@SableRaf i think generally that's a great idea! For this particular patch it's more like coding with a so-called best practice so it's not something too out of the ordinary. Thanks so much for reviewing will merge!
|
SableRaf reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
SableRaf
SableRaf approved these changes
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.