Donate Share

Fluxbox

Tracker: Bugs

5 Changes in rev-5093 cause xinerama focus problems - ID: 1818200
Last Update: Comment added ( mark-t )

The changes merged in svn revision 5093 cause problems with full screen
applications and focus in xinerama.

Steps to reproduce:

1. Use mplayer to play a video.
2. Switch mplayer to full screen.
3. Move the mouse pointer to an application window on the other head (mouse
focus model).

Expected behaviour (as in <=5092):
The window gets focused properly and is able to receive keyboard input.

Actual behaviour (as in >5093 up to 5104):
The window does not get focused, though items in the window can be clicked.
Keyboard presses are sent to the full screen application window.

Additional notes
* ipager responds only after a delay while in earlier revisions workspace
changes were visibly instantly.
* I used MacroCmd {Workspace 4} {ExecCommand korganizer} in my keys file. I
do this because of bug 1753256. Now, if I use the key on e.g. workspace 5,
ipager still displays korganizer on workspace 5, though the window
certainly appears on workspace 4. Sending korganizer window to workspace 5
and back to 4 fixes the incorrect display.


Harald Judt ( hjudt ) - 2007-10-22 22:08

5

Closed

Fixed

Nobody/Anonymous

None

None

Public


Comments ( 10 )




Date: 2007-12-23 00:34
Sender: mark-tAccepting Donations


O.K., higuita, I've fixed your 2nd issue in the git version now.
Fullscreen windows only get lowered when another window on the same head
gets focused.


Date: 2007-11-22 15:31
Sender: hjudt


Sorry, somehow I got the numbers wrong. Of course I mean current rev 5139
and older rev 5092.


Date: 2007-11-22 15:24
Sender: hjudt


OK, the focus problem seems to be fixed now, thanks a lot (tested current
rev 5034).

However, the ipager lag (about 1 second) I mentioned under `Additional
notes' still persists, while the `Workspace' command works fine now. Shall
I file a separate bug about ipager? Perhaps this is not a fluxbox but in
fact an ipager problem? Still, it worked in svn <=5139.



Date: 2007-11-01 19:39
Sender: mark-tAccepting Donations


Try `[group] (workspace)' if that's what you expect. You can put any
pattern after the [group] tag, and new windows will only tab with others
that match that pattern.


Date: 2007-11-01 19:32
Sender: higuita


i just found in the first workspace of head2, all apps i tried to open
during the "no apps running on head 2", all groupped... as i always have
several terms and other apps open in workspace 1, the same i have shortcuts
for... for i suspect about the groupping feature...

so i close all apps in workspace 1 and tried again and it worked... what
is stealing the started app is the groupping feature of in workspace 1 in
head 2
if there is one app in that workspace on the head 2, this doesnt happends





Date: 2007-11-01 17:49
Sender: higuita


ok, thanks... going to test it...

i already test it and it fix most of the problem, but i found minor 2
problems:

1- if i open a app in full screen in screen 1 and i dont have any app on
screen 2, i cant use the fluxbox shortcuts to start a app, i have to open a
menu/window list for the shortcut to work (or start via the menu)... i
would say that the focus is unset from the fullscreen app when i change the
head, but as i dont have a app to give focus, its not set to any head, so
no new app will start

2- the fullscreen app will "lower", showing up any app in top and dock
layers, like the toolbar and slit. to workaround i setup tvtime to work in
the same layer as the toolbar and slit

thanks


Date: 2007-10-31 19:35
Sender: mark-tAccepting Donations


O.K. I've committed something to svn that should address this.


Date: 2007-10-30 22:12
Sender: higuita


sorry, i dont have the programming knowledge to fix this :(




Date: 2007-10-29 22:38
Sender: mark-tAccepting Donations


I already know why it happens. I just haven't gotten around to fixing it
properly. If you want to fix it yourself, look in Window.cc:
FluxboxWindow::focus() around line 1322.


Date: 2007-10-29 22:33
Sender: higuita


i can confirm this bug, i have a dual head (non-xinerama, displays :0.0
and :0.1) and if i have tvtime in fullscreen in one head its impossible to
change focus in the other head, i have to turn off the full screen. Also,
the fbpager dont show any window, seems like i have no window open.

i'm ready to help debug this...




Log in to comment.




Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2007-10-31 19:35 mark-t
resolution_id None 2007-10-31 19:35 mark-t
close_date - 2007-10-31 19:35 mark-t