Bug 59573 - Provide better means of reporting non-KDE/Bugzilla bugs
Summary: Provide better means of reporting non-KDE/Bugzilla bugs
Status: RESOLVED DUPLICATE of bug 277142
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kbugreport (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-09 21:48 UTC by Silvan
Modified: 2011-08-05 22:35 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silvan 2003-06-09 21:48:54 UTC
Version:            (using KDE KDE 3.1.2)
Installed from:    Debian testing/unstable Packages
OS:          Linux

We pass info in KApplication data that gets used to populate the About dialog, but currently we can either get the standard bugs.kde.org URL or pass in an email address.

The email address bit is nice, but it still has a KDE URL at the bottom.  "Please check that the bug you are reporting...."

The project I'm hacking on (as a minor bit player) uses SourceForge, and while having an interface to get bugs reported on our devel list is better than nothing, we'd prefer to have people submit them via the SF tracker, and would like to be able to specify a non-KDE URL in the About dialog.

I was thinking you could accept either an email address or a URL for the current email address parameter, and then look at the thing to figure out which it is, and act accordingly.

I've been meaning to send you a patch forever, but I'm not sure what you would actually want to do here, and I'm still very, very green.  Perhaps the way I've thought of to handle this is stupid.  In fact, I'd almost bet on it.  :)

Anyway, at the very least you should dump the KDE URL at the bottom of the email version of the dialog.

Thanks...
Comment 1 Stephan Kulow 2003-06-10 08:07:03 UTC
Subject: Re:  New: Provide better means of reporting non-KDE/Bugzilla bugs

On Monday 09 June 2003 21:48, you wrote:

> We pass info in KApplication data that gets used to populate the About dialog, but currently we can either get the standard bugs.kde.org URL or pass in an email address.
> 
> The email address bit is nice, but it still has a KDE URL at the bottom.  "Please check that the bug you are reporting...."
> 
> The project I'm hacking on (as a minor bit player) uses SourceForge, and while having an interface to get bugs reported on our devel list is better than nothing, we'd prefer to have people submit them via the SF tracker, and would like to be able to specify a non-KDE URL in the About dialog.
> 
> I was thinking you could accept either an email address or a URL for the current email address parameter, and then look at the thing to figure out which it is, and act accordingly.
> 
> I've been meaning to send you a patch forever, but I'm not sure what you would actually want to do here, and I'm still very, very green.  Perhaps the way I've thought of to handle this is stupid.  In fact, I'd almost bet on it.  :)
> 
> Anyway, at the very least you should dump the KDE URL at the bottom of the email version of the dialog.
Is an URL enough for you to handle the bug reports? I can think of some magic words in the URL
that are replaced by the application's version or name. For this I even accept a patch :)

Greetings, Stephan

Comment 2 Silvan 2003-06-11 23:57:18 UTC
Subject: Re:  Provide better means of reporting non-KDE/Bugzilla bugs

On Tuesday 10 June 2003 02:07 am, you wrote:

> > tracker, and would like to be able to specify a non-KDE URL in the About

> Is an URL enough for you to handle the bug reports? I can think of some
> magic words in the URL that are replaced by the application's version or
> name. For this I even accept a patch :)

A URL would be sufficient indeed.  Just replace bugs.kde.org with the 
specified alternative.

As far as magic words, I'm not sure I understand where you're going with that.  

	KAboutData (const char *appName, const char *programName, const char
	*version, const char *shortDescription=0, int licenseType=License_Unknown,
	const char *copyrightStatement=0, const char *text=0, const char
	*homePageAddress=0, const char *bugsEmailAddress="submit @bugs.kde.org")

I was thinking the easy thing to do might be to look at what bugsEmailAddress 
contains, and if it looks like a URL, use a version of the Report Bug dialog 
that woud present the specified URL instead of the KDE-specific one.

Now that I'm looking again, I see that the e-mail version of the dialog has 
other KDE-specific wording that I didn't mention before.

Maybe four options here.  If bugsEmailAddress is blank, use the default KDE 
dialog.  If it contains a KDE-looking e-mail address, use the KDE e-mail 
dialog.  If it contains an email address that isn't KDE-looking, use a 
non-KDE version of the e-mail dialog, and if it contains a URL, use the 
non-KDE version of the URL dialog.

Does that make any sense?  :)

Calling it bugsEmailAddress doesn't make much sense if you pass in a URL 
though, so maybe a new parameter is in order.  A new parameter would seem to 
present backward-compatibility problems though, and would probably just 
generally not make me any friends.

I'll send you a patch, but I want to make sure we agree on a plan first.

Comment 3 Aaron J. Seigo 2003-08-15 20:59:39 UTC
there's been at least a partial fix for this committed by waldo: 
 
http://lists.kde.org/?l=kde-cvs&m=105873713609112&w=2 
 
still doesn't support a URL, so the bug should remain open IMHO, but though i'd 
update it with progress =) 
Comment 4 Christoph Feck 2011-08-05 22:35:41 UTC

*** This bug has been marked as a duplicate of bug 277142 ***