You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When opening a file in two tabs, when displaying different sections of the code, an attempt to edit the code in one panel provokes scrolling to the editing area in the second panel if the editing area in first panel was above the display area in the other panel.
To Reproduce
Steps to reproduce the behavior:
Open a file of sufficient size. I have not investigated which one, but the restful_server demo allows you to estimate the limit, because the project contains two files: esp_rest_main.c and rest_server.c. My first file contains 139 lines and the problem is not reproduced on it, the second file contains 227 lines and the problem can be reproduced on it.
Open one file (in this example - rest_server.c) in two panels. Eclipse provides several possibilities here, I checked with the help of (any of them):
2.1. Window - Editor - Toggle Split Editor. both - Horizontal and Vertical).
2.2. Window - Editor - Clone
2.3. Window - New Window
In the 2.2 case, to see the problem, you need to make both tabs appear together, for this you can do one of the following steps:
a) Drag the tab to the right side of the window, splitting it into two panels.
b) Right-click on the tab and select Detach.
Move to different parts of the code, for example, in the first one you can stay at the beginning of the file, and in the second one you can scroll to the end (optionally, you can put the cursor on the last lines, but this is not necessary).
Now you need to change something in the first tab in the first lines - add or delete any character.
After this action, the text in the second tab will scroll to the place where you edited the first one, while the cursor will remain unchanged (if it was moved to the last lines in step 3).
Problem affected in Espressif IDF Project only, if I create C/C++ Project in Espressif IDE where is no described problem withh scrolling.
And the problem only shows itself only if editing area in one panel is above display area in second panel, if not - scrolling is not executed.
I use Ubuntu 24.04.1 LTS. Espressif IDE is fresh installed (no addtitional software installed into IDE).
Expected behavior
No scroolling on second tab to editing code in first tab.
Screenshots
Screenshot does not show the bug. I can demonstate it in video if needed.
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Problem with scrolling to the edit line in cloned tabs.
Problem with scrolling to the edit line in cloned tabs. (IEP-1363)
Nov 7, 2024
Describe the bug
When opening a file in two tabs, when displaying different sections of the code, an attempt to edit the code in one panel provokes scrolling to the editing area in the second panel if the editing area in first panel was above the display area in the other panel.
To Reproduce
Steps to reproduce the behavior:
2.1. Window - Editor - Toggle Split Editor. both - Horizontal and Vertical).
2.2. Window - Editor - Clone
2.3. Window - New Window
In the 2.2 case, to see the problem, you need to make both tabs appear together, for this you can do one of the following steps:
a) Drag the tab to the right side of the window, splitting it into two panels.
b) Right-click on the tab and select Detach.
After this action, the text in the second tab will scroll to the place where you edited the first one, while the cursor will remain unchanged (if it was moved to the last lines in step 3).
Problem affected in Espressif IDF Project only, if I create C/C++ Project in Espressif IDE where is no described problem withh scrolling.
And the problem only shows itself only if editing area in one panel is above display area in second panel, if not - scrolling is not executed.
I use Ubuntu 24.04.1 LTS. Espressif IDE is fresh installed (no addtitional software installed into IDE).
Expected behavior
No scroolling on second tab to editing code in first tab.
Screenshots
Screenshot does not show the bug. I can demonstate it in video if needed.
Espressif-IDE Product Information:
Product Information.txt
Eclipse Error log:
Error.log
The text was updated successfully, but these errors were encountered: