🎉 Node-RED 3.1.0-beta.4 released

Shirley all bets are off after a computer has been to sleep? :slight_smile:
I stopped using sleep mode in 1996! :slight_smile:

I think there has been quite a lot of work done on it since then. I have very few problems.

1 Like

Is Julian's one of them?

As I said, it wasn't a problem before. So something has changed.

These days both PC's and browsers go to sleep if you let them. My PC typically has a LOT™️ going on all the time. Restarting is a ball-ache.

Also, I typically have hundreds of browser tabs/windows/profiles running. As they go to sleep, it isn't an issue.

And of course, things like uibuilder are happy to sleep/wake-up. :wink:

OK, I've just installed NR standard on my laptop (fresh OS install last week) and it works fine if I put it in suspend mode (Its Linux Mint) and then restart

Debug switch works - no need to deploy

Now installing the beta ....

.. and after installing 3.1.0-beta.4 that worked fine as well

e.g. I had simple 2 node inject-debug - pressed inject - messages appear - closed debug switch - pressed inject - no messages appear - put computer into suspend mode - pressed power button-pressed inject - no messages - open debug switch - pressed inject - messages appear

I'll try to do some more tests. I think I might have been seeing a message in the NR log but not sure because this is my dev system of course so has a lot going on. If I get time, I'll set up a clean dev system and see if I can reproduce again. Certainly something has changed. Maybe an edge-case or race condition.

I have not managed to replicate the problem either, but I will keep trying.

Is it possible that node-red is restarting? I do see the symptom in that case.

Hmm, a thought - will test.

Can someone please check the function node's setup tab. This seriously confused me for a few seconds:

Those with sharp eyes will note that the bottom of the tab display is hidden and there is an unexpected scroll bar. This is the current version of Edge on W11. The browser window is 100% zoom and the Editor zoom is set to default.

Be nice to know if it is just my setup or a bug.

Oddly, the tray has a fixed height which I'm guessing is the problem. It would be much better with at least a height based on rem or em instead of px. (This is actually true of a lot of the editor and it would be nice to see that fixed in future releases).

image

1 Like

I suspect the add button has been pushed off screen with the addition of the timeout. If I remember correctly the height of the form elements are totted up and the setup imports div is sized to the remaining space. The onresize handler probably needs updating to accommodate the timeout row?

In short, it's a bug and it would be really good if you could capture it in an issue please.

1 Like

Done
3.1.0-beta4 - Startup tab of function node is too tall · Issue #4296 · node-red/node-red (github.com)

1 Like

Thank you. Very much appreciated.