Right-click on desktop doesn't move focus to desktop
Submitted by Michał Buczeluk
Assigned to Olivier Fourdan @olivier
Description
Desktop doesn't get focus when user click on it with 2nd mouse button. Context menu is shown, but focus stays on other window that had focus at the moment. After that user can click with either 1st or 2nd mouse button on desktop and it won't get focus until other window is clicked first. This can be annoying if one would want to change file name of some file that is places on desktop in Nautilus as Nautilus don't open input box for that purpose. This problem occurs also if I use xfdesktop so it's not a problem with Nautilus.
Steps to reproduce:
- Open some window that doesnt cover whole screen - like file-manager, Terminal or something like that - doesn't really matter.
- Make sure desktop is visible and window from step 1 is focused.
- Click with 2nd mouse button on desktop - either on empty space or some file. Context-menu will appear.
Expected result: Desktop get's focus from opened window.
Actual result: Even though context menu opens, desktop don't get focus. Opened window stays with focus. Also after that desktop won't get focus (using either 1st or 2nd mouse button) unless any other window than desktop itself is clicked.
I'm using: xfwm4 4.8.1 (revision 5b419219) Nautilus 2.32.2.1 (as desktop and file manager) GTK+ 2.24.4 kernel: 2.6.38-ARCH i686 also: xfdesktop 4.8.2 (as problem occured when xfdesktop was used)
Version: 4.8.0