From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Aaron Jensen Newsgroups: gmane.emacs.bugs Subject: bug#30141: (26.0.91; text-pixel dimensions not properly saved by desktop-save-mode sometimes) Date: Fri, 19 Jan 2018 14:00:17 -0500 Message-ID: References: <5A5F1397.2050001@gmx.at> <5A623F19.6080608@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1516388374 7713 195.159.176.226 (19 Jan 2018 18:59:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 19 Jan 2018 18:59:34 +0000 (UTC) To: martin rudalics , 30141@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 19 19:59:30 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ecbse-0000gS-B1 for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Jan 2018 19:59:12 +0100 Original-Received: from localhost ([::1]:38561 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecbuc-00040F-MK for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Jan 2018 14:01:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecbuU-0003yq-1f for bug-gnu-emacs@gnu.org; Fri, 19 Jan 2018 14:01:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ecbuQ-0006xE-6B for bug-gnu-emacs@gnu.org; Fri, 19 Jan 2018 14:01:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55590) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ecbuQ-0006xA-2s for bug-gnu-emacs@gnu.org; Fri, 19 Jan 2018 14:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ecbuP-0003Hp-Rk for bug-gnu-emacs@gnu.org; Fri, 19 Jan 2018 14:01:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Jensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Jan 2018 19:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30141 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30141-submit@debbugs.gnu.org id=B30141.151638842512580 (code B ref 30141); Fri, 19 Jan 2018 19:01:01 +0000 Original-Received: (at 30141) by debbugs.gnu.org; 19 Jan 2018 19:00:25 +0000 Original-Received: from localhost ([127.0.0.1]:35254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ecbtp-0003Gq-4z for submit@debbugs.gnu.org; Fri, 19 Jan 2018 14:00:25 -0500 Original-Received: from mail-qt0-f175.google.com ([209.85.216.175]:38495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ecbto-0003Gf-AX for 30141@debbugs.gnu.org; Fri, 19 Jan 2018 14:00:24 -0500 Original-Received: by mail-qt0-f175.google.com with SMTP id z10so6273994qti.5 for <30141@debbugs.gnu.org>; Fri, 19 Jan 2018 11:00:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :content-transfer-encoding; bh=eLj5BcAoWLykrEXDIEZPLsNWdW7oEqZxLIGE4IgOQ6c=; b=slGzno7InLL0UIKHyKCie92D7Svnxp2GyEOoSTGQCqRQ/lcZw6N18O1iwig8kwK6eU d7R96FEIbgzJXoErE0UEBFeGiLFMyFfxe+Aw4JYa/8p2cQp4x307OjF7gmBJqdMquZMI toZOiDTmLVRshucN0xObTzSANUVue9J9FIn5vfpM2HMWnK6x4z7do7Iy1JqOrttQnCXB 7hMghEEiCgY5wPQn5/uccRdl/Z8CiSuchj2BqtCLhA/nnjXaHYD5BjumEQPCWwNcDIt3 zr31ZaoQEME9AS9plfIrywdfkO3EcMSV7RioOI+f2OogLzTwFijCwWMVGtAC7CZydpVD xPXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:content-transfer-encoding; bh=eLj5BcAoWLykrEXDIEZPLsNWdW7oEqZxLIGE4IgOQ6c=; b=Lln1P/C/n07ksh2ZUIIwPSb7nOvRAcKOLKjL4w3SrjfQ/1io2ae5EGizV7P+C6o9Wr yNdJNuZXtZuvq/j46yvfJk8jUhLGOfrZIzohz94LxEgaGGNtwoMEn92jHPHCioXTnjfd u5ZgaMqpRF7Q1CCOKxDxW4JYVvO9klNVH5vdJC4Lsq/jaOvXC65+8fSli7Z30CO+ln/Z 633arhQzLFi/KDjtxy9fukiuXOnIUZUHo/T2aTU+jZ8ryNqYDRI9qwu361+Olhp8Hgj6 oUAD1w9+BDEFSmil6L+cbPykbyjPPCP+R0lZ+xt3eY8wAtOjqsIisQM29CAX1/1v17Ge n4KA== X-Gm-Message-State: AKwxytcKROzh+M4Vd0M3WasACiwROWUOiiHEocOWxTNjj6cFbPviajpy O1zfGUfiALvXBhm83O1pCqWW9mTWxnSPIlfun20= X-Google-Smtp-Source: ACJfBouogXqUUjWuSHCX5FJqi46eZv8HP5B+HQDRYMWamN8Tswce72Rt7LNcR10HsaYFPz/tTmei0FrJwV+RCXD6LLA= X-Received: by 10.55.127.197 with SMTP id a188mr65614623qkd.106.1516388418570; Fri, 19 Jan 2018 11:00:18 -0800 (PST) Original-Received: from 1058052472880 named unknown by gmailapi.google.com with HTTPREST; Fri, 19 Jan 2018 14:00:17 -0500 In-Reply-To: <5A623F19.6080608@gmx.at> X-Mailer: Airmail (467) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:142302 Archived-At: From: martin rudalics (mailto:rudalics@gmx.at) > Can you please give a more detailed scenario of what happens in > practice. Is this prevalence of pixel sizes something which occurs > after the frameset was restored or already during restoration? > > Can you please try to do that? How do these parameters get into the > way of things? Sorry, sure. The issue is when you have the frame sized to be a non-multiple of the font-width (pixel sized), save the desktop, then restart emacs and restore the desktop. At this point you=E2=80=99ll have a pixel width in your frame parameters. Then if you resize the frame to be a multiple of the font-width and save the desktop, you end up writing the previous pixel widths because they were in frame parameters and we do not reset them unless you are using a non-multiple of the font width. If that doesn=E2=80=99t make sense I can try and write up a repro when I ge= t a chance. Thanks, Aaron