I disagree that it's more likely what the user wants. The focus is returned to the top most window (z order) rather than the window that last had focus (desktop).
Take this use case: 1. user opens a file on the desktop to determine it's contents 2. they verify that the file is no longer needed and close the window 3. they hit delete to delete the file 4. instead some other random action occurs depending on what window is on top In my case this caused data loss when I used shift-delete as I was confident that I no longer needed an empty directory on my desktop, and instead deleted a directory of files that I had been earlier working on in an open nautilus window. Perhaps this is a bug with metacity taking focus and z-order to be the same thing. -- focus does not return to desktop after opening and closing a file on it if anther window is open https://bugs.launchpad.net/bugs/268963 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs