texstudio icon indicating copy to clipboard operation
texstudio copied to clipboard

Middle Mouse Click on tab close two tabs

Open has236 opened this issue 5 months ago • 3 comments

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.

has236 avatar Jun 22 '26 22:06 has236

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.

octaeder avatar Jun 23 '26 07:06 octaeder

can't observe similar issue with close action from file menu

octaeder avatar Jun 23 '26 07:06 octaeder

Thanks

octaeder avatar Jun 23 '26 16:06 octaeder