Bug 929353

Summary: Emacs gives warning when starting up: Gtk-WARNING **: gtk_window_parse_geometry()
Product: [Fedora] Fedora Reporter: Alan Stern <stern>
Component: emacsAssignee: Petr Hracek <phracek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 18CC: jonathan.underwood, loganjerry, phracek
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: emacs-24.2-16.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-20 19:10:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alan Stern 2013-03-29 20:53:31 UTC
Description of problem:

When emacs is started under X with a specified geometry, it always produces an annoying and bogus error message.  For example:

(emacs:10188): Gtk-WARNING **: gtk_window_parse_geometry() called on a window with no visible children; the window should be set up before gtk_window_parse_geometry() is called.

Apparently this bug has already has an upstream workaround:

   http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/111078

Please incorporate this workaround into Fedora's emacs.

Version-Release number of selected component (if applicable):
   emacs-24.2-6.fc18.i686

How reproducible:  Always

Steps to Reproduce:
1. Invoke emacs with a geometry specification.  For example:
   emacs -g 80x40-0+0
  
Actual results:  See the error message above.

Additional information:  See http://emacs.1067599.n5.nabble.com/bug-11177-24-0-95-gtk-window-parse-geometry-warning-td14655.html

Comment 1 Fedora Update System 2013-04-04 11:04:33 UTC
emacs-24.2-16.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/emacs-24.2-16.fc19

Comment 2 Petr Hracek 2013-04-04 11:05:41 UTC
Fix is commited:

scm-commit (http://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20130401/994300.html) -> modified

Comment 3 Fedora Update System 2013-04-04 11:08:15 UTC
emacs-24.2-16.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/emacs-24.2-16.fc18

Comment 4 Jerry James 2013-04-04 15:48:47 UTC
Emacs now appears to be broken in Rawhide.  Here is a snippet of a Rawhide build of gap, which ends by byte compiling some elisp files:

+ /usr/bin/emacs -batch --no-init-file --no-site-file --eval '(progn (setq load-path (cons "." load-path)))' -f batch-byte-compile gap-mode.el gap-process.el
/usr/bin/emacs: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory

Could that be a side effect of the change made for this bug, or is it a different problem?

Comment 5 Fedora Update System 2013-04-05 02:54:20 UTC
Package emacs-24.2-16.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing emacs-24.2-16.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-4867/emacs-24.2-16.fc19
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-04-08 12:01:09 UTC
emacs-24.2-17.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/emacs-24.2-17.fc19

Comment 7 Fedora Update System 2013-04-08 12:38:49 UTC
emacs-24.2-17.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/emacs-24.2-17.fc18

Comment 8 Alan Stern 2013-04-08 17:10:06 UTC
I have just tried out the emacs-24.2-16.fc18 package from the testing repository.  It does fix the problem on my system.  Thank you.

Comment 9 Fedora Update System 2013-04-10 08:27:39 UTC
emacs-24.2-18.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/emacs-24.2-18.fc19

Comment 10 Fedora Update System 2013-04-12 13:02:20 UTC
emacs-24.2-18.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/emacs-24.2-18.fc18

Comment 11 Fedora Update System 2013-04-20 19:10:39 UTC
emacs-24.2-18.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2013-04-30 03:23:54 UTC
emacs-24.2-18.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.