From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: Jones Stephen <happyojones@gmail.com>
Cc: 71912@debbugs.gnu.org
Subject: bug#71912: [Gerd Möllmann] Re: bug#71912: 30.0.50; Inaccurate window-absolute-pixel-position Values on macOS After Sleep and During Fullscreen Mode
Date: Mon, 12 Aug 2024 05:16:54 +0200 [thread overview]
Message-ID: <m2a5hi8m6x.fsf@pro2.fritz.box> (raw)
In-Reply-To: <CAOFab0mKnZbku1bq3Y0uyZAr6hb1Pkc7gmV7xuxt1pMJq_AFXw@mail.gmail.com> (Jones Stephen's message of "Mon, 12 Aug 2024 10:59:07 +0800")
Jones Stephen <happyojones@gmail.com> writes:
> Yes, I can confirm that the attached patch resolves the issue.
Pushed to emacs-30. Thanks for testing!
>
> Gerd Möllmann <gerd.moellmann@gmail.com> 于2024年8月11日周日 19:25写道:
>
> Jones Stephen <happyojones@gmail.com> writes:
>
> > Thank you for the patch. I’ve tested it, and it does help, but I
> > noticed there’s still a slight issue.
> >
> > Here’s what I found: if I leave my Mac idle for a while and it enters
> > sleep mode, when I wake up the Mac and click to focus on Emacs, the
> > frame position sometimes appears to be incorrect. However, if I put
> > the Mac to sleep again and then immediately wake it up, the frame
> > position is correct when I return to Emacs.
> >
> > Interestingly, when I moved the `adjustEmacsFrameRect` call to the
> > `windowDidBecomeKey` method, the issue was completely resolved. After
> > making this adjustment, the frame position remains correct regardless
> > of the sleep duration or how the system is woken up.
> >
>
> (Please keep the list in CC, I've added it for this reply.)
>
> Thanks. So an a complete patch would look like the attached patch,
> right? Could you please confirm?
prev parent reply other threads:[~2024-08-12 3:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-03 2:38 bug#71912: 30.0.50; Inaccurate window-absolute-pixel-position Values on macOS After Sleep and During Fullscreen Mode Jones Stephen
2024-07-23 11:06 ` Gerd Möllmann
2024-07-25 7:39 ` Gerd Möllmann
2024-07-26 19:24 ` Alan Third
2024-07-26 19:27 ` Gerd Möllmann
2024-07-26 20:32 ` Gerd Möllmann
2024-07-30 4:06 ` Gerd Möllmann
2024-08-11 6:49 ` bug#71912: [Gerd Möllmann] " Gerd Möllmann
[not found] ` <CAOFab0n2H3iwyAmVGV1nYrQVqcjRM=ovvJ5hTt4x_0r6rC_k3g@mail.gmail.com>
2024-08-11 11:25 ` Gerd Möllmann
[not found] ` <CAOFab0mKnZbku1bq3Y0uyZAr6hb1Pkc7gmV7xuxt1pMJq_AFXw@mail.gmail.com>
2024-08-12 3:16 ` Gerd Möllmann [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2a5hi8m6x.fsf@pro2.fritz.box \
--to=gerd.moellmann@gmail.com \
--cc=71912@debbugs.gnu.org \
--cc=happyojones@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).