TD 2023 Textport focus postion bug

image
When the Textport window is small relatively, the mouse focus position is misplaced.

Hi @ninjai,

could you share your hardware setup and TouchDesigner build number as well please?

cheers
Markus

TD all 2022,2023 versions has this bug. It is normal when I adjust the width of textport window to big.
BTW, I often copy code from web pages into DAT op, because indentation on web pages uses spaces and TD uses the TAB key so I have to change the indentation of each line to TAB format.


base1.tox (422 Bytes)
Best


NewProject.1.toe (4.4 KB)

Hi @ninjai,

what hardware (nvidia or internal) are you running on? OS version? Are all drivers up to date? What’s your monitor’s resolution and are you using DPI scaling?
Changing the Textport size should have no impact on the rendering of the text.

Regarding tabs vs spaces - while we use tabs as a standard, the requirement is only that indentation in scripts must be consistent. Personally I usually edit scripts in an external editor which comes with functionality to convert easily between tabs and spaces. You can set what editor to use by specifying it’s location in Edit>Preferences>DATs.

cheers
Markus

Hardwares:
Intel i9-12900KS,
Nvidia RTX3060,
OS: win11 pro.
all drivers up to date.
Monitor’reslution 1920*1080, DPI scaling 100%.
You can try to open the NewProject.1.toe flie like the screenshot.

cheers

1 Like

Hi @ninjai,

thank you! Found the bug: the scaling of the textport messes up when there are many text dats open in it.
Logged and will get fixed!

cheers
Markus

2 Likes