[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 169979] New: Custom shortcuts not loaded on startup
From:       Manuel Nickschas <sputnick () gmx ! net>
Date:       2008-08-28 12:52:42
Message-ID: bug-169979-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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.

<Sput> 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
<Sput> (you can't edit those without a project opened, so maybe they're not
loaded correctly?)
<apaku|work> Sput: works fine for me here - I think.
<Sput> try setting a different shortcut for build, or just unsetting it, and
see if it remains between kdevelop restarts
<apaku|work> 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.
<Sput> apaku|work: gah, why do I always get those unreproducible errors? :)
<Sput> I have that on all my machines
<Sput> :/
<apaku|work> Sput: You might want to make sure you have no xmlgui files lying
around in your $HOME/.kde4/share/apps/
<apaku|work> Sput: usually they're called fooui.rc where foo is the
plugin/application name
<Sput> directly in apps/?
<Sput> I have one in kdevelop/kdevelopui.rc
<apaku|work> Sput: no in subdirs of the plugins
<Sput> ./kdevcppdebugger/kdevcppdebuggerui.rc
<Sput> ./katepart/katepartui.rc
<Sput> ./kdevelop/kdevelopui.rc
<Sput> that's the three I find
<apaku|work> Sput: hmm, interesting. I can actually reproduce it here on my
workmachine
<Sput> *phew* :)
<apaku|work> 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
<Sput> ah yes, I had that too
<Sput> thought it got replaced by just ignoring all my changes, but maybe I
haven't tested that particular case in a while :)
<apaku|work> Sput: but I'm pretty sure it works properly at home.
<Sput> apaku|work: maybe you have pretty old settings, and the problem only
occurs with newer setups?
<apaku|work> Sput: no, this is totally unrelated to normal configuration.
<apaku|work> Sput: shortcuts are stored via xmlgui-stuff and thats storing to
those .rc files
<apaku|work> Sput: and those are versioned too. So newer versions installed in
your system revert all your local changes.
<Sput> my .rc file certainly does not contain any mention of F8
<apaku|work> Sput: yes, because the default is set via code. But if you change
anything it gets stored there - or at least it should.
<apaku|work> Sput: my file at home has 2 lines, one associating F8 with
"install" the other associating "build" with "".
<apaku|work> Sput: my file here only has the association between "F8" and
"install".
<Sput> nope, no mention of it in my file
<apaku|work> Sput: so you changed the shortcut for "install" and that doesn't
turn up in $HOME/.kde4/share/apps/kdevprojectmanagerview/*rc
<Sput> even though it got touched
<Sput> oooh, another file :)
<Sput> there it shows up
<apaku|work> Sput: as I said this is on per-plugin-basis.
<apaku|work> Sput: can you please file a bugreport and paste the log from here?
So we don't forget this.
<apaku|work> Sput: against kdevplatform for now please.
<Sput> will do
<Sput> for the record: if I re-open kdevelop (without loading a project), I
can't access the Build-related shortcuts in the shortcut dialog
<Sput> after opening a project, they're there, but my settings are ignored...
they show up correctly in my *.rc file though
<apaku|work> Sput: yeah, the shortcuts are bound to the project view and hence
can only be configured when that view is visible.
<apaku|work> Sput: That means newly set shortcuts show up, but no line that
resets "build" to ""?
<Sput> no, I have both lines in the file
<Sput>   <Action shortcut="" name="project_build" />
<Sput>   <Action shortcut="F8" name="project_buildall" />
<apaku|work> Sput: but then it should work as expected, i.e. after restarting
kdevelop F8 should be bound to build-all, not Build.
<Sput> doesn't.
<apaku|work> Sput: unfortunately I tried a rebuild of the project with some
debug and now am facing binary issues, i.e. can't start kdevelop.
<Sput> 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?
<apaku|work> 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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic