#68 Can't bring deep windows to foreground

Rootless (76)

Sometimes, when coming back from sleep or unhiding XDarwin, while running rootless in Aqua, windows won't jump to the foreground when you click on their title bar, and cursor focus is kinda bizzare. Sometimes a few right clicks will work to restore things to normal, but most, I have to quit XDarwin and restart.


  • Torrey T. Lyons

    Torrey T. Lyons - 2001-09-17
    • assigned_to: nobody --> torrey
  • Torrey T. Lyons

    Torrey T. Lyons - 2001-09-17

    Logged In: YES

    I believe this is related to bug #448059, "Remember which
    window is on top". When unhiding XDarwin, it pops all its
    windows to the front. Unfortunately, it doesn't always order
    them in the same order that they were originally, ie. the
    order that the X server thread thinks they should be in. This
    can cause significant confusion for the X server.

  • Nobody/Anonymous

    Logged In: NO

    It may be related but I have some more info, and I don't think its the same bug.

    I don't have to quite XDarwin to solve this anymore. Now, I just go into fvwm2's popup menu, and choose to change the focus. Doesn't matter what I change it to, click to focus, follow cursor, or the special sticky focus. The screen flashes, and the windows focus characteristics return to normal.

    You can duplicate this bug quite easily. Install XDarwin. Install fvwm2. Set up one of the sample fvwm resource files according to the readme's, such that you have the menu. I had to change mouse button definitions around a bit because having the popup on button1 that inlcudes the cursor focus options, didn't work. There's a big conflict between aqua and XDarwin over who gets mouse button1 clicks.

    Anyway, verify that you have good cursor focus, and can bring windows to the front by clicking on their border. Then hide XDarwin. Now bring it back into view. Move your cursor over the screen and you will see various windows highlight their borders when you are not even over them with the cursor. Click a window and it will not come to front.

    But, change the cursor focus from the popup. Even back to same focus you have. Screen will flash, and all the windows you tried to bring to front, are now in front. And cursor now highlights the window you are hovering over again like it should.

    I don't know if it could be a fvwm2 bug, but that window manager works well in other X environments. I think it must be XFree86's interaction with aqua.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks