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

Fix jumping to editor help does not scroll correctly sometimes #96449

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

Maran23
Copy link
Contributor

@Maran23 Maran23 commented Sep 1, 2024

Fixes: #96448
Fixes: #96515

The whole go to help code was executed twice for no reason, which led to the broken scrolling sometimes and to the somewhat hacky fix done in #90035 to fix that most of the time.

Turns out that the original PR, that fixed something else but led to the scrolling regression, done in #82498 was actually close to being correct. It removed the duplicate tab change, but actually the 'wrong' one.

In this PR, we remove the other duplicate that does excactly the same code again which was previously already done. This fixes the scrolling and allows us to revert the draw connect code to how it was done previously. Also made the sure that the issue #82292 which was fixed in #82498 still does not happen.

@Maran23 Maran23 requested a review from a team as a code owner September 1, 2024 22:34
@AThousandShips AThousandShips added bug topic:editor cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release labels Sep 2, 2024
@AThousandShips AThousandShips added this to the 4.4 milestone Sep 2, 2024
Copy link
Contributor

@kitbdev kitbdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can reproduce #96448, and this fixes it for me.

@Maran23 Maran23 force-pushed the editor-help-scroll-fix branch from 10a0930 to af92685 Compare October 18, 2024 16:51
@Maran23 Maran23 requested a review from a team as a code owner October 18, 2024 16:51
Copy link
Member

@KoBeWi KoBeWi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't reproduce either issue, but it doesn't seem to break anything.

I did observe a scrolling bug a few times, but it was super rare and I'm not even sure it happened. Maybe this will resolve it.

@akien-mga akien-mga merged commit 05b80ae into godotengine:master Nov 29, 2024
20 checks passed
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release topic:editor
Projects
None yet
5 participants