[openbox] I have a problem with focus not given to new lunched windows.
Mark Bloch
mark.bl at gmail.com
Sat Sep 4 04:06:26 EDT 2010
Done : http://bugzilla.icculus.org/show_bug.cgi?id=4752
Hope it helps.
- mark.
On Sat, Sep 4, 2010 at 9:49 AM, Dana Jansens <dana at orodu.net> wrote:
> On Fri, Sep 3, 2010 at 6:03 PM, Mark Bloch <mark.bl at gmail.com> wrote:
> > Well according to the debug info, it's a feature :
>
> Just cuz it sounds like it knows what it's doing doesn't mean it's a
> feature..
>
> > Openbox-Debug: (FOCUS) focus_set_client 0x400003
> > Openbox-Debug: (FOCUS) ignoring enters from 2374 until 2374
> > Openbox-Debug: (FOCUS) EnterNotify mode 0 detail 4 serial 2374 on 400003,
> > focusing window
> > Openbox-Debug: (FOCUS) ignoring enters from 2973 until 2974
> > Openbox-Debug: (FOCUS) Going to try activate new window? yes
> > Openbox-Debug: (FOCUS) Want to focus window 0xa00003 at time 688833456
> > launched at 0 (last user interaction time 688832174)
> > Openbox-Debug: (FOCUS) Not focusing the window because it is on another
> > desktop and no relatives are focused
> > Openbox-Debug: (FOCUS) Focus stealing prevention activated for (Untitled)
> at
> > time 688833456 (last user interaction time 688832174)
> > Openbox-Debug: (FOCUS) ignoring enters from 3101 until 3100
> > Openbox-Debug: (FOCUS) Frame for 0xa00003 has focus: 1
> >
> >
> > Looking ( briefly ) at the code,the code is at client.c ( lines 780 - 792
> )
> > .
> > I can't find any nice way around this ( I can always delete it and
> recompile
> > ) .
> >
> > Any thoughts ?
>
> You should file a bug report in the bugzilla, cuz if i understand your
> use case directly, I want it to be doing what you want it to be doing,
> which means it's a bug :)
>
> - Dana
>
> > -Mark.
> >
> > On Sat, Sep 4, 2010 at 1:10 AM, Dana Jansens <dana at orodu.net> wrote:
> >>
> >> On Fri, Sep 3, 2010 at 2:55 PM, Mark Bloch <mark.bl at gmail.com> wrote:
> >> > I just would like to add that is seems that a new window is given
> focus
> >> > only
> >> > if I'm not inside an application.
> >> >
> >> > for example: if I'm on desktop 1 ,no application running on that
> >> > desktop,
> >> > and try to open an application on desktop 3, it gives focus to the new
> >> > application.
> >> >
> >> > if I'm on desktop 1 inside firefox ( for example ) and try to open an
> >> > application on desktop 3 it doesn't give that application focus.
> >> >
> >> > is that a feature or a bug ? if a feature can I change it ?
> >>
> >> probably a bug.
> >>
> >>
> >> > On Sat, Sep 4, 2010 at 12:41 AM, Mark Bloch <mark.bl at gmail.com>
> wrote:
> >> >>
> >> >> Hi,
> >> >>
> >> >> Thx for the tip, I've gone ahead and installed openbox from the git
> >> >> repo.
> >> >> It seems to work but not very reliably, in fact it works only with
> one
> >> >> program ( lilyterm , and even with that, not always ) but not with :
> >> >> mousepad, firefox, geany or chrome .
> >> >>
> >> >> is there any log files or anything I can look into in order to find
> out
> >> >> why it's not working?
> >>
> >> run openbox --debug and look at its stdout, or in ~/.cache/openbox.log
> >>
> >>
> >> >> - Mark .
> >> >>
> >> >> On Fri, Sep 3, 2010 at 11:21 PM, Dana Jansens <dana at orodu.net>
> wrote:
> >> >>>
> >> >>> On Fri, Sep 3, 2010 at 5:22 AM, Mark Bloch <mark.bl at gmail.com>
> wrote:
> >> >>> > Hi,
> >> >>> >
> >> >>> > I have a problem with my openbox configuration.
> >> >>> > I have these options in my rc.xml file:
> >> >>> > <focusNew>yes</focusNew>
> >> >>> >
> >> >>> > and I have this keybind:
> >> >>> > <keybind key="C-l">
> >> >>> > <keybind key="f">
> >> >>> > <action name="Execute">
> >> >>> > <command>firefox-bin</command>
> >> >>> > </action>
> >> >>> > </keybind>
> >> >>> > </keybind>
> >> >>> >
> >> >>> > under <applications> I have:
> >> >>> > <focus>yes</focus>
> >> >>> >
> >> >>> > and this:
> >> >>> > <application
> >> >>> >
> name="firefox*"><desktop>1</desktop><raise>yes</raise></application>
> >> >>> >
> >> >>> > .
> >> >>> >
> >> >>> > Everything works fine, when I press the keybind combo, firefox is
> >> >>> > lunched on
> >> >>> > desktop #1, the problem is, it doesn't get focus!
> >> >>> > I have to switch manually to desktop #1.
> >> >>> >
> >> >>> > I want it to get focus when it's lunched, is there something I'm
> >> >>> > missing?
> >> >>>
> >> >>> This was brought up in the past on here, or on IRC. The <focus>
> flag
> >> >>> will cause openbox to move to the application's desktop in our git
> >> >>> version. In 3.4.x it doesn't do this.
> >> >>>
> >> >>>
> >> >>> - Dana
> >> >>>
> >> >>> > Thanks for the help,
> >> >>> > Mark Bloch.
> >> >>> >
> >> >>> > _______________________________________________
> >> >>> > openbox mailing list
> >> >>> > openbox at icculus.org
> >> >>> > http://icculus.org/mailman/listinfo/openbox
> >> >>> >
> >> >>> >
> >> >>> _______________________________________________
> >> >>> openbox mailing list
> >> >>> openbox at icculus.org
> >> >>> http://icculus.org/mailman/listinfo/openbox
> >> >>
> >> >
> >> >
> >> > _______________________________________________
> >> > openbox mailing list
> >> > openbox at icculus.org
> >> > http://icculus.org/mailman/listinfo/openbox
> >> >
> >> >
> >> _______________________________________________
> >> openbox mailing list
> >> openbox at icculus.org
> >> http://icculus.org/mailman/listinfo/openbox
> >
> >
> > _______________________________________________
> > openbox mailing list
> > openbox at icculus.org
> > http://icculus.org/mailman/listinfo/openbox
> >
> >
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20100904/c571075a/attachment.htm>
More information about the openbox
mailing list