Summary: | Provide better means of reporting non-KDE/Bugzilla bugs | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kdelibs | Reporter: | Silvan <dmmcintyr> |
Component: | kbugreport | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Silvan
2003-06-09 21:48:54 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
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. 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 =) *** This bug has been marked as a duplicate of bug 277142 *** |