View Issue Details

IDProjectCategoryView StatusLast Update
00303522.x IDE BugsCode EditorPublic2019-01-29 17:22
ReporterDanAssigned ToAlan Savage 
PriorityMediumSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
Platform-OSWindows 10OS VersionPro x64
Product Version2.2.1 
Target Version2.2.2Fixed in Version2.2.2 
Summary0030352: Code Editor: Can accidentally close multiple tabs in succession if you MMB and slightly move the mouse
DescriptionWithin the Code Editor you can accidentally close multiple tabs in succession if you MMB and slightly move the mouse (or have a high-sensitivity mouse) whilst holding down the MMB.

Expected: GMS2 closes the first tab and then mouse_clear()s.
Steps To Reproduce1. Start GMS2 and open/create any project.
2. Ensure you have a few scripts and then drag them all into one code editor, so you have a few tabs.
3. MMB the first tab and hold down the button, whilst doing this move your mouse just a little bit and you will see tabs 2+ close as well as they come under the click location.
Repro: 100%
TagsCodeEditor, IDE
2.x IDE Found In2.2.1.375
2.x Runtime Found In2.2.1.287
2.x IDE Verified In2.2.2.388
2.x Runtime Verified In2.2.2.302

Activities

Dan

2018-12-21 09:12

Adminstrator  

Dan

2019-01-29 17:22

Adminstrator   ~0062563

The fix made has stopped the issue described, however we do still persist the click to successive tabs and so you can accidentally tear a tab out to be a floating window - however, this does require a fairly substantial and deliberate mouse movement, and the cursor makes it clear what's happening/about to happen if you complete the move, so this seems fine to me.

Closing.