No way to remove global shortcuts
tsujan opened this issue · 8 comments
There's no way to remove the shortcuts that aren't defined by the user -- let's call them "global" -- at best, they can be disabled.
The code should allow the removal of any kind of shortcut, IMO.
That's the same thing as for all our configurations - we have right now no way to remove any setting from a configuration.
Some of them can be removed but will return after daemon restart. It's a bug.
we have right now no way to remove any setting from a configuration.
This is very different, IMO. It's counter-intuitive, at best. The user sees a shortcut and removes it but he sees it again after restart.
The code at least should disable the remove button in the case of global shortcuts if it can't remove them. However, that's a bad "solution".
I think this is very unprofessional because it's confusing to users: they see all shortcuts on the same level but when they remove some of them, they'll be restored with the next session. Technical explanations are irrelevant.
There's a simple solution: once the user config file is created and contains at least one shortcut, the daemon shouldn't read global shortcuts on future restarts. We can even add a "Restore Defaults" button.
Waiting for #136 to be decided.
With a restore defaults button i guess it's fine.
The patch is very simple without the restore button, while the button might need a structural change. So allow me to fix this issue first. Later, I'll think about a restore button.
The restore button isn't so needed either -- although I'll try to add it -- because if the user removes his own shortcuts, he couldn't restore them. Moreover, if the user has doubts, he could always disable a shortcut, instead of removing it.
Ok, seems ok to me - no objections after all these days