GNU bug report logs - #20361
25.0.50; Frame position change using set-frame-position does not stick (Linux)

Previous Next

Package: emacs;

Reported by: Kaushal <kaushal.modi <at> gmail.com>

Date: Fri, 17 Apr 2015 18:04:01 UTC

Severity: normal

Found in version 25.0.50

Done: Kaushal Modi <kaushal.modi <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Glenn Morris <rgm <at> gnu.org>
To: Kaushal <kaushal.modi <at> gmail.com>
Cc: 20361 <at> debbugs.gnu.org
Subject: Re: bug#20361: 25.0.50;
 Frame position change using set-frame-position does not stick (Linux)
Date: Sat, 18 Apr 2015 21:54:19 -0400
Kaushal wrote:

>     (defun my/alter-frame-pos ()
>       (interactive)
>       (set-frame-position nil 100 100)) ; pixels x y from upper left
>
> 1. Launch `emacs -Q`.
> 2. Eval the above function in the \*scratch\* buffer.
> 3. Position the frame to any random location **using** the mouse
> 4. `M-x my/alter-frame-pos`. You should see the frame jump to (100,100)
> pixel location.
> 5. `M-x find-file` or `C-x C-f` (this is one of the functions that uses
> `read-from-minibuffer`)
> 6. The frame will jump back to wherever you set it using the mouse!

That sounds very odd.
FWIW, I cannot reproduce this on Debian testing or RHEL7.





This bug report was last modified 9 years and 311 days ago.

Previous Next


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