GNU bug report logs -
#26643
26.0.50; not able to resize frame on OS X
Previous Next
Reported by: "Charles A. Roelli" <charles <at> aurox.ch>
Date: Mon, 24 Apr 2017 19:13:02 UTC
Severity: normal
Tags: fixed
Found in version 26.0.50
Fixed in version 26.1
Done: Alan Third <alan <at> idiocy.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26643 in the body.
You can then email your comments to 26643 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#26643
; Package
emacs
.
(Mon, 24 Apr 2017 19:13:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Charles A. Roelli" <charles <at> aurox.ch>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 24 Apr 2017 19:13:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
With a recent build of Emacs, if you try to resize a frame in OS X 10.6
by dragging the bottom-right corner of the frame, the frame does not
change size, and stderr says:
bash-3.2$ nextstep/Emacs.app/Contents/MacOS/Emacs -Q
2017-04-24 21:02:46.195 Emacs[45285:903] -[EmacsWindow titleVisibility]:
unrecognized selector sent to instance 0x101aa1990
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#26643
; Package
emacs
.
(Mon, 24 Apr 2017 20:08:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 26643 <at> debbugs.gnu.org (full text, mbox):
On 24/04/2017 21:11, Charles A. Roelli wrote:
> With a recent build of Emacs, if you try to resize a frame in OS X 10.6
> by dragging the bottom-right corner of the frame, the frame does not
> change size, and stderr says:
>
> bash-3.2$ nextstep/Emacs.app/Contents/MacOS/Emacs -Q
> 2017-04-24 21:02:46.195 Emacs[45285:903] -[EmacsWindow titleVisibility]:
> unrecognized selector sent to instance 0x101aa1990
This seems to fix it:
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -6646,8 +6646,7 @@ - (NSSize)windowWillResize: (NSWindow *)sender
toSize: (NSSize)frameSize
old_title = 0;
}
}
- else if (fs_state == FULLSCREEN_NONE && ! maximizing_resize
- && [[self window] titleVisibility])
+ else if (fs_state == FULLSCREEN_NONE && ! maximizing_resize)
{
char *size_title;
NSWindow *window = [self window];
With the titleVisibility call, the compiler gives this warning:
nsterm.m: In function ‘-[EmacsView windowWillResize:toSize:]’:
nsterm.m:6650: warning: ‘NSWindow’ may not respond to ‘-titleVisibility’
nsterm.m:6650: warning: (Messages without a matching method signature
nsterm.m:6650: warning: will be assumed to return ‘id’ and accept
nsterm.m:6650: warning: ‘...’ as arguments.)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#26643
; Package
emacs
.
(Mon, 24 Apr 2017 22:06:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 26643 <at> debbugs.gnu.org (full text, mbox):
On Mon, Apr 24, 2017 at 10:07:07PM +0200, Charles A. Roelli wrote:
> On 24/04/2017 21:11, Charles A. Roelli wrote:
> > With a recent build of Emacs, if you try to resize a frame in OS X 10.6
> > by dragging the bottom-right corner of the frame, the frame does not
> > change size, and stderr says:
> >
> > bash-3.2$ nextstep/Emacs.app/Contents/MacOS/Emacs -Q
> > 2017-04-24 21:02:46.195 Emacs[45285:903] -[EmacsWindow titleVisibility]:
> > unrecognized selector sent to instance 0x101aa1990
>
> This seems to fix it:
<snip>
> - else if (fs_state == FULLSCREEN_NONE && ! maximizing_resize
> - && [[self window] titleVisibility])
> + else if (fs_state == FULLSCREEN_NONE && ! maximizing_resize)
Unfortunately removing the title test introduces a crash bug under
certain circumstances.
Can you try replacing it with this:
else if (fs_state == FULLSCREEN_NONE && ! maximizing_resize
&& [[self window] title] != NULL)
and let me know if it fixes the resizing problem?
Thanks!
--
Alan Third
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#26643
; Package
emacs
.
(Tue, 25 Apr 2017 19:06:02 GMT)
Full text and
rfc822 format available.
Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):
> Unfortunately removing the title test introduces a crash bug under
> certain circumstances.
>
> Can you try replacing it with this:
>
> else if (fs_state == FULLSCREEN_NONE && ! maximizing_resize
> && [[self window] title] != NULL)
>
> and let me know if it fixes the resizing problem?
>
> Thanks!
This does fix the issue. Thanks for the help!
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#26643
; Package
emacs
.
(Tue, 25 Apr 2017 19:06:02 GMT)
Full text and
rfc822 format available.
Added tag(s) fixed.
Request was from
Alan Third <alan <at> idiocy.org>
to
control <at> debbugs.gnu.org
.
(Tue, 25 Apr 2017 21:55:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 26.1, send any further explanations to
26643 <at> debbugs.gnu.org and "Charles A. Roelli" <charles <at> aurox.ch>
Request was from
Alan Third <alan <at> idiocy.org>
to
control <at> debbugs.gnu.org
.
(Tue, 25 Apr 2017 21:55:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 24 May 2017 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 30 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.