From: Lars Ingebrigtsen <larsi@gnus.org>
To: Kai Tetzlaff <kai.tetzlaff@web.de>
Cc: 32977@debbugs.gnu.org
Subject: bug#32977: 26.1.50; Emacs (on gnome 3, wayland, debian buster) calculates incorrect horizontal positions
Date: Thu, 26 Nov 2020 14:09:43 +0100 [thread overview]
Message-ID: <875z5ss1rc.fsf@gnus.org> (raw)
In-Reply-To: <878t398tjr.fsf@web.de> (Kai Tetzlaff's message of "Sun, 07 Oct 2018 21:07:20 +0200")
Kai Tetzlaff <kai.tetzlaff@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
next prev parent reply other threads:[~2020-11-26 13:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-07 19:07 bug#32977: 26.1.50; Emacs (on gnome 3, wayland, debian buster) calculates incorrect horizontal positions Kai Tetzlaff
2020-11-26 13:09 ` Lars Ingebrigtsen [this message]
2020-11-26 14:32 ` Robert Pluim
2020-11-26 15:45 ` martin rudalics
2020-11-27 7:58 ` Lars Ingebrigtsen
2020-11-27 9:35 ` martin rudalics
2020-11-29 10:11 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875z5ss1rc.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=32977@debbugs.gnu.org \
--cc=kai.tetzlaff@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.