From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs 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: Thu, 21 Mar 2013 12:37:55 +0100 Message-ID: <514AF113.8040905@gmx.at> References: <874nigbs8c.wl%arne_bab@web.de> <5148405C.2000808@kit.edu> <837gl220on.fsf@gnu.org> <51497A90.7070901@kit.edu> <83fvzpzxbz.fsf@gnu.org> <514AE793.8080303@kit.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1363865900 21776 80.91.229.3 (21 Mar 2013 11:38:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Mar 2013 11:38:20 +0000 (UTC) Cc: "13469@debbugs.gnu.org" <13469@debbugs.gnu.org>, "arne_bab@web.de" To: arne.babenhauserheide@kit.edu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 21 12:38:45 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UIdpS-0006pI-FX for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Mar 2013 12:38:42 +0100 Original-Received: from localhost ([::1]:34041 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIdp5-000186-87 for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Mar 2013 07:38:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIdp0-00013q-7O for bug-gnu-emacs@gnu.org; Thu, 21 Mar 2013 07:38:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIdoy-0004El-OS for bug-gnu-emacs@gnu.org; Thu, 21 Mar 2013 07:38:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIdoy-0004Ee-Kv for bug-gnu-emacs@gnu.org; Thu, 21 Mar 2013 07:38:12 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UIdqk-0001QF-BO for bug-gnu-emacs@gnu.org; Thu, 21 Mar 2013 07:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Mar 2013 11:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13469 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13469-submit@debbugs.gnu.org id=B13469.13638659935448 (code B ref 13469); Thu, 21 Mar 2013 11:40:02 +0000 Original-Received: (at 13469) by debbugs.gnu.org; 21 Mar 2013 11:39:53 +0000 Original-Received: from localhost ([127.0.0.1]:38649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UIdqa-0001Po-Ko for submit@debbugs.gnu.org; Thu, 21 Mar 2013 07:39:52 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:56307) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UIdqX-0001Pg-CR for 13469@debbugs.gnu.org; Thu, 21 Mar 2013 07:39:50 -0400 Original-Received: from mailout-de.gmx.net ([10.1.76.31]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MevCx-1U3RHT0f2v-00OVJq for <13469@debbugs.gnu.org>; Thu, 21 Mar 2013 12:37:58 +0100 Original-Received: (qmail invoked by alias); 21 Mar 2013 11:37:58 -0000 Original-Received: from 62-47-35-43.adsl.highway.telekom.at (EHLO [62.47.35.43]) [62.47.35.43] by mail.gmx.net (mp031) with SMTP; 21 Mar 2013 12:37:58 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/KMRJ2bcTK4fIDm1J5+7c2/TB4hh+EgbM8EAbXBX TMSqbWmHxqNC81 In-Reply-To: <514AE793.8080303@kit.edu> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72764 Archived-At: >>> 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? > > When I disable the menu bar, the frame is a bit bigger even without > --basic-display. It still resizes to the tiny size, though. Did you also try with a disabled toolbar? > I just found a much easier way to reproduce it: > > Run emacs with --parent-id > > Then click with the mouse on the minibuffer. With menubar, it gets > really tiny, without menubar it resizes to a bigger size (~4 times as > wide ... high, I presume ... > as the small size), but when I click the minibuffer it emacs starts > to flicker and to resize repeatedly. ... how does it resize and how do you observe that ? > The flickering stops, when I call > async-shell-command but starts again once I hit C-g to leave the minibuffer. Does it flicker/resize when you enter the minibuffer or when you leave it? >> I suggest to put a breakpoint in change_frame_size, change_frame_size_1 is better, where it does block_input () so you avoid delayed and not-changing-anything calls. > and see who calls >> it with such a small frame size. > > I get something like this: In all these calls can you see something in newheight that reflects the size change you requested? martin