Bug 4752 - desktop doesn't move to where new window opens when <focus> is set.
Status: RESOLVED FIXED
Alias: None
Product: Openbox
Classification: Unclassified
Component: general
Version: unspecified
Hardware: PC Linux
: P1 normal
Assignee: Dana Jansens
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2010-09-04 04:04 EDT by Mark
Modified: 2010-10-16 20:56:00 EDT
1 user (show)

See Also:


Attachments
rc.xml (25.81 KB, text/xml)
2010-09-04 04:07 EDT, Mark

Description Mark 2010-09-04 04:04:39 EDT
I'm using openbox via the git repo.

I've set up a keybind that opens a new window ( for example firefox )
and then I have another setting that sends the window to desktop #1.

What should happen ;
A new windows is opened on desktop #1 and then that window gets focus 
- whatever it is I'm doing or where am I.

what really happens :
If I'm not inside an application and then press the keybind to open a new window, the new window goes to the right deskop and then it gets focus,
even if I'm on a different desktop .

If I'm inside an application, after I press the keybind a window does open on
the right desktop, but it doesn't get focus.
I need to manually change desktop in order to use it.

I have all the focus settings enables inside the rc.xml file.

I've attached my rc.xml

and this debug info :

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
Comment 1 Mark 2010-09-04 04:07:50 EDT
Created attachment 2441 [details]
rc.xml
Comment 2 Dana Jansens 2010-10-16 17:38:32 EDT
Fixed for me in git now.  Thanks for reporting this.
Comment 3 Dana Jansens 2010-10-16 20:56:00 EDT
marking as fixed.