unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#10962: 24.0.94; Mac Cocoa build hides under menu bar
@ 2012-03-06 18:13 Peter Sturdza
  2012-04-02 22:02 ` bug#10962: 24.0.95 + extra information Peter Sturdza
  2012-04-09 10:02 ` bug#10962: 24.0.94; Mac Cocoa build hides under menu bar Jan Djärv
  0 siblings, 2 replies; 5+ messages in thread
From: Peter Sturdza @ 2012-03-06 18:13 UTC (permalink / raw)
  To: 10962

[-- Attachment #1: Type: text/plain, Size: 2916 bytes --]

--text follows this line--
Switching back and forth between workspaces causes the Emacs window to
sometimes rise up and slide underneath the menu bar. Also happens when
switching from higher to lower resolutions (such as when unplugging
laptop from external monitor). The title bar of the Emacs window may
become partially or competely hidden beneath the Mac OS menu bar.

To reproduce, resize Emacs window to maximize or nearly maximize height
on screen, then change workspace back and forth, then click in Emacs
window. Emacs window should then move upwards and slide underneath the
Mac menu bar. 


In GNU Emacs 24.0.94.1 (i386-apple-darwin10.8.0, NS apple-appkit-1038.36)
of 2012-02-27 on ednygma.danet
Windowing system distributor `Apple', version 10.3.1038
Configured using:
`configure '--with-ns' 'CFLAGS=-m32''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<down-mouse-1> <mouse-1> <double-down-mouse-1> <double-mouse-1> 
<down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> <double-down-mouse-1> 
<double-mouse-1> <triple-down-mouse-1> <triple-mouse-1> 
s-x M-x r e p o r t - e m a c s - b u g <return>

Recent messages:
Loading delsel...done
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils delsel cus-start cus-load
time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win
tool-bar dnd fontset image fringe lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces
cus-face files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process dbusbind ns multi-tty emacs)

[-- Attachment #2: Type: text/html, Size: 5004 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#10962: 24.0.95 + extra information
  2012-03-06 18:13 bug#10962: 24.0.94; Mac Cocoa build hides under menu bar Peter Sturdza
@ 2012-04-02 22:02 ` Peter Sturdza
  2012-04-06 12:08   ` Jan Djärv
  2012-04-09 10:02 ` bug#10962: 24.0.94; Mac Cocoa build hides under menu bar Jan Djärv
  1 sibling, 1 reply; 5+ messages in thread
From: Peter Sturdza @ 2012-04-02 22:02 UTC (permalink / raw)
  To: 10962@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 387 bytes --]

This bug still occurs with 24.0.95 -- this time I built it as a 64-bit application.

I noticed one extra detail necessary to reproduce this. When resizing the window to full height by dragging the lower-right corner of the window, sometimes the bottom of the Emacs window goes a bit below the bottom of the screen. This seems to be necessary to trigger the behavior I noticed previously.

[-- Attachment #2: Type: text/html, Size: 558 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#10962: 24.0.95 + extra information
  2012-04-02 22:02 ` bug#10962: 24.0.95 + extra information Peter Sturdza
@ 2012-04-06 12:08   ` Jan Djärv
  0 siblings, 0 replies; 5+ messages in thread
From: Jan Djärv @ 2012-04-06 12:08 UTC (permalink / raw)
  To: Peter Sturdza; +Cc: 10962@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 984 bytes --]

Hello.

3 apr 2012 kl. 00:02 skrev Peter Sturdza:

> This bug still occurs with 24.0.95 -- this time I built it as a 64-bit application.
> 
> I noticed one extra detail necessary to reproduce this. When resizing the window to full height by dragging the lower-right corner of the window, sometimes the bottom of the Emacs window goes a bit below the bottom of the screen. This seems to be necessary to trigger the behavior I noticed previously.

I can reprodude this.  I guess the real bug is that you can resize it below the bottom.  I can't do that if I resize from the bottom of the frame, say in the middle.  The corner has special code to try to redraw the frame contents while resizing.  Not that it works that well.  If we remove the special case, this bug don't happen.  But then we have to replace the redraw-while-resize with something.  I haven't fugured it out yet.  Anyway, this is a regression from emacs 23, I can't resize below the bottom there.

	Jan D.


[-- Attachment #2: Type: text/html, Size: 1516 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#10962: 24.0.94; Mac Cocoa build hides under menu bar
  2012-03-06 18:13 bug#10962: 24.0.94; Mac Cocoa build hides under menu bar Peter Sturdza
  2012-04-02 22:02 ` bug#10962: 24.0.95 + extra information Peter Sturdza
@ 2012-04-09 10:02 ` Jan Djärv
       [not found]   ` <1334192033.71999.YahooMailNeo@web160106.mail.bf1.yahoo.com>
  1 sibling, 1 reply; 5+ messages in thread
From: Jan Djärv @ 2012-04-09 10:02 UTC (permalink / raw)
  To: Peter Sturdza; +Cc: 10962-done

[-- Attachment #1: Type: text/plain, Size: 3278 bytes --]

Hello.

I've checked in a fix for this in the emacs-24 branch (bzr branch bzr://bzr.savannah.gnu.org/emacs/emacs-24).  Please try it.

Thanks,

	Jan D.

6 mar 2012 kl. 19:13 skrev Peter Sturdza:

> --text follows this line--
> Switching back and forth between workspaces causes the Emacs window to
> sometimes rise up and slide underneath the menu bar. Also happens when
> switching from higher to lower resolutions (such as when unplugging
> laptop from external monitor). The title bar of the Emacs window may
> become partially or competely hidden beneath the Mac OS menu bar.
> 
> To reproduce, resize Emacs window to maximize or nearly maximize height
> on screen, then change workspace back and forth, then click in Emacs
> window. Emacs window should then move upwards and slide underneath the
> Mac menu bar. 
> 
> 
> In GNU Emacs 24.0.94.1 (i386-apple-darwin10.8.0, NS apple-appkit-1038.36)
> of 2012-02-27 on ednygma.danet
> Windowing system distributor `Apple', version 10.3.1038
> Configured using:
> `configure '--with-ns' 'CFLAGS=-m32''
> 
> Important settings:
>   value of $LC_ALL: nil
>   value of $LC_COLLATE: nil
>   value of $LC_CTYPE: nil
>   value of $LC_MESSAGES: nil
>   value of $LC_MONETARY: nil
>   value of $LC_NUMERIC: nil
>   value of $LC_TIME: nil
>   value of $LANG: en_US.UTF-8
>   value of $XMODIFIERS: nil
>   locale-coding-system: utf-8-unix
>   default enable-multibyte-characters: t
> 
> Major mode: Lisp Interaction
> 
> Minor modes in effect:
>   tooltip-mode: t
>   mouse-wheel-mode: t
>   menu-bar-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   blink-cursor-mode: t
>   auto-composition-mode: t
>   auto-encryption-mode: t
>   auto-compression-mode: t
>   line-number-mode: t
>   transient-mark-mode: t
> 
> Recent input:
> <down-mouse-1> <mouse-1> <double-down-mouse-1> <double-mouse-1> 
> <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> <double-down-mouse-1> 
> <double-mouse-1> <triple-down-mouse-1> <triple-mouse-1> 
> s-x M-x r e p o r t - e m a c s - b u g <return>
> 
> Recent messages:
> Loading delsel...done
> For information about GNU Emacs and the GNU system, type C-h C-a.
> 
> Load-path shadows:
> None found.
> 
> Features:
> (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
> easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
> mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045
> ietf-drums mm-util mail-prsvr mail-utils delsel cus-start cus-load
> time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win
> tool-bar dnd fontset image fringe lisp-mode register page menu-bar
> rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
> facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
> tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
> czech european ethiopic indian cyrillic chinese case-table epa-hook
> jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces
> cus-face files text-properties overlay sha1 md5 base64 format env
> code-pages mule custom widget hashtable-print-readable backquote
> make-network-process dbusbind ns multi-tty emacs)


[-- Attachment #2: Type: text/html, Size: 5543 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#10962: 24.0.94; Mac Cocoa build hides under menu bar
       [not found]   ` <1334192033.71999.YahooMailNeo@web160106.mail.bf1.yahoo.com>
@ 2012-04-12  5:56     ` Jan D.
  0 siblings, 0 replies; 5+ messages in thread
From: Jan D. @ 2012-04-12  5:56 UTC (permalink / raw)
  To: Peter Sturdza; +Cc: 10962@debbugs.gnu.org

Peter Sturdza skrev 2012-04-12 02:53:
> Jan,
>
> I tried a build from the emacs-24 branch with your fix. It is better.
> However, I find that the top of the Emacs window will sometimes get
> pulled down if I aggressively resize by rapidly pulling the resize
> corner to the bottom of the screen. That didn't happen before (although
> it is a less objectionable problem).

This is expected.  We have to get rid of the whole resize-corner special 
case before this is properly fixed, but that was a too big change for 
24.1.  Try pulling down outside of the corner, at the bottom of the 
window, and you should not get that effect.

>
> I also happened to notice that with two monitors (laptop open with an
> external monitor plugged in) that your fix did not take effect. The
> commit message seemed to imply that this is expected.
>

Yes.  If there are two or more monitors, we want to be able to resize 
into the other monitor(s).  But we don't know how the monitors are 
related to each other, so we allow resizing outside the current window. 
Unfortunately this is the same thing that allows the faulty behaviour.

This may also go away when the special case for the resize corner is 
removed.

	Jan D.






^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-04-12  5:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-06 18:13 bug#10962: 24.0.94; Mac Cocoa build hides under menu bar Peter Sturdza
2012-04-02 22:02 ` bug#10962: 24.0.95 + extra information Peter Sturdza
2012-04-06 12:08   ` Jan Djärv
2012-04-09 10:02 ` bug#10962: 24.0.94; Mac Cocoa build hides under menu bar Jan Djärv
     [not found]   ` <1334192033.71999.YahooMailNeo@web160106.mail.bf1.yahoo.com>
2012-04-12  5:56     ` Jan D.

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).