jdf / Processing.py-Bugs

A home for all bugs and feature requests about Python Mode for the Processing Development Environment.
41 stars 8 forks source link

is there any way to move the result of the code to the secondary display? #361

Open Aria-AAs opened 2 years ago

Aria-AAs commented 2 years ago

as you know (issues #360 and #353) in python processing 4 windows display scale setting effect on showing things. so I tried to set one of my screen's scale settings (I have two displays) on 100% to watch results and one on 125% to work on and the 125% screen is my main display. but I have a fullScreen() function on the setup function in my code and the result of the code when wants to show with this situation open on the main display, so I use shift + windows + arrow key keys to move it to other screen and this is what happened:

what we expect to see: 2022-07-06_12-23-09

what we see: 2022-07-06_12-25-34

and the code:

def setup():
    size(1920 , 1080)
    frameRate(50)
    fullScreen()

def draw():
    background(255)
    noStroke()
    fill(170)
    rect(20, 20, 1880, 1040)
    fill(70)
    rect(40, 40, 445, 320)
    rect(505, 40, 445, 320)
    rect(970, 40, 445, 320)
    rect(1435, 40, 445, 320)
    rect(40, 380, 445, 320)
    rect(505, 380, 445, 320)
    rect(970, 380, 445, 320)
    rect(1435, 380, 445, 320)
    rect(40, 720, 445, 320)
    rect(505, 720, 445, 320)
    rect(970, 720, 445, 320)
    rect(1435, 720, 445, 320)

is there any way to move the result of the code to the secondary display, something like a function? i suggest screen(screenNumber).

Aria-AAs commented 2 years ago

I test it again and the same result as before.

2022-07-07_18-47-08 2022-07-07_18-48-26