psychopy.org | Reference | Downloads | Github

TextStim 2 windows Scale fail

Hi,
I’m using Windos10, PsychoPy v.3.1.4 with 2 screens: one for the experimenter + one for participant

With this code, the Rect in experimenter screen is scaled (possition and size) but TextStim is not

from psychopy import visual, core, event

# Create a window to draw in
win = visual.Window(fullscr=True, 
                    size = [1920,1080],
                    screen=1, 
                    winType="pyglet")
                    
win2 = visual.Window(fullscr=False, 
            size = [1920/2,1080/2],
            screen=2, 
            winType="pyglet",
            viewScale=0.5,
            waitBlanking=False)
            
infoText=visual.TextStim(
        win=win,
        text="Press any key to finish", 
        units='norm',
        alignHoriz='center',
        pos=(0,-0.8))

stim=visual.Rect(
            win=win,
            units="pix",
            width=100, 
            height=100,
            pos=(0,0),
            fillColor=[1, 1, 1])


stim.draw(win)
infoText.draw(win)
win.flip()

infoText.draw(win2) #this fails position and size not scaled
stim.draw(win2)
win2.flip()

event.waitKeys()
            
print("----- END ----")
core.quit()

I have to do this trick to proportional scale TextStim pos and size:

infoText.win=win2
infoText.pos=infoText.pos
infoText.draw(win2)

This is normal?