← Back to team overview

desktop-packages team mailing list archive

[Bug 779156] Re: xdg-email does not detect LXDE in Lubuntu mailto: URIs in chromium handled poorly

 

A postmortem:

+-        command="`grep -E "^Exec(\[[^]=]*])?=" "$file" | cut -d= -f 2- | first_word`"
++        command="`grep -E "^Exec(\[[^]=]*])?=" "$file" | cut -d= -f 2- | sed -e 's/ .*$//'`"

This change was incorrect.  "first_word" both "read"s one line and
discards everything after a space. "sed" operates on many lines. Thus,
more than on Exec in a desktop file are both legal and incorrectly
joined together into command as "first\nsecond\third".

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xdg-utils in Ubuntu.
https://bugs.launchpad.net/bugs/779156

Title:
  xdg-email does not detect LXDE in Lubuntu mailto: URIs in chromium
  handled poorly

Status in xdg-utils package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: xdg-utils

  xdg-email is supposed to detect various desktop environments including LXDE and uses this to decide how best to send an email.
  In Lubuntu 11.04 (and in 10.10) this is not working as expected.

  In consequence, mailto: URIs in chromium are handled incorrectly and
  instead of an email client being launched, an additional copy of
  chromium is launched, which does not help the user send an email.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: xdg-utils 1.1.0~rc1-2ubuntu3
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic i686
  Architecture: i386
  Date: Sat May  7 11:30:25 2011
  Dependencies:
   
  InstallationMedia: Lubuntu 11.04 "Natty Narwhal" - i386 (20101203)
  PackageArchitecture: all
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: xdg-utils
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-utils/+bug/779156/+subscriptions