unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: arne.babenhauserheide@kit.edu
Cc: 13469@debbugs.gnu.org, arne_bab@web.de
Subject: bug#13469: 24.2; emacs has a tiny frame, when I embed it in a kmail text field	via	xembed (--parent-id %w)
Date: Wed, 20 Mar 2013 21:26:56 +0200	[thread overview]
Message-ID: <83fvzpzxbz.fsf@gnu.org> (raw)
In-Reply-To: <51497A90.7070901@kit.edu>

[Please keep the bug address on the CC list.]

> Date: Wed, 20 Mar 2013 10:00:00 +0100
> From: "Arne Babenhauserheide (IMK)" <arne.babenhauserheide@kit.edu>
> 
> > Is there any evidence that this is an Emacs bug, and not a bug in
> > qxembed-emacs.py?  Can you reproduce something similar with just
> > Emacs?
> 
> The cue for that is that the same happens with kmail, which I did not
> write, and that qxembed-emacs.py is just a 47 lines script, which can be
> reduced to the following by removing emacs version checks and
> commandline argument parsing:
> 
>     from PyQt4.QtGui import QX11EmbedContainer, QApplication
>     from PyQt4.QtCore import QProcess, SIGNAL, SLOT
>     from sys import argv
> 
>     app = QApplication(argv)
> 
>     container = QX11EmbedContainer()
>     container.resize(670, 630)
>     container.show()
> 
>     process = QProcess(container)
>     process.start("emacs", ["--parent-id", str(container.winId())])
> 
>     container.connect(container, SIGNAL("clientClosed()"), app.quit)
> 
>     container.connect(container,
> SIGNAL("error(QX11EmbedContainer::Error)"), app.quit)
> 
>     status = app.exec_()
>     process.close()
> 
> 
> There might also be a bug in Qt, which triggers this behavior.
> 
> Especially strange is that it works with emacs -Q --basic-display.

The --basic-display disables menu bar and tool bar, and also disables
blinking cursor.  Maybe the absent menu and tool bar somehow affect
this, when you resize the qxembed-window?

I suggest to put a breakpoint in change_frame_size, and see who calls
it with such a small frame size.





  parent reply	other threads:[~2013-03-20 19:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-16 23:52 bug#13469: 24.2; emacs has a tiny frame, when I embed it in a kmail text field via xembed (--parent-id %w) Arne Babenhauserheide
2013-03-19 10:39 ` Arne Babenhauserheide (IMK)
2013-03-20  3:46   ` Eli Zaretskii
     [not found]     ` <51497A90.7070901@kit.edu>
2013-03-20 19:26       ` Eli Zaretskii [this message]
2013-03-21 10:57         ` Arne Babenhauserheide (IMK)
2013-03-21 11:37           ` martin rudalics
2013-03-21 17:36           ` Eli Zaretskii
2013-03-21 20:23             ` Arne Babenhauserheide
2013-03-22  7:00             ` Jan Djärv
2022-02-05 23:56 ` Lars Ingebrigtsen
2022-03-06  2:36   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83fvzpzxbz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=13469@debbugs.gnu.org \
    --cc=arne.babenhauserheide@kit.edu \
    --cc=arne_bab@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).