[Reportbug-maint] Bug#521162: Bug#521162: Several glitches with the reportbug GTK2 UI

Josselin Mouette joss at debian.org
Wed Mar 25 11:59:55 UTC 2009


Le mercredi 25 mars 2009 à 12:42 +0100, Luca Bruno a écrit :
> On Wed, Mar 25, 2009 at 12:15:52PM +0100, Josselin Mouette wrote:
> > 1. No .desktop file
> > It would be nice to ship a reportbug.desktop file for the freedesktop-compatible menus.
> > I am attaching one; it needs to be processed with intltool for translation, and the icon
> > should probably be changed (I’ve put the bug-buddy one since it’s the only one I could
> > think of).
> 
> I've thought about that, but think you have to install in order to use it
> (and maybe python-vte if some patches go in) before you're
> able to use it. What if the user goes to open it and it doesn't start?

We could use the TryExec clause, but it needs a file to match with
(maybe a directory, so that it is executable).

> > 7. Using the SMTP
> > There is no need to configure the SMTP when in GUI mode, while it has already been
> > configured in the user’s mailer. Even worse, if you are using a complicated setup (like
> > SMTP with authentication over SSL, or Evolution on MS Exchange), it is possible that it 
> > won’t be supported at all.
> > Let me suggest an alternative approach that re-uses the email client configuration
> > instead. You just need to call something like this:
> > 
> >   import urllib, subprocess
> >   subject = urllib.quote (subject)
> >   body = urllib.quote (prefilled_report)
> >   version = urllib.quote (reportbug_version)
> >   uri = 'mailto:%s?subject=%s&body=%s&X-Reportbug-Version=%s'%(email_address,subject,body,version)
> >   subprocess.Popen (["xdg-email", uri])
> > 
> 
> Definitely, but just skip the SMTP configuration.

Yes, the goal is definitely to not bother the user with it.

> For what concerns mutt, there's a separate option for that (--mutt) and
> integrates well in vte instead of spawning a process out of the GUI using
> xdg-email. Of course the user can choose between the two.

Yes, for mutt there may be better ways, it was just an example. Anyway,
it should at least work with evolution, balsa, xfmail, kmail, icedove,
and all conforming strictly to RFC 2368.

-- 
 .''`.      Debian 5.0 "Lenny" has been released!
: :' :
`. `'   Last night, Darth Vader came down from planet Vulcan and told
  `-    me that if you don't install Lenny, he'd melt your brain.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20090325/fb6b4ba0/attachment.pgp 


More information about the Reportbug-maint mailing list