-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project Organizer: Help-Button not working #507
Comments
@frlan This isn't related to projectorganizer only but happens for every plugin. The problem is that right now the installation path of the documentation is defined statically at the compilation time. This works for Linux where the documentation is always at the same location but doesn't work for Windows or OS X where the documentation is relative to the installation path (or the location of the bundle). This would have to be fixed in Geany which should specify the location of its documentation relatively to the binary. |
On Windows, it is not completely broken for every plugin.
A working example is: @techee we have ifdef's for MINGW in the Makefiles of some plugins which take care to make the documentation relative. |
I went through other plugins and most of them use the online html version of the documentation which is probably the easiest solution. I created a pull request for geanyctags and projectorganizer here: #521. |
So I just ran into this problem at another place where some data files aren't read because absolute paths are used in the code. There are at least 5 plugins affected by this - I didn't notice this myself because I have these files installed at the given paths but people who only get the bundle run into this problem. So now the question is what to do - there are unfortunately various problems:
Taking the above into account I tried the following for the GeniusPaste plugin:
For the bundle, GTK_PATH is defined and basically points to what Is it OK to have a function like that copied to every affected plugin (basically the ones referencing either PLUGINDATADIR in the code or g_win32_get_package_installation_directory_of_module())? Or does anyone have a better idea how to do this? cc @b4n |
I changed project organizer to point to the online documentation quite a while ago so this issue isn't present any more. |
At least under MacOS 10.11.6 running 1.29 the Help-button inside Tools->Plugin Manager is getting activated, but seem not to work.
The text was updated successfully, but these errors were encountered: