OpenBCI / OpenBCI_GUI

A cross platform application for the OpenBCI Cyton and Ganglion. Tested on Mac, Windows and Ubuntu/Mint Linux.
MIT License
708 stars 257 forks source link

GUI v6.0.0-beta.0 crashes when resizing during Session #1195

Closed retiutut closed 11 months ago

retiutut commented 11 months ago

Problem

The GUI crashes due to using a broken method from ControlP5 library.

I found this comment I placed from 2021

private int thresholdTFWidth = 60; //Hard-code this value since there are deep errors with controlp5.textfield.setSize() and creating new graphics in this class - RW 12/13/2021

Caused by W_Marker.pde

        markerReceiveIPTextfield.setSize(ipTextfieldPosition.w, ipTextfieldPosition.h - CELL_PADDING);

Expected

GUI doesn't crash and can be resized.

Operating System and Version

MacOS

GUI Version

v6.0.0-beta.0

Are you running the downloaded app or from Processing/VSCode?

Both

Type of OpenBCI Board

Any board or synthetic mode

Console Log and Screenshots

See attached. Console_2023-09-27_13-26-02.txt