godot icon indicating copy to clipboard operation
godot copied to clipboard

Jumping to editor help does not scroll correctly sometimes

Open Maran23 opened this issue 1 year ago • 7 comments

Tested versions

  • Godot v4.3.stable
  • https://github.com/godotengine/godot/commit/61598c5c88d95b96811d386cb20d714c35f4c6d7

System information

Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated AMD Radeon RX 6900 XT (Advanced Micro Devices, Inc.; 32.0.11037.4004) - AMD Ryzen 9 5900X 12-Core Processor (24 Threads)

Issue description

Even after the fix for https://github.com/godotengine/godot/issues/88281, the editor help description scolling does not work sometimes. You need some tries, but it will not work eventually.

Steps to reproduce

  • CTRL + Click onto a symbol to go into the editor help
  • It will scroll to the bottom instead to the description. Always works the second time though

unknown_2024 09 02-00 20_1

Minimal reproduction project (MRP)

editor

Maran23 avatar Sep 01 '24 22:09 Maran23

I tried replicating so I could test the fixing PR, this but can't seem to - appears to work from the first time. Is there something specific to what you're clicking perhaps?

anvilfolk avatar Sep 25 '24 01:09 anvilfolk

I tried replicating so I could test the fixing PR, this but can't seem to - appears to work from the first time. Is there something specific to what you're clicking perhaps?

I can reproduce it somewhat reliable when the documentation was not opened before and when opening a big document like e.g. Node, e.g. the get_parent() method.

Maran23 avatar Sep 25 '24 10:09 Maran23

It happens for the first time any class reference is open after starting the editor. Jumping again to the same class reference works as expected. If you close the class reference page in the script editor, it will scroll to the end again when jumping.

ydeltastar avatar Sep 25 '24 12:09 ydeltastar

https://github.com/user-attachments/assets/e6a9f949-d21a-4e5f-b8f0-b77230828ac9

I really cannot replicate it on 4.3 stable on Win11. I wanted to test the linked PR but can't. For those who can replicate the issue, maybe you can go there, try the PR and make sure it has fixed it for you!

anvilfolk avatar Sep 26 '24 10:09 anvilfolk

I really cannot replicate it on 4.3 stable on Win11. I wanted to test the linked PR but can't. For those who can replicate the issue, maybe you can go there, try the PR and make sure it has fixed it for you!

You can try with a debug build, as that is less opimized and slower.

Maran23 avatar Sep 27 '24 07:09 Maran23

Duplicate issue: https://github.com/godotengine/godot/issues/96515 maybe someone from there can test that

Maran23 avatar Sep 27 '24 07:09 Maran23

For anyone who wants to test this, rebased the branch to master, you can download it here under Artifacts: https://github.com/godotengine/godot/pull/96449/checks

Maran23 avatar Oct 18 '24 19:10 Maran23

Also can't reproduce, in 4.4. The page takes a while to load after opening, but once loading finishes, the editor jumps to correct position.

KoBeWi avatar Nov 24 '24 18:11 KoBeWi