Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#31441 - [lazarus-gtk2] help function (F1) doesn't work
Attached to Project:
Community Packages
Opened by Rumcajs Lasowy (Rumcajs) - Thursday, 06 September 2012, 17:36 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 14 March 2013, 13:49 GMT
Opened by Rumcajs Lasowy (Rumcajs) - Thursday, 06 September 2012, 17:36 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 14 March 2013, 13:49 GMT
|
DetailsDescription:
After Pressing F1 in the Source Editor Window when the cursor is set on a keyword like (TButton, Tobject, ...) i get a error dialog-box instead of help information. --------------------------------------------------------- Lazarus IDE v1.0 - project1 : This operation is illegal when the server is inactive. Press OK to ignore and risk data corruption. Press Cancel to kill the program. --------------------------------------------------------- Additional info: * lazarus-gtk2 1.0-1 Steps to reproduce: First set the correct path for the help files in Tools->Options->Help->HelpOptions->CHM Help Viewer->HelpFilesPath it should be : /usr/share/doc/lazarus/chm/ Now in the Source Window set the cursor on a keyword like (TButton, Tobject, ...) and press F1 Solution: i have installed the qt4pas package because /usr/lib/lazarus/components/chmhelp/lhelp/lhelp need the libQt4Pas.so.5 lib and qt4pas provides it. Dunno why lhelp from lazarus-gtk2 depends on qt staff, in my case its not a problem because qt was installed any way, but if someone don't have qt qt4pas will pull in a lot of packages so adding qt4pas as a dependency is not a option. We need a gtk2 only version of lhelp. if possible set the HelpFilesPath to /usr/share/doc/lazarus/chm/ in the lazarus-gtk2 and lazarus-qt package, then the Help function will work out of the box in lazarus-qt and in lazarus-gtk2 to if the bug get fixed. Bye |
This task depends upon
/usr/lib/lazarus/components/chmhelp/lhelp/lhelp depends on /usr/lib/libQt4Pas.so.5
": This operation is illegal when the server is inactive.
Press OK to ignore and risk data corruption.
Press Cancel to kill the program."
If I press "Cancel", all windows belonging to lazarus disappears and lazarus closes.
Selecting "Online Help" from the menu doesn't work either, but a symbolic link at /usr/lib/lazarus/docs/index.html pointing to /usr/share/doc/lazarus/index.html, might perhaps solve this.
lazarus-gtk2 1.0.4-2
start lazarus
add empty procedure
procedure qwe;
begin
end;
press F1 when cursor on word "procedure" - help opens
I get this on stdout/stderr:
TChmHelpViewer.ShowNode Filename="lcl.chm" SearchPath="/usr/lib/lazarus/docs/html;/usr/lib/lazarus/docs/html/lcl;/usr/lib/lazarus/docs/chm" Found="/usr/lib/lazarus/docs/html/lcl.chm"
/usr/lib/lazarus//components/chmhelp/lhelp/lhelp: error while loading shared libraries: libQt4Pas.so.5: cannot open shared object file: No such file or directory
TApplication.HandleException : This operation is illegal when the server is inactive.
And then a window appears saying this:
: This operation is illegal when the server is inactive.
Press OK to ignore and risk data corruption.
Press Cancel to kill the program.
I think it is heavy dep for help.