-
-
Notifications
You must be signed in to change notification settings - Fork 21.9k
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
Selecting methods in script editor methods list does not position them consistently when scrolling, if Word Wrap option is enabled. #70438
Comments
I'm not sure I understand. In the video I show this when I scroll down showing that there is enough space. Can you give me more information about that option? I have to translate everything we write into my language and that makes it a bit difficult to understand. |
Yes I see the bug in your video, I'm just unable to reproduce it. So there must be a configuration difference between your Godot version and mine, or something in your script/project which triggers the bug. What I'm suggesting is that your review your Editor Settings in the "Text Editor" category, to see if there's any setting that you configured to a value which is not the default one (so it shows with a revert arrow). One of these settings may cause the issue. It could also be a general theme setting (font size, line spacing, etc.), or editor scale (mine is 100%, maybe you have a hidpi display with 150% or 200% scaling which is not properly handled for scrolling). Alternatively, you could share your |
I just showed one screen of potential options that could be related, but it's really everything which could impact this. If you can share your |
Could it be something related to the script? I can share the editor_settings file but won't I expose compromised information about android?, you know, the keys or passwords for debug, release, etc... |
I was able to reproduce the issue in v3.5.1 by changing the setting "text_editor/appearance/word_wrap" to true. |
The Android release key/password should be in the But this won't be needed, as @Tetane found which setting triggers the issue already :)
I can confirm this. The diff between the top line and where the seeked function is shown matches the amount of lines wrapped (which introduce a new line without increasing the code line number). |
Yes, I have that option activated, so it could be due to the activation of that option. |
The issue also seems reproducible in latest |
Why did you label this as "enhancement"? I honestly don't think this is an enhancement, this needs a fix to a problem. |
This is very annoying, it also happens when you switch between the script editor and the 2D editor, as you can see in this video. 2023-03-17.10-44-44.mp4 |
Still in 3.6 beta 3 |
Godot version
v3.5.2.rc1.official [f5f0543]
System information
w10 64
Issue description
You can see it in the video.
I select a function and the editor places it at the bottom of the screen, other times it places it at the top, and other times it places it in the center.
https://youtu.be/4yqvRaNwZes
Steps to reproduce
Thanks to user Tetane we know that the problem happens when:
The setting "text_editor/appearance/word_wrap" is set to true.
See the video.
Minimal reproduction project
...
The text was updated successfully, but these errors were encountered: