Skip to content

Preferences not validating inputs #1388

Closed

Description

@catilac

Most appropriate sub-area of Processing 4?

PDE

Processing version

4.5.x

Operating system

all of them

Bug description

When going into the advanced preferences section, if you enter invalid inputs, the application will crash.
In order to fix this, you have to delete

Here is an example:
editor.tabs.size=2/

I accidentally typed in a "/" and the program crashed. But deleting that entry from preferences.txt fixed it.

Steps to reproduce this

  1. Go to advanced settings

  2. Go to a text field input (like tab size) and enter non-numeric input

  3. This will create a parse error and crash the application

snippet

// Paste your code below :)

void setup() {

}

void draw() {

}

Additional context

No response

Would you like to work on the issue?

Yes, I’d like to help with this

Activity

  1. avinxshKD commented on Jan 28, 2026

    @avinxshKD
    Contributor

    hey @catilac I'd like to work on this, can you pls assign it to me? thanks

  2. SableRaf commented on Jan 29, 2026

    @SableRaf
    Collaborator

    Hi @avinxshKD. Sorry, but this was a high-priority bug and we wanted to fix it quickly, so @catilac took care of it.

    If you’re still looking for issues to get involved with, feel free to get in touch with us on Discord.

  3. self-assigned this
    on Jan 29, 2026
  4. catilac commented on Jan 29, 2026

    @catilac
    CollaboratorAuthor

    @avinxshKD yes i'm so sorry about that, please reach out :) there is lots of fun stuff to work on, including extensions of this work that i just merged in

  5. avinxshKD commented on Jan 30, 2026

    @avinxshKD
    Contributor

    Hi @avinxshKD. Sorry, but this was a high-priority bug and we wanted to fix it quickly, so @catilac took care of it.

    If you’re still looking for issues to get involved with, feel free to get in touch with us on Discord.

    Thanks for the update @SableRaf, totally understandable since it was high priority.
    I’m really keen to contribute, I’ll explore other open issues and join Discord. Thanks

  6. avinxshKD commented on Jan 30, 2026

    @avinxshKD
    Contributor

    @catilac No worries at all @catilac totally get it 🙂
    I’d love to help with the extensions or anything related that you just merged. I’ll take a look and also join Discord. Looking forward to contributing more thanks again for alll the support yall<3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions