> - it is defined on windows (with mingw at least) and works, but opens a 
> terminal to execute a command. (not so nice). And I'm not sure _popen would 
> fix this, would it ? 
Most likely it won't. But we can make something like this:
#ifdef _WIN32
    ShowWindow(GetConsoleWindow(),SW_HIDE);
#endif
before running popen(). (Ugly, but should do the trick.)
> - on unix, it does not allow to easily redirect stderr, so you get an error 
> message (for every application) when kde4-config is not installed. So that I 
> had to add a 2> /dev/null (committed), to hide the (armless) error message, 
> in current master, because users were already complaining. 
This is more serious. Not sure how to fix this well enough...
> popen being more likely to work on windows depends on MinGW (not even sure if 
> it is implemented with VC ...).
_popen() is listed in MSDN, so this one should be available with VC.

> So bottomline: if we want to stick to popen (to be more glib-error safe), 
> we'd likely need more code (and more #ifdef) than what we have now ...
Yeah, hard to decide. Seems you're right and we should go back to glib. (But we 
should make sure this doesn't break any distro again if they still use unfixed 
glib version).

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

Title:
  emacs23/24 and other GTK applications do not start when run in Kubuntu
  13.04 with oxygen-gtk theme enabled

Status in easytag:
  New
Status in GNU Emacs:
  Confirmed
Status in “emacs23” package in Ubuntu:
  Confirmed
Status in “emacs24” package in Ubuntu:
  Confirmed
Status in “oxygen-gtk3” package in Ubuntu:
  In Progress
Status in “emacs23” source package in Raring:
  Fix Committed
Status in “emacs24” source package in Raring:
  Fix Committed
Status in “oxygen-gtk3” source package in Raring:
  Fix Released
Status in “gtk2-engines-oxygen” package in Debian:
  Fix Released

Bug description:
  [Impact]

  * Emacs24 does not startup in KDE

  [Test Case]

  * Install emacs24
  * Set gtk3 theme to oxygen-gtk via systemsettings > Application Appearence > 
GTK
  * Run emacs24
  * Install update
  * Try and run emacs24 again

  [Regression Potential]
  * Minimal
  * Upstream release for oxygen-gtk3 is only a bug fix release

  
  If I try to run emacs23 in Kubuntu 13.04, (KDE 4.10.0) I am finding that the 
GUI starts only some of the time.

  If the GUI doesn't start then I will only see a process running in
  htop or similar.

  Starting emacs in a terminal window with the -nw argument or
  installing the Lucid interface shows that emacs does run each time it
  starts so the problem is either with the emacs GTK interface or the
  GTK libraries.

  Emacs24 exhibits the same problem.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: emacs23 (not installed)
  ProcVersionSignature: Ubuntu 3.8.0-9.18-generic 3.8.1
  Uname: Linux 3.8.0-9-generic x86_64
  ApportVersion: 2.9-0ubuntu2
  Architecture: amd64
  Date: Sun Mar  3 14:19:01 2013
  InstallationDate: Installed on 2013-01-05 (57 days ago)
  InstallationMedia: Kubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130104)
  MarkForUpload: True
  ProcEnviron:
   LANGUAGE=en_GB:en
   TERM=screen-256color
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: emacs23
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/easytag/+bug/1142213/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to