From kdevelop-bugs Thu Aug 28 12:52:42 2008 From: Manuel Nickschas Date: Thu, 28 Aug 2008 12:52:42 +0000 To: kdevelop-bugs Subject: [Bug 169979] New: Custom shortcuts not loaded on startup Message-Id: X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=121992806232399 http://bugs.kde.org/show_bug.cgi?id=169979 Summary: Custom shortcuts not loaded on startup Product: kdevplatform Version: unspecified Platform: Compiled Sources OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general AssignedTo: kdevelop-bugs@kdevelop.org ReportedBy: sputnick@gmx.net Version: (using Devel) OS: Linux Installed from: Compiled sources As per request, chatlog attached. hmm... kdevelop still doesn't store my custom shortcuts between sessions... I think that at least affects per-project shortcuts such as F8 for Build (you can't edit those without a project opened, so maybe they're not loaded correctly?) Sput: works fine for me here - I think. try setting a different shortcut for build, or just unsetting it, and see if it remains between kdevelop restarts Sput: yeap, I've changed F8 to be Install instead of Build and thats stored properly. -*- apaku|work is using that setup since months without problems. apaku|work: gah, why do I always get those unreproducible errors? :) I have that on all my machines :/ Sput: You might want to make sure you have no xmlgui files lying around in your $HOME/.kde4/share/apps/ Sput: usually they're called fooui.rc where foo is the plugin/application name directly in apps/? I have one in kdevelop/kdevelopui.rc Sput: no in subdirs of the plugins ./kdevcppdebugger/kdevcppdebuggerui.rc ./katepart/katepartui.rc ./kdevelop/kdevelopui.rc that's the three I find Sput: hmm, interesting. I can actually reproduce it here on my workmachine *phew* :) Sput: if I automatically load a project during startup and have changed another shortcut to F8 I then have 2 times F8 in the shortcuts editor ah yes, I had that too thought it got replaced by just ignoring all my changes, but maybe I haven't tested that particular case in a while :) Sput: but I'm pretty sure it works properly at home. apaku|work: maybe you have pretty old settings, and the problem only occurs with newer setups? Sput: no, this is totally unrelated to normal configuration. Sput: shortcuts are stored via xmlgui-stuff and thats storing to those .rc files Sput: and those are versioned too. So newer versions installed in your system revert all your local changes. my .rc file certainly does not contain any mention of F8 Sput: yes, because the default is set via code. But if you change anything it gets stored there - or at least it should. Sput: my file at home has 2 lines, one associating F8 with "install" the other associating "build" with "". Sput: my file here only has the association between "F8" and "install". nope, no mention of it in my file Sput: so you changed the shortcut for "install" and that doesn't turn up in $HOME/.kde4/share/apps/kdevprojectmanagerview/*rc even though it got touched oooh, another file :) there it shows up Sput: as I said this is on per-plugin-basis. Sput: can you please file a bugreport and paste the log from here? So we don't forget this. Sput: against kdevplatform for now please. will do for the record: if I re-open kdevelop (without loading a project), I can't access the Build-related shortcuts in the shortcut dialog after opening a project, they're there, but my settings are ignored... they show up correctly in my *.rc file though Sput: yeah, the shortcuts are bound to the project view and hence can only be configured when that view is visible. Sput: That means newly set shortcuts show up, but no line that resets "build" to ""? no, I have both lines in the file Sput: but then it should work as expected, i.e. after restarting kdevelop F8 should be bound to build-all, not Build. doesn't. Sput: unfortunately I tried a rebuild of the project with some debug and now am facing binary issues, i.e. can't start kdevelop. could it be that those shortcuts are loaded at application startup, but since the plugin is only loaded later, it won't get the new shortcuts? Sput: hmm, that might be the problem yes. But I'd have to check the code - currently thats not going to happen :) Please include all this in the bugreport. -- Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs