You are not logged in.
Hello Folks,
I've got a simple bash script:
#!/bin/bash
#shutdown script
gxmessage "Zamknij..." -center -title "Zamknij..." -default "Anuluj" -buttons "Zamknij System":2,"Uruchom ponownie":3,"Anuluj":1
case $? in
1)
echo "Exit";;
2)
systemctl poweroff;;
3)
systemctl reboot;;
esac
As it's quite easy to guess, it generates a simple gxmessage (GTK3) dialog window, which should appear in the center of the screen - there is the "-center" switch applied which is supposed to force that. And it used to do so, but since the latest GTK3 upgrade, that's no longer true. As I've already noticed, the same applies to other GTK3 dialog windows, in apps like Transmission for example - instead of being shown in the center of the main window of the app (or at least more or less there), they all appear in the very upper left corner of the entire screen, which is quite disturbing. So does my gxmessage script as well.
I would like to know whether that's a GTK+ 3.20 bug, or rather something wrong, broken or misconfigured in my case
I'm using Openbox ant I've not even modified my GTK3 config since long time ago, just did the regular "pacman -Syu", if that matters...
Any ideas?
Thanks in advance.
Last edited by Hwiparam (2016-04-13 08:45:42)
Offline
It's known bug in gtk 3.20.2.
I have already reported and bug was fixed.
https://bugzilla.gnome.org/show_bug.cgi?id=764403
1. You must wait fo next release 3.20.3
2. You may build package with patch manually
https://git.gnome.org/browse/gtk+/commi … fbe1257c54
3. You may build package with ABS. Replace gtk+-3.20.2.tar.xz with patched https://git.gnome.org/browse/gtk+/snaps … c54.tar.xz.
Rename downloaded tar.xz in gtk+-3.20.2.tar.xz and rename included folder in gtk+-3.20.2
Offline
Thanks for suggestions, I think I'd rather be patient for a while and wait for 3.20.3 to hit the repos Yes, probably I could build it either manually or using ABS as you suggested, but now I'm quite busy - believe me, there are more urgent things than this particular issue
Last edited by Hwiparam (2016-04-10 21:26:26)
Offline
Thanks DeadMetaler !
It affects a lot of Cinnamon dialogs too, most notably the shutdown one. Will wait for the fix
Offline
After today's "pacman -Syu" (gtk3 upgraded to 3.20.3) I no longer encounter the issue in any app/dialog window. Seems fixed, thanks.
Offline