Skip to content

Processing graphics output window is too small to see anything and it doesn't have any resize or maximise controls #1040

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Ian-Grant opened this issue Apr 16, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@Ian-Grant
Copy link

Most appropriate sub-area of Processing 4?

Core/Environment/Rendering

Processing version

4.4.1

Operating system

Ubuntu 24.04

Steps to reproduce this

  1. Install the Processing Snap package using the Ubuntu 24.04 App Center (see screenshot)
  2. Open the Processing app.
  3. Type in the example code from the tutorial
  4. Run the example

snippet

background(216,225,149);

stroke(255,0,0);
fill(0,0,255);
rect(250,200,100,75);

Additional context

Image
Image

Would you like to work on the issue?

No, I can't help, I am new to this program and don't know Java and the JDK

@Ian-Grant Ian-Grant added the bug Something isn't working label Apr 16, 2025
@Ian-Grant
Copy link
Author

I found the problem, it's because the examples in the tutorial skip the canvas size call and the whole setup()/draw() definition. It tells you about this in part 4 of the tutorial.

@SableRaf
Copy link
Collaborator

This is the intended behavior, mostly for historical reasons—Processing's default behavior goes back to its origins in the Design By Numbers (DBN) project, which used a 100 by 100 pixels default canvas. That made sense at the time, but it's admittedly not ideal on modern displays.

We're considering updating the default size in a future release to be more practical out of the box.

Out of curiosity, which tutorial were you following? It would help us understand where the confusion came from and whether we can improve the documentation.

@Ian-Grant
Copy link
Author

Thanks for replying.

I was just following the tutorial at https://hello.processing.org, but it took me a while to realise that the IDE on those web pages is actually interactive. I thought I was watching a video and that I needed to have the client open on my desktop to try the examples!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

2 participants