Environment
- TeXstudio: 4.7.1
- Qt: 5.15.10
- OS: Ubuntu Mantic (23.10)
- TeX distribution: TeXLive 2023, LuaHBTeX version 1.17.0
Expected behavior
When you open or close the side panel, without selecting any item, the current position in your TeX source has not to be affected.
Actual behavior
The current position in editing panel is automatically moved "elsewhere" in the source.
It seems to be related to an incorrect managing of the internal display position in editing panel, affected by the width modification of it.
If you open then close the side panel without moving inside the source, you are back in the initial position.
The position in the preview plane is not affected.
How to reproduce
Use any sufficiently large source, \ie with 3 or 4 sections, 3 pages or more, a.s.o.