GNU bug report logs - #30141
26.0.91; text-pixel dimensions not properly saved by desktop-save-mode sometimes

Previous Next

Package: emacs;

Reported by: Aaron Jensen <aaronjensen <at> gmail.com>

Date: Wed, 17 Jan 2018 01:26:01 UTC

Severity: normal

Found in version 26.0.91

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


Message #32 received at 30141 <at> debbugs.gnu.org (full text, mbox):

From: Aaron Jensen <aaronjensen <at> gmail.com>
To: martin rudalics <rudalics <at> gmx.at>, 30141 <at> debbugs.gnu.org
Subject: Re: 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
From: martin rudalics (mailto:rudalics <at> 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’ll 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’t make sense I can try and write up a repro when I get a chance.

Thanks,

Aaron




This bug report was last modified 7 years and 104 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.