Re: Carbon: scroll bar rendering problem

2007-03-03 Thread David Reitter

On 3 Mar 2007, at 00:58, YAMAMOTO Mitsuharu wrote:


(Cocoa) Emacs.app seems to do something uncommon to other
platform/toolkit ports with respect to the scroll bar width and the
frame internal border width in order to get rid of the gap between the
rightmost scroll bars and the right edge of the frame.  But that also
introduces some display glitches that are not seen on other platforms
(try C-x 3 or (set-frame-parameter nil 'internal-border-width 10)).


It seems that the gap appears on the left side of the buffer instead,  
which is much nicer. I see a scrolling glitch with C-x 3, but apart  
from that, nothing out of the ordinary (Emacs.app 9.0 pre-3).  There  
is still the vertical gap between the tool-bar and the scroll-bar,  
but that's another story and presumably easy to fix.


Would this be hard to do? (Andy said he was going to take a quick  
look at the code.)





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


Re: Carbon: scroll bar rendering problem

2007-03-03 Thread YAMAMOTO Mitsuharu
 On Sat, 3 Mar 2007 08:57:02 +, David Reitter [EMAIL PROTECTED] said:

 On 3 Mar 2007, at 00:58, YAMAMOTO Mitsuharu wrote:
 (Cocoa) Emacs.app seems to do something uncommon to other
 platform/toolkit ports with respect to the scroll bar width and the
 frame internal border width in order to get rid of the gap between
 the rightmost scroll bars and the right edge of the frame.  But
 that also introduces some display glitches that are not seen on
 other platforms (try C-x 3 or (set-frame-parameter nil
 'internal-border-width 10)).

 It seems that the gap appears on the left side of the buffer
 instead, which is much nicer. I see a scrolling glitch with C-x 3,
 but apart from that, nothing out of the ordinary (Emacs.app 9.0
 pre-3).  There is still the vertical gap between the tool-bar and
 the scroll-bar, but that's another story and presumably easy to fix.

With (set-frame-parameter nil 'internal-border-width 10) and C-x 3,
the scroll bar of the left window and the left fringe of the right
window get overlapped on Emacs.app 9.0rc1.

 Would this be hard to do? (Andy said he was going to take a quick
 look at the code.)

Sorry, I don't understand what you mean by `this'.  If you mean
porting Emacs.app code to Carbon Emacs, I'd not take a risk to make
the code different from other platforms and introduce bugs like above
especially at this stage.

 YAMAMOTO Mitsuharu
[EMAIL PROTECTED]


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


Re: Carbon: scroll bar rendering problem

2007-03-02 Thread YAMAMOTO Mitsuharu
 On Sun, 25 Feb 2007 08:52:03 +, David Reitter [EMAIL PROTECTED] 
 said:

 This one is specific to the Carbon port, I believe

I don't think so.

  http://lists.gnu.org/archive/html/emacs-pretest-bug/2005-07/msg00326.html
  http://lists.gnu.org/archive/html/emacs-devel/2004-10/msg00291.html

Actually, similar gaps can be seen at least with Xaw3d, Motif, GTK+,
and W32 scroll bars.

 From: andy.somogyi [EMAIL PROTECTED] Date: 25 February
 2007 02:39:50 GMT To: [EMAIL PROTECTED] Subject:
 [Aquamacs-bugs] Aquamacs scroll bar rendering problem.
 
 Hello
 
 Aquamacs seems to have a rendering problem with the right scroll
 bar.  In Aquamacs, the right scroll bar is rendered about 10 - 15
 pixels in from the right edge of the window. In the other Mac Emacs
 version such as Emacs.app, the right scroll bar is rendered
 correctly, flush with the right edge of the window.

(Cocoa) Emacs.app seems to do something uncommon to other
platform/toolkit ports with respect to the scroll bar width and the
frame internal border width in order to get rid of the gap between the
rightmost scroll bars and the right edge of the frame.  But that also
introduces some display glitches that are not seen on other platforms
(try C-x 3 or (set-frame-parameter nil 'internal-border-width 10)).

 YAMAMOTO Mitsuharu
[EMAIL PROTECTED]


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