<p>SOME DATA: After playing with it... I have no idea what's going on. It's definitely bug-related and not just a double-click issue. (1) It requires at least 3 clicks. (2) It doesn't always happen. (3) Once one untitled document has been created, it seems that it DOES always happen. (4) Sometimes it creates the document where you are in the list, sometimes it creates it at the end of the list. (5) Once it's happened, the arrows occasionally behave in a strange manner, e.g. getting all the way to the left and clicking the right arrow jumps several documents to the right or to the end. (6) Double-clicks seem like maybe they can be spread between the two buttons, where once you've gotten to the first document and click the right arrow once, a new document appears? I'm thinking that possibly the new untitled documents are in a different order in some internal array than they are in the displayed document list? And that... well, I don't know. Beyond that vague partial guess I really can't venture to say what's going on.</p>
<p>TO TEST: Open a bunch of files, say 30, go to the end, and rapidly click the left arrow until you get to the beginning. Then rapidly click the right arrow until you get to the end again (might only take one click???). Then rapidly click the left arrow again and watch hell spew forth. Here is a video cropped from my gnome 3 desktop of this happening, with mouse presses visible. Please forgive the horrifying artifacts where pieces of the background appear in the window.</p>
<p>This is not a jpg, this is an mp4 with a .jpg extension because GitHub screamed at me when I tried to upload an mp4. I'll see if I can find a quick upload service somewhere and replace this with that.</p>
<p><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/5234097/47271144-a30f1580-d543-11e8-8558-1b2197e0f315.jpg"><img src="https://user-images.githubusercontent.com/5234097/47271144-a30f1580-d543-11e8-8558-1b2197e0f315.jpg" alt="cropped_screencap" style="max-width:100%;"></a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/1890#issuecomment-431695673">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ_FA5BNdA5MFavHQ67EuduqOP4osks5unMcggaJpZM4VCA7p">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJxDY-OBD7eWPV8scJ-a2XeCLSFAqks5unMcggaJpZM4VCA7p.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@sapphous in #1890: SOME DATA: After playing with it... I have no idea what's going on. It's definitely bug-related and not just a double-click issue. (1) It requires at least 3 clicks. (2) It doesn't always happen. (3) Once one untitled document has been created, it seems that it DOES always happen. (4) Sometimes it creates the document where you are in the list, sometimes it creates it at the end of the list. (5) Once it's happened, the arrows occasionally behave in a strange manner, e.g. getting all the way to the left and clicking the right arrow jumps several documents to the right or to the end. (6) Double-clicks seem like maybe they can be spread between the two buttons, where once you've gotten to the first document and click the right arrow once, a new document appears? I'm thinking that possibly the new untitled documents are in a different order in some internal array than they are in the displayed document list? And that... well, I don't know. Beyond that vague partial guess I really can't venture to say what's going on.\r\n\r\nTO TEST: Open a bunch of files, say 30, go to the end, and rapidly click the left arrow until you get to the beginning. Then rapidly click the right arrow until you get to the end again (might only take one click???). Then rapidly click the left arrow again and watch hell spew forth. Here is a video cropped from my gnome 3 desktop of this happening, with mouse presses visible. Please forgive the horrifying artifacts where pieces of the background appear in the window.\r\n\r\nThis is not a jpg, this is an mp4 with a .jpg extension because GitHub screamed at me when I tried to upload an mp4. I'll see if I can find a quick upload service somewhere and replace this with that.\r\n\r\n![cropped_screencap](https://user-images.githubusercontent.com/5234097/47271144-a30f1580-d543-11e8-8558-1b2197e0f315.jpg)\r\n\r\n"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1890#issuecomment-431695673"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/1890#issuecomment-431695673",
"url": "https://github.com/geany/geany/issues/1890#issuecomment-431695673",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [geany/geany] switch between document tab when clicking on arrow button bug (#1890)",
"sections": [
{
"text": "",
"activityTitle": "**Joshua Brinsfield**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@sapphous",
"facts": [

]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"geany/geany\",\n\"issueId\": 1890,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"geany/geany\",\n\"issueId\": 1890\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/geany/geany/issues/1890#issuecomment-431695673"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 352849641\n}"
}
],
"themeColor": "26292E"
}
]</script>