Nodes Shift Location on workspace, restart required to resolve in Knime 5.1Modern UI

When working on a workflow, occasionally when moving a node, the node moves but when let go it moves back. Problem is the software thinks the node is at the moved location, but you cannot click on it. So visibly the node is in one location, but the software thinks it is in another location. Making the node impossible to interact with. Only restarting Knime solves the issue.

I cannot replicate but happens often; 3 or 4 times a day.

Knime 5.1
Windows 11 Business
Version 22H2
OS build 22621.2283

Hello @rrousselot ,

Welcome to the Forum!

I wasn’t able to reproduce this issue as well on 5.1.1
What version of Analytics Platform is being used on you machine (5.1.0 or 5.1.1)?

Would it be possible to share with us the .log and the knime.log file to review them?

Both log files are located in the workspace directory:

  • KNIME logs: <knime-workspace>/.metadata/knime/knime.log
  • Program logs: <knime-workspace>/.metadata/.log

Best

1 Like

I was on 5.1.0 and just noticed this morning that 5.1.1 came out. If this occurs again, I will send you more info. Thanks!

I had to change the name of .log because the system wouldn’t let me upload it with that name.

knime.log (3.9 MB)

forupload.log (206.0 KB)
Recording-2023-09-18-112751

I am using 5.1.1

Something else that occurred to me is I have a large desktop aspect ratio (21:9 @ 3440x1440), maybe that is causing the issue.

Hello @rrousselot ,

Thanks for the logs and the video, they are very useful.
We have tried to reproduce this problem internally, but so far we have not been successful.
Would it be possible to share the workflow and the exact interaction you implemented to run into this problem? Are there other workflows that are broken? Or always the same workflow, always the same data?
You suspect that the aspect ratio has something to do with this problem, why do you think this? Have you tried other aspect ratios and you only experience this problem at 21:9 ?

Thank you!

1 Like

It will happen on any workflow and once you restart Knime it resolves itself. So not sure what sending a workflow will accomplish.

The interaction is just me trying to move 1 or more nodes.

I just brought up the aspect ratio thing because it is the only non-standard thing about my vanilla Dell workstation.

Ultimately, because the nodes move when selected, the mapping of the location in video memory is not the same as what it is in the configuration. Somehow, they are out of sync.

I think if you want to see this in action, I will have to contact you when this is happening, and review it over a Teams call.

Actually I have seen something similar with the new interface on 5.1.0 and 5.1.1.

Moving a node sometimes just does not ’take’, especially if another node is executing. It then suddenly moves, but not to the correct location. Links are sometimes then hanging in empty space, not moving with the node.

Switching to the classic ui and back resolves the situation for me.

1 Like

Well, glad it isn’t just me. :wink:

I will try the UI switch next time I see it.

I’m encountering the same issue, nodes aren’t responsive when trying to move them and then they will suddenly jump around into different positions, additionally they can’t be selected either, it’s making the new UI unusable unfortunately. I’ve tried the suggested fix above and this hasn’t worked unfortunately.

1 Like

I would suggest you also state the exact KNIME version you are on to help the team chasing down this “culprit”
br

I’m using version 5.1.1

This also happens on my Mac Sonoma version 5.1.1.

Hello @ssq , @rrousselot , @JamesOllier ,

Thank you for your valuable feedback! And so sorry to come back to you so late!

In the meanwhile we have discussed this issue internally and I have got some tips on where to troubleshoot further this case. Some of us had already seen something similar weird behaviour but never had a chance to reproduce it.

Could you please help us and check the following Plug-ins and Installed Software versions on you application (where this issue occurs)? (You can find this in Help/About KNIME Analytics Platform/Installations Details)

Plug-ins (see in my screenshots as well):

  • KNIME Modern UI
  • KNIME Gateway API
  • KNIME Gateway Implementations
  • KNIME Gateway Json Base Plugin
  • KNIME Gateway JsonRpc Implementation

Installed Software (see in my screenshots as well):

  • KNIME Modern UI
  • KNIME Gateway

Let’s start here!

Thanks for your help!

1 Like

Thanks for coming back to me, please see below:

Plugins:


Installed Software:


Thanks




Hello @rrousselot and @JamesOllier ,

thank you so much for your reply!
It seems the plug-ins and software versions are correct.

There is one more thing you could try:

  1. Change the knime.ini file by adding this line at the bottom of the file:
    - Dorg.knime.ui.dev .mode=true
  2. Here comes the tricky part :slight_smile: Open your browser “before the problem occurs” → localhost:8888
  3. Open link “KNIME UI”
  4. Go to Browser console
  5. Look for errors in the console (and / or any kind of messages)

I understand that such an unpredictable phenomenon can be difficult to detect, but let’s hope you get lucky!

Let us know if you find anything useful in the Dev Tool Console!
Thanks!

1 Like

I followed your steps but cannot get the localhost:8888 to work. I never get anything to come up in my browser.

Using 5.1.2 now, I think the issue still exists, but it seems like the interface is recovering which is good because don’t need to switch to legacy UI and back to fix/reset but I wouldn’t consider the issue resolved. I just feel like the UI is just constantly resetting itself rather than handling the issue properly. So, behavior now is more like Node gets moved, UI misinterprets the placement, then resets itself and lets user try again. IMHO, this behavior is very annoying and if you want people to switch to modern UI it should be resolved.

I take it back, it is worse now in 5.1.2.