GNU bug report logs - #16503
24.3; make-frame's user-position doesn't work

Previous Next

Package: emacs;

Reported by: Todd Allen <todd <at> etallen.com>

Date: Mon, 20 Jan 2014 00:09:04 UTC

Severity: normal

Tags: moreinfo

Found in version 24.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Lars Ingebrigtsen <larsi <at> gnus.org>, Todd Allen <todd <at> etallen.com>
Cc: Todd Allen <todd.allen <at> ccur.com>, 16503 <at> debbugs.gnu.org
Subject: bug#16503: 24.3; make-frame's user-position doesn't work
Date: Thu, 15 Aug 2019 10:13:37 +0200
>> Issuing the following expression:
>>     (make-frame '((user-position . t) (left . 100) (top . 100)))
>> creates a new frame with only a program-specified position in the
>> WM_NORMAL_HINT, instead of a user-specified position.
>>
>> I started noticing this in the emacs 24.x series, but didn't track down
>> the cause of the ultimate problem until now.  The above worked in emacs 23.x.
>
> (I'm going through old bug reports that have unfortunately gotten no
> responses yet.)
>
> I haven't looked at the low-level values passed here, but eval-ing that
> form seems to do what you'd expect -- opening a frame at 100x100 (in
> Emacs 27, at least).
>
> Has this started working again, or if not -- do you have a recipe that
> will display the bug?

Window managers are allowd to ingore normal hints, so YMMV.  I fail to
understand why gui_figure_window_size would ignore 'user-position' for
the OP, though.

martin




This bug report was last modified 5 years and 232 days ago.

Previous Next


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