Comment 5 for bug 957808

Revision history for this message
karl anliot (kanliot) wrote : Re: [Bug 957808] Re: openbox new window doesn't receive focus

if you use lxterminal this works, it fails with gnome-terminal

On Sun, Jun 17, 2012 at 1:44 PM, Lukasz <email address hidden> wrote:
> Adding  <startupnotify><enabled>true</enabled></startupnotify> solved
> this problem for me.
>
> --
> You received this bug notification because you are a member of Lubuntu
> Packages Team, which is subscribed to openbox in Ubuntu.
> https://bugs.launchpad.net/bugs/957808
>
> Title:
>  openbox new window doesn't receive focus
>
> Status in “openbox” package in Ubuntu:
>  Confirmed
>
> Bug description:
>  In my rc.xml I have the following lines:
>      <keybind key="W-Return">
>        <action name="execute">
>          <execute>gnome-terminal</execute>
>        </action>
>      </keybind>
>  If there is no gnome-terminal windows yet then pressing W-Return opens new
>  gnome-terminal and focuses it.
>  But if there is already one window exist and it is not
>  focused than focus stays within the other window.
>  This happens not only with gnome-terminal but also with other software like chromium.
>  This happend after update to version 3.5.0.
>  Also the focus settings:
>    <focus>    <focusNew>yes</focusNew>    <followMouse>no</followMouse>
>     <focusLast>yes</focusLast>
>      <underMouse>no</underMouse>
>      <focusDelay>200</focusDelay>
>      <raiseOnFocus>no</raiseOnFocus>
>    </focus>
>
>
>  Steps to reproduce:
>  1. open gnome-terminal
>  2. open other window (and focus it)
>  3. press W-Return
>
>  What should happen:
>  new gnome-terminal should start and receive focus
>
>  What happens:
>  new gnome-terminal starts but doesn't receives focus
>
>  This issue was already fixed in git:  http://git.openbox.org/?p=dana/openbox.git;a=commitdiff;h=3b9fce92e0afab89a46080f525e4392bc4c01aa5
>  but I couldn't create a patch since git sources are different from 3.5.0 version.
>
>  ProblemType: Bug
>  DistroRelease: Ubuntu 12.04
>  Package: openbox 3.5.0-2ubuntu2
>  ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9
>  Uname: Linux 3.2.0-18-generic x86_64
>  NonfreeKernelModules: nvidia
>  ApportVersion: 1.94.1-0ubuntu2
>  Architecture: amd64
>  Date: Sat Mar 17 13:44:21 2012
>  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120316)
>  ProcEnviron:
>   TERM=xterm
>   PATH=(custom, user)
>   LANG=en_US.UTF-8
>   SHELL=/bin/bash
>  SourcePackage: openbox
>  UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/openbox/+bug/957808/+subscriptions