Skip to content
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

Autoscroll down deactivate in output #37476

Closed
Torguen opened this issue Mar 31, 2020 · 5 comments · Fixed by #39524
Closed

Autoscroll down deactivate in output #37476

Torguen opened this issue Mar 31, 2020 · 5 comments · Fixed by #39524

Comments

@Torguen
Copy link

Torguen commented Mar 31, 2020

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:

@Anutrix
Copy link
Contributor

Anutrix commented Apr 1, 2020

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.

@Torguen
Copy link
Author

Torguen commented Apr 3, 2020

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.

@Calinou
Copy link
Member

Calinou commented Apr 3, 2020

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

@Torguen
Copy link
Author

Torguen commented Apr 3, 2020

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.

@kimjiy9607
Copy link

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:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants