Carbon: resize event from accessibility API

2007-05-21 Thread David Reitter

Begin forwarded message:

From: Pedro Pinto [EMAIL PROTECTED]
Date: 18 May 2007 22:11:38 BDT
To: [EMAIL PROTECTED]
Subject: [Aquamacs-bugs] (no subject)

Enter your bug report here.

Hi there,


Aquamacs seems to react poorly when told to resize one of its windows
through the accessibility API. To reproduce this bug run the
UIElementInspector app (http://developer.apple.com/samplecode/
UIElementInspector/index.html) using it to set change AXSize property
of the Aquamacs window. The window bill resize, but the scrollbars
and general layout will not be redrawn to fit the new size.

-pp


In GNU Emacs 22.0.50.1 (i386-apple-darwin8.6.1)
  of 2006-06-26 on plume.sr.unh.edu - Aquamacs Distribution 0.9.9d
X server distributor `Apple Computers', version 10.4.9
configured using `configure '--without-x' '--prefix=/usr/local''

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: nil
   locale-coding-system: iso-8859-1
   default-enable-multibyte-characters: t

Major mode: Text

Minor modes in effect:
   icomplete-mode: t
   display-time-mode: t
   iswitchb-mode: t
   global-auto-revert-mode: t
   smart-frame-positioning-mode: t
   aquamacs-styles-mode: t
   recentf-mode: t
   encoded-kbd-mode: t
   osx-key-mode: t
   mac-inline-input-method-mode: t
   delete-selection-mode: t
   pc-selection-mode: t
   cua-mode: t
   tooltip-mode: t
   tool-bar-mode: 0
   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
   unify-8859-on-encoding-mode: t
   utf-translate-cjk-mode: t
   auto-compression-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
down-mouse-1 mouse-1 menu-bar help-menu r
eport-emacs-bug

Recent messages:
Loading /Users/pedro/emacs-site-lisp/pp-customizations/ruby-pp.el
(source)...done
Loading /Users/pedro/emacs-site-lisp/pp-customizations/scheme-pp.el
(source)...done
Loading ido...done
Loading icomplete...done
Loading /Users/pedro/Library/Preferences/Aquamacs Emacs/
customizations.el (source)...done
Loading /Users/pedro/Library/Preferences/Aquamacs Emacs/frame-
positions.el (source)...done
For an introduction to Aquamacs Emacs, type Apple-?.  Copyright (C)
2006 Free
Software Foundation, Inc.,  D. Reitter. No Warranty. You may
redistribute
Aquamacs under the GNU General Public License. Type C-h C-c to view.
Loading emacsbug...done


Pedro Pinto
CTO
Quarksoft, LLC
6580 Via del Oro
San Jose, CA  95119
(408) 334-4719
[EMAIL PROTECTED]
http://www.quarksoftllc.com





___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Carbon: resize event from accessibility API

2007-05-21 Thread YAMAMOTO Mitsuharu
 On Mon, 21 May 2007 12:03:12 +0100, David Reitter [EMAIL PROTECTED] 
 said:

 Begin forwarded message:

 From: Pedro Pinto [EMAIL PROTECTED]
 Date: 18 May 2007 22:11:38 BDT
 To: [EMAIL PROTECTED]
 Subject: [Aquamacs-bugs] (no subject)

 Aquamacs seems to react poorly when told to resize one of its
 windows through the accessibility API. To reproduce this bug run the
 UIElementInspector app (http://developer.apple.com/samplecode/
 UIElementInspector/index.html) using it to set change AXSize
 property of the Aquamacs window. The window bill resize, but the
 scrollbars and general layout will not be redrawn to fit the new
 size.

Does this change work?

 YAMAMOTO Mitsuharu
[EMAIL PROTECTED]

*** src/macterm.c.~1.214.2.2.~  Sat May 19 14:08:55 2007
--- src/macterm.c   Mon May 21 21:06:22 2007
*** mac_handle_window_event (next_handler, e
*** 9893,9898 
--- 9893,9899 
  width = bounds.right - bounds.left;
  height = bounds.bottom - bounds.top;
  mac_handle_size_change (f, width, height);
+ mac_wakeup_from_rne ();
}
}
  


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug