GNU bug report logs -
#28442
26.0.50; desktop-save-mode no longer restores correct frame size on macOS
Previous Next
Reported by: Aaron Jensen <aaronjensen <at> gmail.com>
Date: Wed, 13 Sep 2017 11:07:01 UTC
Severity: normal
Found in version 26.0.50
Done: martin rudalics <rudalics <at> gmx.at>
Bug is archived. No further changes may be made.
Full log
Message #47 received at 28442 <at> debbugs.gnu.org (full text, mbox):
> How’s this?
Elegant, in particular the `frameset--restore-frame' part. Eli will
decide whether we can put this on the release branch. In either case
we'll have to wait until your paperwork is complete. And please send
diffs as attachments, one of our MUAs has decided to truncate some of
the lines.
One thing I'm not yet sure about is how a user's setting of
`frame-resize-pixelwise' may affect restoring the desktop. I'd be
reluctant to change that variable from within frameset or using
`desktop-after-read-hook' to set it (which might be too late anyway).
Note that some window managers may refuse to resize a frame to a
non-integral size unless the appropriate WM hints have been set as we do
in x_wm_set_size_hint in either xterm.c or gtkutil.c:
size_hints.width_inc = frame_resize_pixelwise ? 1 : FRAME_COLUMN_WIDTH (f);
size_hints.height_inc = frame_resize_pixelwise ? 1 : FRAME_LINE_HEIGHT (f);
Maybe we have to provide an additional frame parameter
'resize-pixelwise' which would override the global
`frame-resize-pixelwise' setting for that particular frame. But let's
wait for such a thing until we see an urgent need for it.
Anyway, since I'm not using desktop please confirm the following: When
`desktop-read' runs and your init file contains a non-nil customization
for `frame-resize-pixelwise', the size hints are set correctly to 1 for
each frame restored.
Thank you very much, martin
This bug report was last modified 7 years and 219 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.