From: "Jan Djärv" <jan.h.d@swipnet.se>
To: chad <yandros@MIT.EDU>
Cc: Emacs devel <emacs-devel@gnu.org>
Subject: Re: Resizing gui Emacs on macosx/Lion
Date: Fri, 16 Sep 2011 19:48:12 +0200 [thread overview]
Message-ID: <4E738BDC.1090001@swipnet.se> (raw)
In-Reply-To: <27405233-2349-4996-8486-A8287DBEE80E@mit.edu>
Hello.
chad skrev 2011-09-15 23:27:
> Has anyone else noticed this?
Yes.
>
> The latest macosx introduced some changes in the underlying graphical
> toolkit, including replacing the bottom-right `resize handle' with the
> ability to resize from any edge. In Emacs (Emacs.app, bzr head), if
> the vertical size is adjusted using this resize mechanism, the window
> position changes. If the window is made taller from the top, the
> final position ends up under the cursor, so the result is simply some
> distracting `flex' as the resize adjusts in line-sized increments. If
> the window is made smaller from the bottom, the window seems to
> flicker entirely off the screen, but then back onto the screen. If
> the window is made larger from the bottom, emacs flickers, ends up
> lower on the display that it started, and can end up entirely off the
> screen.
>
> I'm not filing a bug report yet, because I've scheduled some time to look
> into emacs issues over the weekend, but I thought I'd check and see if
> anyone else has run into this problem.
The problem is in windowDidResize. Instead of accepting the size given, Emacs
calls x_set_window_size which in turn tries to resize the frame and all kind
of things go wrong. windowDidResize should just calculate rows and cols from
pixels sizes and call change_frame_size like the X11 ports do.
I imagine it is not too hard to fix, I might get round to it if you don't fix
it first.
Jan D.
prev parent reply other threads:[~2011-09-16 17:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-15 21:27 Resizing gui Emacs on macosx/Lion chad
2011-09-16 17:48 ` Jan Djärv [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E738BDC.1090001@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=emacs-devel@gnu.org \
--cc=yandros@MIT.EDU \
/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.