After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 646504 - Duplicate bindings only warn in same section
Duplicate bindings only warn in same section
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Keyboard
2.91.x
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-02 01:39 UTC by Shaun McCance
Modified: 2011-04-13 11:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Shaun McCance 2011-04-02 01:39:34 UTC
When you try give an action a shortcut that's already bound to something else, you get a warning. In GNOME 3, the shortcuts are in sections, selected by a list on the left, instead of the tree used in GNOME 2. If the duplicate shortcut is in another section, you don't get a warning. Try, for example, binding Alt+F4 to any action that's not under Windows.

A cursory glance at the code shows it's just gtk_tree_model_get to find a row matching the shortcut. With the new split-up layout, I suppose each section is in a different GtkTreeModel, so this isn't enough.
Comment 1 Bastien Nocera 2011-04-13 11:52:33 UTC
commit 995be4e6f00c3fde876ea6e74b60b1e4f53a3c17
Author: Bastien Nocera <hadess@hadess.net>
Date:   Wed Apr 13 12:51:00 2011 +0100

    keyboard: Handle shortcuts conflict in different section
    
    https://bugzilla.gnome.org/show_bug.cgi?id=646504