By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 1860

Summary: [Help Handbooks] Add TDevelop Programming Handbook to the TDevelop Help menu
Product: TDE Reporter: Darrell <darrella>
Component: non-core programsAssignee: Michele Calgaro <michele.calgaro>
Status: RESOLVED FIXED    
Severity: enhancement CC: bugwatch, darrella, michele.calgaro
Priority: P5    
Version: R14.0.0 [Trinity]   
Hardware: Other   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Bug Depends on:    
Bug Blocks: 2014    
Attachments: Patch to add handbook to Help menu
Patch to add handbook to Help menu: updated because of commit d90afc5a
Patch to make Programming Handbook visible in help handbook table of contents

Description Darrell 2014-01-23 13:13:37 CST
There is a nice help handbook packaged with TDevelop named the TDevelop Progamming Handbook. I find no obvious way of accessing that handbook without knowledge the handbook exists.

Like the kate plugins handbook, this programming handbook should be part of the TDevelop Help menu. The following is a snippet from tdebase/kate/app/katemainwindow.cpp:

  if (KatePluginManager::self()->pluginList().count() > 0)
  {
    a=new TDEAction(i18n("&Plugins Handbook"), 0, TQT_TQOBJECT(this), TQT_SLOT(pluginHelp()), actionCollection(), "help_plugins_contents");
    a->setWhatsThis(i18n("This shows help files for various available plugins."));
  }

Probably all that is needed is detect the existence of the handbook, which is installed at /opt/trinity/share/doc/tde/HTML/en/kde_app_devel, soon to be patched to be renamed to tde_app_devel.
Comment 1 Darrell 2014-01-23 15:13:37 CST
Created attachment 1889 [details]
Patch to add handbook to Help menu

Works fine and is functional but I envisioned the menu item being second in the menu like the kate plugins handbook.
Comment 2 Darrell 2014-01-29 17:16:35 CST
Created attachment 1906 [details]
Patch to add handbook to Help menu: updated because of commit d90afc5a
Comment 3 Michele Calgaro 2014-02-10 06:34:37 CST
Strange, I tested the patch but the "TDevelop Programming Handbook" is not showing up in the Help menu.... The patch looks ok and I also checked that the files are installed correctly.... I am a little puzzled.
Haven't spent much time on it though. Perhaps I will come back to this later on.

BTW, on Debian/Ubuntu this patch requires an additional patch to fix the kde_app_devel to tde_app_devel rename.
Comment 4 Darrell 2014-02-10 07:12:27 CST
>I am a little puzzled.
Are you sure? In comment 1 I shared how the handbook is not the second item in the menu. On my system the handbook appears in the second menu grouping, between Tips of the Day and Look in Documentation Index.
Comment 5 Michele Calgaro 2014-02-10 07:44:07 CST
(In reply to comment #4)
> Are you sure
Yes, I am :) Very sure.
Comment 6 Darrell 2014-02-15 20:53:41 CST
Created attachment 1932 [details]
Patch to make Programming Handbook visible in help handbook table of contents

This patch adds the Programming Handbook to the help handbook table of contents in the Development->TDevelop category. The patch does not add the Programming Handbook to the launcher menu.
Comment 7 Darrell 2014-03-02 14:16:08 CST
The patches originally attached here (attachment 1906 [details], 1932) were absorbed in the meta patch in commit 722ce1ef.

I am leaving this report open to address the placement of the programmer's handbook in the Help menu.
Comment 8 Michele Calgaro 2014-03-06 21:26:03 CST
The patch now works on my system too. I wonder what I was doing wrong or what I was forgetting....
Comment 9 Michele Calgaro 2014-05-29 09:16:45 CDT
Fixed in commit 9224e8b (main) and 650aae6 (packaging Debian/Ubuntu).
The TDevelop programming handbook is now placed just after the TDevelop handbook.
Comment 10 Darrell 2014-06-02 14:04:13 CDT
Looks nice. Thank you.