-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't make a new connection #7
Comments
[ Temporary Fix: ]
|
Thank you @PlaidDroid for this bug report 🙂 @MAKIO135 putting you on track, there's the following error at
const lastHost = app.config.hosts[app.config.hosts.length - 1];
const newHost = {
ip: lastHost.ip,
port: lastHost.port + 1,
type: lastHost.type,
oscString: '',
udpString: ''
};
addHostLi(newHost); |
Well...this works, but I don't know if it will make a difference if let newHost;
if (app.config.hosts.length > 0) {
const lastHost = app.config.hosts[app.config.hosts.length - 1];
newHost = {
ip: lastHost.ip,
port: lastHost.port + 1,
type: lastHost.type,
oscString: "",
udpString: "",
};
} else {
newHost = {
ip: "127.0.0.1",
port: 8000,
type: "osc",
path: "/yo",
oscString: "/yo 135 2.4 test",
};
}
addHostLi(newHost);
app.win.setContentSize(
app.win.getContentSize()[0],
addButton.getBoundingClientRect().bottom + 30
);
}); |
Hey @PlaidDroid, catching up with the issue. Thanks for your solution. |
Yes yes that's perfect! That makes more sense. |
My 2 cents @MAKIO135: UX-wise, I think we (almost) always should let users delete what they want to delete 🙂 I reckon it's ok to empty the interface, so as to populate it again. What do you think? |
@PlaidDroid: following @ashugeo's advice, I ended with your solution 🙏. |
With all the connections removed, there was no way of making a new one!
OS: Ubuntu 20.04
This was the message that got printed when I clicked a lot:
[22249:0707/002742.995413:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
The text was updated successfully, but these errors were encountered: