Preferences: Keymap Preferences not visible afert importing custom key map #65121
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
15 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#65121
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GTX 760/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.65
Blender Version
Broken: version: 2.80 (sub 72), branch: blender2.7, commit date: 2019-05-24 22:21, hash:
caf52e3779
Worked: (optional)
Short description of error
Preferences: Keymap Preferences not visible afert importing custom key map
Exact steps for others to reproduce the error
Found this after I saved and imported my key map and then wanted to adjust mouse select button.
This is what I get.
This is what I get when I select the blender key map.
Added subscriber: @MichaelParucha
#91860 was marked as duplicate of this issue
#76028 was marked as duplicate of this issue
#75624 was marked as duplicate of this issue
#74132 was marked as duplicate of this issue
#73872 was marked as duplicate of this issue
Added subscriber: @brecht
Changed status from 'Open' to: 'Archived'
This is by design, these preferences are only available for the default keymap. They can't be automatically applied to any keymap.
@brecht This means that when set those are exported too? Or how can they be changed then in the saved custom settings if needed?
Yes, the preferences are baked into the exported keymap.
Hmm, if I change the default "Select With" to right and export the key map its empty. So where are thos settings?
test-export.py
Added subscribers: @WilliamReynish, @ideasman42
@brecht One of the use cases for exporting the key map would be to install it on a second pc. So to do that I need to set the preferences in the Blender key map and save them and then import the custom key map, correct?
@WilliamReynish, @ideasman42
Changed status from 'Archived' to: 'Open'
That does seem like a bug. If you export with all keymaps the changes should be included.
In general for sharing preferences between computers it's more reliable to share a userpref.blend, the way keymap import/export works now is really geared towards fully custom keymaps, not so much a few smaller tweaks.
Added subscriber: @zgorg
thks for the answer. very high priority for me. because of add-ons for instance. I did a ctrl tab under my own settings and was not working under 2.8 keymap. then I remember this problem of default interface on 2.8 not appearing on other keymaps. imagine a non confirmed user dealing with this. a nightmare. more when adding new keys in 2.8 like new outliner shortcuts they are not added to other shortcut keypmaps. imagine the deal to check every new changes by hand. example in text editor the new add comment toggle. this is an absolute priority in fact when dealing with millions of users and 2.8 shortcuts are far to be logical even for new users. but this is my own opinion
for information if keymaps are changed in Blender saving preferences won't save the previous state for your keys. like I'm explaining it there and the answer sound well there is no way to record your own keys.
Changed status from 'Confirmed' to: 'Archived'
Closing as this is working as intended.
Supporting preferences on saved keymaps is a non-trivial task.
Added subscribers: @RUben, @jenkm
Added subscriber: @borschberry
For example, I have a very complicated set of hotkeys that I transfer from version to version. Now, do I need to transfer it manually?
It seems to me that new hotkeys should be assigned default values, they should not disappear.
It's just a shame guys. Close the bug report because the bug is difficult to fix?
Added subscriber: @DanielGrauer
Added subscriber: @RomboutVersluijs
I wonder why this preferences isnt added, i read this is by design. But if one uses a keymap and uses that same keymap on a different system. He can never change the preferences part which shows at the top.
As a test i tried adding back that preferences part in a custom keymap and it works fine then. Atleasy i thought, i noticed that i missed the load function. I come back to that in last part here after editing it a bit more
The things like orbit and right- or left-click select are not shown anymore and cant not be saved, as far as i know the keymap. I still believe this is a bug, because a keymap doesnt behave the same. Now its set is set and you can never change it again, that doesnt feel right. The issue now is once you have a keymap setup, you can never change it again. Unless you run a find/replace in that py file ofcourse. Im not sure much users will come to that idea though. Wouldnt it be better to separate that main part into its own small operator. So it will always be visible and thus custom hotkeys can always be adjusted concerning the main navigation items.
EDIT
I did a test by adjust IO.py took me a while to get it working and i did need to hardcode blender app path. But now each preset i save can still be adjusted after wards. I basically keep that preferences part and loads the blender_default.py
So far my tests didnt show issues. The only thing though on initial load, it shows LEFT click for selection since that is the default in the blender.py file. I could make find the first mouse click in the shortcuts and use that as default.
io.py
closed because its a non trivial task? please explain how that solves the issue
It doesn't solve the issue, but it means it's not considered a bug and should not be in our bug tracker, it's a feature request.
@RomboutVersluijs, you might be able to make those buttons appear, but I doubt they actually work?
I tried it and it does work. Though i believe i need to run them again to make them actually change all buttons. Ive tried adding the add set up so they are read when keymap is read back in and don't reset to defaults. I find my method works better then current behavior because i cant change anything. Now i can change it afterward :)
The only thing which I'm still working on is making a custom blender_default.py because currently my io.py gets all defaults as well. It should only take the changed ones, I'm not 100% sure of that though. But the thing is if you change the keymap, then all keys need to be changed i believe. So perhaps my setup is the proper method after all. The keymap get twice as big now because it contains 16k of line in shortcuts ... oopss But i am able to keep switching now and don't need to start all over again. This is how it currently works, once you've set those preferences at the top, there is no way (like a normal way) to change it again.
PS can i as how i can reach the default preset folder within the app on OSX? Now I've hardcoded the path but i want to share it, it will not work. See #157 & #158
Ive added my change io.py file with how i add bak those key inputs in a keymap file
io.py
Added subscribers: @roberto.loriga, @TheRedWaxPolice
Removed subscriber: @jenkm
Added subscriber: @JoelArt
How do I use the io.py script?
BTW, I've suffered a lot due to this IDIOTIC design, how can the prefs not be available for all keymaps. If you've set left click as default then you are stuck with it for ever on your new keymap. How do I even make backups of my default keymap without losing the preferences when loading them back in again.
@JoelArt
Hi Joel, i havent tested it yet in newer versions though. I replace the file located in this folder
Fill XX with personal and bl version
Be sure to either move that old file or rename it just in case it does break something also test it properly. I ran it a couple times and didnt see weird behavior, though i didnt check all shortcuts ofcourse. I randomly tried as many as i could and they seemed to work. I also check one of the old keymaps stored in the user-folder.
Fill XX with personal and bl version
You could also try opening one of the personal keymaps in a code-editor which allows you to compare them. Then see if they are different, you would do this by first saving a keymap without this new io.py, so save say "keymap-A" then replace (keep the old one!!!!) the io.py and name this "keymap-B" then compared them. The new version should have added code which i show below with the lien numbers.
I just check the io.py in 2.91 and they have added some lines to io.py, it now sorts the keymaps when storing, allows for easier comparing.
Another method is by adding the top part in case you want to edit it, but you would need to do that every time, then reload Blender. I think this is to tedious to do, the thing is each time you press something in the at top part, it loads and adjust all shortcuts on the fly. I cant remember how i did that part. I just looked at their base preset and it would take quite some time for me to figure it out again.
What you would need to is is copy/paste # 157, the part which says ''fw("import os\n.....``` and then lots code between the double quotation marks. You also need to add #206 to #231 and replace that with #212.
I added the adjusted version here below, i wasnt sure you would be able to do it yourself.
Again, make a backup or rename that io.py before you do this, otherwise you could break the ability to properly save keymaps in the future
@RomboutVersluijs Versluijs (rombout) Thank you!
Added subscriber: @Vyach
More like upgrading current behavior to full version.
But you are right, it is not for bugtracker. And it is weird, that there is no such request on RCS
Added subscribers: @costa, @PratikPB2123, @Xorrito
This exact problem just happened to me as I imported my shortcuts from Blender 3.3.1 to 3.5
The same thing happened in 3.3.1 since I exported.
I don't understand. Where can I report this as a bug and how can I fix this behaviour?
Any news or updates on this?
Can we reopen this issue. Even if this is considered a feature request it behaves like a bug from a user perspective.
For user feedback and feature requests, please use other channels: https://developer.blender.org/docs/handbook/communication/user_feedback/