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

Cutting folded region restricts scrolling after cut and after undo #97595

Closed
Cigam-HFden opened this issue Sep 28, 2024 · 3 comments · Fixed by #98678
Closed

Cutting folded region restricts scrolling after cut and after undo #97595

Cigam-HFden opened this issue Sep 28, 2024 · 3 comments · Fixed by #98678

Comments

@Cigam-HFden
Copy link

Tested versions

v4.4.dev2.official [97ef3c8]

System information

Godot v4.4.dev2 - Windows 10.0.19045 - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 3070 (NVIDIA; 32.0.15.6109) - 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz (16 Threads)

Issue description

Cutting a folded region restricts the scrolling, making the bottom of the code unreachable. Undoing the cut still restricts the scroll.

Steps to reproduce

Have code in a region, and code below it.
Collapse the region and cut, then check scroll
Undo cut and check scroll

Minimal reproduction project (MRP)

MRP:
mrp_restricted_region_scroll.zip

Video:
https://github.com/user-attachments/assets/bfc4394d-0714-49c4-88b7-0cf6f8d2508a

@kitbdev
Copy link
Contributor

kitbdev commented Sep 29, 2024

@arkology
Copy link
Contributor

arkology commented Sep 29, 2024

I can reproduce it and also want to add that this happens not only with region folding but with any lines folding (like folded comments and functions).

@kitbdev
Copy link
Contributor

kitbdev commented Nov 12, 2024

@akien-mga akien-mga added this to the 4.4 milestone Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment