Godot: Autoscroll down deactivate in output

Created on 1 Apr 2020  ·  5Comments  ·  Source: godotengine/godot

Godot version:
3.2.1 stable mono

OS/device including version:
win10 64

Issue description:
If you print values in the "Output" window, then the window will automatically scroll so you can always see the last value printed, all OK.

But ... you finish executing the scene and scroll up in the "Output" window to see previous values, then you rerun and now the "Output" window no longer does automatic scrolling, you can no longer view values printing in real time.

To solve this you will have to manually lower the scroll of the "Output" window again towards the lower end, then now the window will automatically scroll down again when printing values.

EasyMovement gif

Steps to reproduce:
1 - Print a large number of values ​​so that the output window must scroll down.
2 - Finish the execution and scroll the scroll of the exit window upwards
3 - Run again and print values ​​again, you can check that the output window no longer scrolls down automatically

Minimal reproduction project:

bug editor usability

Most helpful comment

I always thought this was a feature. If you are at the end of scroll, it scrolls down. Else it stays where it is or stays at top.

All 5 comments

I always thought this was a feature. If you are at the end of scroll, it scrolls down. Else it stays where it is or stays at top.

In my opinion this should not be passed as a feature.

It doesn't make sense that you are printing values and the scroll does not automatically scroll down in the begining of an execution.

@Torguen Some people precisely find that to be an annoyance because you can't scroll up at all if text is being printed continuously.

I think there is a misunderstanding.
I reported an error.
"If the scroll is not at the bottom, then when you run the scene the automatic scroll will be disabled."

I did not mean:
"You shouldn't be able to upload the scroll."

What I said:
"The scroll should scroll automatically at the start of each run, even if the scroll is not located at the bottom end."


I think the behavior could be:

1 - The scroll at the beginning of each execution ALWAYS automatically scrolls down if you print values.
2 - You can move the scroll upwards and this will make the scroll stop automatically scroll down until the next execution.

That is, the automatic scroll can be interrupted, but in the next execution the automatic scroll will run again even if it is not located at the lower end, that is the problem that this thread opened.

Hi,
I am trying to work on this bug. On rich_text_label, there are validate_line_caches and int first_invalid_line which I do not understand. I tried so hard to understand but it just doesn't click.
This might be obvious for some people. If it is can you kindly tell what each one does?
Thank you so much:)

Was this page helpful?
0 / 5 - 0 ratings