Skip to content

Window insets/gaps vary between renderers on KDE (Linux) #393

Closed
@processing-bot

Description

@processing-bot

Created by: bsolos

Description

The sketch window looks weird, with the appearance changing when you change the renderer.
Sample sketch code:

void setup() {
  size(800, 600, /* RENDERER */); 
}

void draw() {
  background(0);
  triangle(400, 100, 200, 500, 600, 500);
}

Expected Behavior

The window would look normally

Current Behavior

No renderer argument

White bars on the right and bottom sides of the window
Screenshot_20220204_125254

P2D

No white bars, but window controls seem offset
Screenshot_20220204_125438

P3D

Window controls seem offset, just like P2D
Screenshot_20220204_125857

FX2D

I have not been able to test this on 4.0b4, because it does not see the JavaFX library installed from the contribution manager. On 4.0b2 the window controls looked normal and there were no white bars, but you could change the window size and there was a maximize button.

Steps to Reproduce

  1. Download Processing 4.0b4 on Debian Testing (bookworm) with KDE
  2. Run the sample sketch with different renderers

Your Environment

  • Processing version: 4.0b4
  • Operating System and OS version: Debian GNU/Linux Testing (bookworm) with KDE Plasma 5.23.5 and KDE Frameworks 5.88.0
  • Other information: Proprietary nVidia drivers for GP106 (1060) 470.103.01. KDE theme: Breeze Dark.

Metadata

Metadata

Assignees

No one assigned

    Labels

    has attachmentAttachment was not transfered from GitLab

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions