<p>over on geany issues i posted an issue: <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="506950941" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany/issues/2359" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/2359/hovercard" href="https://github.com/geany/geany/issues/2359">geany/geany#2359</a></p>
<p>it seems that when a macro is bound to F8 then the standard GTK event still gets fired after the macro is run.</p>
<p>in the case of F8 it is "give focus to the splitter bar in a paned window" and this event causes the focus on the editor window to be lost, which renders the F8 (or any other combination of a "gtk focus" key) unusable as a macro key.</p>
<p>it appears the standard behaviour in geany for keyboard shortcuts is to <em>not</em> fire the GTK event if a shortcut is defined. perhaps the macros plugin should follow the same convention?</p>
<p>a workaround is of course possible: don't use macro keys conflicting with the gtk events: <a href="https://developer.gnome.org/hig/stable/keyboard-input.html.en" rel="nofollow">https://developer.gnome.org/hig/stable/keyboard-input.html.en</a> i only discovered geany today and i almost immediately decided to migrate across to it so in the meantime i'll be retraining my brain to not use F8 from my old editor :)</p>
<p>fyi: whilst i was trying to understand the issue i was searching around a bit and found this: <a href="https://mail.gnome.org/archives/gtk-app-devel-list/2006-April/msg00338.html" rel="nofollow">https://mail.gnome.org/archives/gtk-app-devel-list/2006-April/msg00338.html</a> an old post which may still be of help.</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-plugins/issues/928?email_source=notifications&email_token=AAIOWJ6G7WUQDYDN3BQAT33QOWGI7A5CNFSM4JAZ7GN2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HR2GHJA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6P3CLOJTMM5XS664LQOWGI7ANCNFSM4JAZ7GNQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ3IJYMFB66LDVOHPRTQOWGI7A5CNFSM4JAZ7GN2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HR2GHJA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-plugins/issues/928?email_source=notifications\u0026email_token=AAIOWJ6G7WUQDYDN3BQAT33QOWGI7A5CNFSM4JAZ7GN2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HR2GHJA",
"url": "https://github.com/geany/geany-plugins/issues/928?email_source=notifications\u0026email_token=AAIOWJ6G7WUQDYDN3BQAT33QOWGI7A5CNFSM4JAZ7GN2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HR2GHJA",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>