GNU bug report logs -
#32977
26.1.50; Emacs (on gnome 3, wayland, debian buster) calculates incorrect horizontal positions
Previous Next
Reported by: Kai Tetzlaff <kai.tetzlaff <at> web.de>
Date: Sun, 7 Oct 2018 19:09:02 UTC
Severity: normal
Found in version 26.1.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Kai Tetzlaff <kai.tetzlaff <at> web.de> writes:
> The following happens within Gnome 3 (3.30, but also earlier versions),
> Wayland on Debian Buster on a Laptop with HiDPI display with fractional
> scaling factor set to 1.5.
>
> Position frame at the left border of the display, evaluate:
>
> (frame-parameter (selected-frame) 'left)
> ;; -10
>
> or
>
> (car (frame-position (selected-frame)))
> ;; '(+ -10)
(This bug report unfortunately got no response at the time.)
I can reproduce this bug in Emacs 28:
(set-frame-position (selected-frame) 0 0)
=> t
(frame-position (selected-frame))
=> (-10 . 66)
If I do this, I can clearly see that the frame isn't outside the screen
(i.e., I can see other windows between the Emacs frame and the border of
the screen):
(set-frame-position (selected-frame) 9 0)
=> t
But still:
(frame-position (selected-frame))
=> (-1 . 66)
This is a Debian bullseye system with Gnome Shell.
Anybody got an idea what's going on here?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 4 years and 233 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.