vfx features for Krita

Boudewijn Rempt boud at valdyas.org
Fri Mar 29 08:26:16 UTC 2013


On Friday 29 March 2013 Mar 03:24:04 Sven Langkamp wrote:
> I think in there short term we could go with a file that stores the
> shortcuts. I can't reproduce the problems with the disappearing shortcuts,
> so I don't know if that is a Krita or xmlgui problem.
> For a clean fix we likely need to do our own shortcut system as we need to
> integrate the input manager shortcuts at some point.

We actually sort of do that, already. By default, KDE stores changed shortcuts in the .kde/share/apps/kritarc file. This file is superceded whenever we bump the version of the kritarc file in krita, for instance when adding a new action. Then all shortcuts will be forgotten. So we now save the shortcuts to .kde/share/config/krita.rc, and load those.

However, we do that on view creation and destruction, and that might be a problem. Ideally, it should be done on creating the first view and destroying the last view, in the current system, or on app startup/shutdown in the new system I'm working on in the calligra-kopluginloader-rempt branch.

-- 
Boudewijn Rempt
http://www.valdyas.org, http://www.krita.org, http://www.boudewijnrempt.nl



More information about the kimageshop mailing list