GNU bug report logs - #38452
26.3; set-frame-position is slightly drifted

Previous Next

Package: emacs;

Reported by: Pascal Lambrechts <pascal.lambrechts <at> uclouvain.be>

Date: Mon, 2 Dec 2019 03:22:01 UTC

Severity: normal

Tags: moreinfo

Found in version 26.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: Pascal Lambrechts <pascal.lambrechts <at> uclouvain.be>
Cc: "38452 <at> debbugs.gnu.org" <38452 <at> debbugs.gnu.org>
Subject: bug#38452: 26.3; set-frame-position is slightly drifted
Date: Sun, 8 Dec 2019 09:58:45 +0100
> Another weird suprise:
> - if I manually move the frame with some part under the dock and then
> (set-frame-position nil 0 0)
> the frame jump at the leftmost position of the screen (partly covered by the
> dock) but still below the topbar.
> Then the frame parametres return values:
> " LEFT=(+ -10)  TOP=19"

Interesting but hardly usable for programmed positioning.

> - if I move manually the frame in the middle of the screen, away from
> the dock, and then
> (set-frame-position nil 0 0)
> the frame jumps just right to the dock, so not at the same position as
> in the first case.
> Then the frame parametres return values:
> " LEFT=45  TOP=19"
>
> So it seems possible to move the frame programatically under the dock
> when it is alreasy under the dock.
>
> A last point which confirms that the dock may have some role: if I move
> manually a frame to try to put it under the dock, it first resists to
> pass the dock and when you insist finally it passes under.

You have to move the mouse beyond a threshold of a few pixels before
it continues moving.

>>   As a last resort: Does it help when you set the
>>       frame's z-group parameter to 'above' like in
>>
>>       (modify-frame-parameters nil '((z-group . above) (left . 0) (top . 0)))
> No, it changes nothing to the horizontal position of the frame.

Does it at least have the Emacs frame appear on top of the dock?

martin




This bug report was last modified 3 years and 124 days ago.

Previous Next


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