texstudio
texstudio copied to clipboard
Middle Mouse Click on tab close two tabs
Environment
- TeXstudio 4.9.5 (git 4.9.5)
- Using Qt Version 6.11.0, compiled with Qt 6.11.0 R
- OS: Windows 11
- TeX distribution: texlive
Expected behavior
When middle-mouse-click on editor tabs, only one tab was supposed to be closed.
Actual behavior
When middle-mouse-click on editor tabs, two tabs were closed, one when clicking down and the other when releasing the middle mouse button.
How to reproduce
Open two .tex files in the editor, middle-mouse-click on the left tab.
I can confirme for Win 11, latest dev build note: Independent of whether the clicked editor tab is active (selected) or not. But it happens only when the most left tab is clicked. Also with three tabs.
can't observe similar issue with close action from file menu
Thanks