[Okular-devel] Bug with loading shell.rc

Nikhil Marathe nsm.nikhil at gmail.com
Sun Oct 10 11:51:36 CEST 2010


Hi,

This is a possible bug in the Okular shell. I have fixed Bug 218219
and stumbled upon this while doing that.

I believe the shell.rc file is not being loaded despite the call to
setXMLFile(). Here is how I reproduced the issue.

I added a new Action to shell/shell.rc and ran 'make install' so that
the rc file was updated. But the action was not
present in the menu when Okular was started. Then I removed the call
to setXMLFile(), which means that KDE will
by default try for okularui.rc. I renamed shell.rc -> okularui.rc,
modified the shell/CMakeLists.txt file and ran 'make install'
so that okularui.rc was installed. Then the new action showed up in the list.

If somebody could confirm this, I'm willing to commit the change, and
also reviewboard the fix for 218219.

Regards,
Nikhil


More information about the Okular-devel mailing list