From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bruno =?UTF-8?Q?F=C3=A9lix?= Rezende Ribeiro Newsgroups: gmane.emacs.bugs Subject: bug#18912: 24.4; mode-line corruption on graphical frames in dual-headed display Date: Tue, 04 Nov 2014 08:25:38 -0200 Organization: GNU Project Message-ID: <5458A9A2.3070108@gnu.org> References: <54524135.8090405@gnu.org> <8361ezz56z.fsf@gnu.org> <5454D7EB.6060407@gnu.org> <83sii3xecv.fsf@gnu.org> <54574DDC.9020608@gmx.at> <5457D052.4090807@gnu.org> <54588656.3090207@gmx.at> <54588C52.7040804@gnu.org> <54589A1E.8040600@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rMUHeEx0CLmJLmt53pcMoFg4Nus5Dd1Nc" X-Trace: ger.gmane.org 1415096779 21697 80.91.229.3 (4 Nov 2014 10:26:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2014 10:26:19 +0000 (UTC) Cc: 18912@debbugs.gnu.org To: martin rudalics , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 04 11:26:12 2014 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 1XlbJS-0000wu-VO for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Nov 2014 11:26:11 +0100 Original-Received: from localhost ([::1]:39536 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlbJS-0000EN-Iw for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Nov 2014 05:26:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlbJO-0000E7-H0 for bug-gnu-emacs@gnu.org; Tue, 04 Nov 2014 05:26:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlbJL-0005GG-Cq for bug-gnu-emacs@gnu.org; Tue, 04 Nov 2014 05:26:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlbJL-0005GC-8w for bug-gnu-emacs@gnu.org; Tue, 04 Nov 2014 05:26:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XlbJK-0006qU-Rt for bug-gnu-emacs@gnu.org; Tue, 04 Nov 2014 05:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Bruno =?UTF-8?Q?F=C3=A9lix?= Rezende Ribeiro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Nov 2014 10:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18912 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18912-submit@debbugs.gnu.org id=B18912.141509676026305 (code B ref 18912); Tue, 04 Nov 2014 10:26:02 +0000 Original-Received: (at 18912) by debbugs.gnu.org; 4 Nov 2014 10:26:00 +0000 Original-Received: from localhost ([127.0.0.1]:48167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XlbJH-0006qC-2O for submit@debbugs.gnu.org; Tue, 04 Nov 2014 05:25:59 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:54386) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XlbJF-0006q4-CC for 18912@debbugs.gnu.org; Tue, 04 Nov 2014 05:25:57 -0500 Original-Received: from 189-015-183-238.xd-dynamic.ctbcnetsuper.com.br ([189.15.183.238]:60652 helo=[192.168.1.17]) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1XlbJD-0004XZ-Sa; Tue, 04 Nov 2014 05:25:56 -0500 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30 In-Reply-To: <54589A1E.8040600@gmx.at> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:95469 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --rMUHeEx0CLmJLmt53pcMoFg4Nus5Dd1Nc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable martin rudalics wrote: > I don't understand what "moving the frame" means. Does "left side"=20 > mean VGA1 and "right side" LVDS1? No. When the frame is shown it has its left border touching the left extremity of the VGA1 output, so by "moving the frame to the right side" I meant moving the frame horizontally to the right until its right border touches the right extremity of the VGA1 output. > What evidence do you have that the window manager "resizes" the frame > when you move it? 'xwininfo' tool reports the frame had 697 pixels of height before the move, but 696 afterwards. > And you get the corrupted mode line when you do "not move" the frame > as well? Yes, I do. However, the frame 696 pixels tall doesn't corrupt the mode-line, as shown by previous experiments. A full-screen frame corrupts it, though. > Elsewhere you asked to "please, provide a way to make Emacs=20 > optionally redraw the mode-line after any scroll operation". How=20 > does scrolling enter here? After getting the mode-line right by refreshing the frame, only scrolling can possibly corrupt the mode-line again. > Do you have to scroll the window in order to show the corruption? If the frame was refreshed, yes. > Maybe you could give us a step-by-step scenario of what you do to the > show the corruption, how to remove it afterwards, and how to show it > again after it was temporarily removed. After creating the frame with 'emacs -Q', typing 'C-x d /dev RET' takes me to a Dired buffer with a corrupted mode-line as shown in the picture attached to the original bug report. There, typing 'M-! xrefresh RET' repaints the whole frame and the mode-line is shown normally as one would expect. Scrolling the text up with 'C-v' corrupts the mode-line again. > I don't have the slightest idea why the mode line would _not_ be > redrawn after scrolling but maybe there's some optimization here. In > any case with emacs -Q moving the window's point from one line to > another should redraw the mode line to show the new line number. If it redraws the mode-line, it does so while corrupting the mode-line again, because, by observation, updating the line number doesn't trigger the same kind of redraw that the 'xrefresh' command does. > BTW, suppose you evaluate >=20 > (set-frame-parameter nil 'bottom-divider-width 8) >=20 > Does that impact the appearance of the bug in any way? Yes, it does. The mode-line still gets corrupt but this time by the lower half (approximately) of the line above the one that corrupted it originally. Interesting enough, (set-frame-parameter nil 'bottom-divider-width 1) fixes the problem for the original frame. Unfortunately when in full-screen the mode-line is corrupted again; what is fixed in the VGA1 output by (set-frame-parameter nil 'bottom-divider-width 7) and in the LVDS1 output by (set-frame-parameter nil 'bottom-divider-width 12) I'd miss some useful screen area, though. --=20 ,=3D ,-_-. =3D. Bruno F=C3=A9lix Rezende Ribeiro (oitofelix) [0x28D618A= F] ((_/)o o(\_)) There is no system but GNU; `-'(. .)`-' GNU Linux-Libre is one of its official kernels; \_/ All software must be free as in freedom; --rMUHeEx0CLmJLmt53pcMoFg4Nus5Dd1Nc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCgAGBQJUWKmjAAoJECe5xv0o1hivRv4H/2l0DjtxY9skuweYZaR2le9m dw/zJb85rpyt28XqgfSXnDAK2XVQhE3LVakt46DCWe/5y15zAqG8y+d1qpm3jDEY cET9WEwz7pSpPm7Zj0eMNKg9tXOxAdhEloLvxjXyvbSKJXhSwpxV78PKtlw7Pba0 gI0w1N/13DsuXs/YM2GlhmVVYQoctdTEZX1iulohp5Ux6O9xjumIa80amFuOfQhj ePqqx8ZMkPEO3yp6VqZ6G3x4Ja/P/XC+eakzqNdHE4vjslM5irBEPVTDptoxtMYs 5AS5eG2HLIBth6HcRTc6ZVvXhFPBnwcZtgBc6sciLvKTUm/jfeMAnkx/aKFxKIA= =HRCh -----END PGP SIGNATURE----- --rMUHeEx0CLmJLmt53pcMoFg4Nus5Dd1Nc--