Here's a patch for the "Help->Report A bug" menu item.  The version number, platform & 
compile flags are automatically transferred to BugZilla, eliminating typing and user 
error.  Also eliminated is the confusion over which build is in use (gtk, gnome, bidi, 
etc.).

This requires one critical update to BugZilla for usability!  The link:
        "Bug writing guidelines" 
Should be more prominent, and point to the AbiSource specific page.

                        -Bryce

PS: It would be nice if enter_bug.cgi passed the version number through the
product selection page.  Maybe I'll add that to BugZilla.



Index: src/wp/ap/xp/ap_EditMethods.cpp
===================================================================
RCS file: /cvsroot/abi/src/wp/ap/xp/ap_EditMethods.cpp,v
retrieving revision 1.422
diff -u -r1.422 ap_EditMethods.cpp
--- src/wp/ap/xp/ap_EditMethods.cpp     2001/12/25 08:11:23     1.422
+++ src/wp/ap/xp/ap_EditMethods.cpp     2001/12/27 14:30:23
@@ -2376,7 +2376,15 @@
 
 Defun1(helpReportBug)
 {
-  return _helpOpenURL(pAV_View, "http://www.abisource.com/support/bugs/";);
+    UT_String bugURL = "http://bugzilla.abisource.com/enter_bug.cgi?product=AbiWord";;
+
+    bugURL += "&version=";
+    bugURL += XAP_App::s_szBuild_Version;
+    bugURL += "&comment=(";
+    bugURL += XAP_App::s_szBuild_Options;
+    bugURL += ")%0d%0a%0d%0a";
+
+    return _helpOpenURL(pAV_View, bugURL.c_str());
 }
 
 Defun1(helpSearch)

Reply via email to