GNOME Bugzilla – Bug 561131
zenity windows don't appear with the focus
Last modified: 2009-08-06 15:43:33 UTC
Please describe the problem: When a script uses zenity to display information, the zenity window doesn't open with the focus, so we have to click on the windows list of the task bar to read information shown by the zenity window. Steps to reproduce: 1. In a terminal, write this: zenity --info --text="Un message." and press Enter. Actual results: The zenity window appears under the terminal, so we have to click on the task bar to show zenity. Expected results: zenity should open with the focus, so over the terminal. Does this happen every time? Yes. Other information:
Zenity create a active window in previously version. Zenity create a inactive window now. This change of behaviour be troubling. zenity –version 2.24.0 Qt: 3.3.8b KDE: 3.5.10 KDesktop: 3.5.10
Created attachment 125942 [details] [review] patch I really think this is a regression, following patch, taken from ubuntu bug : https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/272083 corrects the issue.
This patch fixed the issue. You may mark this bug as RESOLVED. Thanks :)
(In reply to comment #3) > You may mark this bug as RESOLVED. I think that we must wait for the inclusion of the patch in the zenity release.
I can confirm this is still not fixed in 2.26.0 on ArchLinux 686.
Created attachment 136036 [details] [review] fix-focus.patch adapted for 2.26.0
Pushed a more updated patch to the .ui file. Thanks.