Operating system: Win
Broken: 2.80 2018-12-07
Short description of error
Selecting custom keymap causes disappearance of "Left/Right Mouse..." EXTRA panel.
That can do serious repercussions for add-on based on operators that are placed in that panel.
Exact steps for others to reproduce the error
Preferences -> Input -> Add keykonfig preset ( make any name )
Then "Left/Right Mouse..." extra panel disappears.
Then for example PieMenuEditor add-on that based on operator from that panel causes error:
//Traceback (most recent call last):
File "C:\Users\Tomasz\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\pie_menu_editor\operators.py", line 1889, in invoke cpm_key = keymap_helper.to_system_mouse_key(cpm.key, context) File "C:\Users\Tomasz\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\pie_menu_editor\keymap_helper.py", line 441, in to_system_mouse_key default = is_default_select_key() File "C:\Users\Tomasz\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\pie_menu_editor\keymap_helper.py", line 424, in is_default_select_key ret = kc.preferences.select_mouse == 'RIGHT'
AttributeError: 'NoneType' object has no attribute 'select_mouse'
location: <unknown location>:-1
location: <unknown location>:-1//
Even if this is a add-on developer problem he could not have idea that this kind of error can occur.
I advice to leave that EXTRA panel no matter what keymap preset is selected and make it work over the keymap configuration.
I can cause some kind on incoherency when user will edit the keymap that is related to operators form that EXTRA panel.
But for end user is more comfortable to have it all the time.
To fix that coherency you could just disable (inactive) operator buttons that are related to the specific shortcut key but it is not consistent with keymap setup.
For example if user will make custom keymap preset and set P key for Play animation and T for Tools and S for Search then the SPACE button will be "free" and not consistent with any operators form Spacebar Action.
Then all that operators should stay inactive/unselected until user select any of these buttons to override specific keymap config function (Play, Search or Tools) and attach spacebar key to one of these.
Default Keymap preset:
Custom Keymap preset: