-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[ui] node time computation and chunks count in node editor header #1867
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need some modifications
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we change the selected node and the status is the same, the information is not updated (and we display the timing info of another node).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you select a node, start its computations, and wait without unselecting it, the timer never stops if the status is updated to ERROR
: the displayed computation time keeps on increasing as the timer keeps on being triggered.
If you unselect the node, the timer is immediately stopped, and if you reselect it, the displayed computation time is correct.
I don't know where it happens, but it seems like the globalStatusChanged
signal is not emitted when the node's status changes to ERROR
.
On another note, since we compute the elapsedTime when we stop the computations (cf the except
clauses in node.py), couldn't we display it in that case as well? (it is an open question)
3c4d923
to
46cee68
Compare
46cee68
to
2057ffd
Compare
ac04639
to
a6e56cf
Compare
a6e56cf
to
1eb714f
Compare
[ui] add node computation time in real time in node editor [ui] add node computation time in real time in node editor
…tation, function naming
1eb714f
to
606e8e2
Compare
Description
Improvement of computation information in node editor header
Features list
[X] update computation time every 2.5 seconds in header
[X] computation time when error occurs
[X] chunk computed counter in node editor header
Implementation remarks
The previous label text logic is moved to the nodeChanged signal because the logic is overwritten by the timer when setting the text time.
I don't know if 2.5 seconds is the best choice, feel free to give other refresh timing ideas.