#928 Cannot unbind the default Find accelerator

v1.23
closed-fixed
Interface (176)
5
2013-02-21
2013-01-02
No

I tried to remap the Search->Find command to <Ctrl> / instead of <Ctrl> f. <Ctrl> / properly brings up the Find dialog, but oddly <Ctrl> f still brings up the dialog, even after restarting Geany. I tried remapping <Ctrl> f to some other function, which worked as expected. Yet as soon as I unbind <Ctrl> f from the other function, it again brings up the Find dialog. I would instead expect <Ctrl> f to do nothing once it is unbound from its key mappings.

I am running Geany 1.23 (git >= 40cef34) on 32-bit Linux Mint 13.

Discussion

  • Lex Trotman

    Lex Trotman - 2013-01-02
    • status: open --> closed
     
  • Lex Trotman

    Lex Trotman - 2013-01-02

    This is a side effect of the fact that it isn't possible to undo the default accelerators in GTK, ones like find, save, open etc.

    When <ctrl>f is unbound in Geany it goes through to GTK which sees it as the menu accelerator for find.

    Since Geany intercepts the binding first, if it has a Geany keybinding it won't go to GTK, but if it is unbound it will. So you can bind the actions to something else, and/or bind the keycode to something else, but you can't unbind it without it having the GTK meaning.

     
  • Colomban Wendling

    • assigned_to: nobody --> colombanw
    • milestone: --> v1.23
    • labels: 1084466 --> Interface
    • status: closed --> closed-fixed
     
  • Colomban Wendling

    Now fixed in Git, thanks for reporting.

     
  • Colomban Wendling

    @elextr actually GTK doesn't force anything, it's just that we allowed it to install its default keybinding and that that we couldn't remove it since we didn't know it. That's fixed now.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks