unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David De La Harpe Golden <david@harpegolden.net>
To: "Stephen J. Turnbull" <stephen@xemacs.org>
Cc: Chong Yidong <cyd@stupidchicken.com>,
	YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>,
	Filipe Cabecinhas <filcab@gmail.com>,
	emacs-devel@gnu.org
Subject: Re: Native scrollbars? [was: visible-bell patch for Mac OS X]
Date: Sat, 13 Feb 2010 06:45:33 +0000	[thread overview]
Message-ID: <4B764A8D.6020802@harpegolden.net> (raw)
In-Reply-To: <4B763C71.7060807@harpegolden.net>

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

David De La Harpe Golden wrote:

> So I think the gtk+/emacs bug may show up (I don't actually see it on my 
> system, but my gtk+ might be too old)


Okay, I haven't replicated the full scrollbar-trashing thing the gtk+ 
guys mention, (possibly emacs nowadays avoids drawing over the scrollbar 
area in question so it's not a problem?), but I think I now see the 
issue that Yamamoto Mitsuharu was probably actually talking about -

when visible-bell flashes the first line of the window, part of the 
scrollbar is also inverse-video-d unless I use
GDK_NATIVE_WINDOWS=1 emacs

Contrast top right and bottom right in the two attached screenshots -
note how part of the scrollbar is inverted in the _nonative one
(the default, without gtk instructed to use "native" windows).*

It's quite a minor and transient effect (on my system anyway).  Still, I 
guess the flash inversion area in xterm.c/XTflash() is winding up a bit 
off somehow - the intent of the code does seem to be that scrollbars 
should be excluded from the area, but maybe it's only working for some 
cases.

(* the color difference in the visible bell effect in the main and 
minibuffer window in each screenshot is not significant, just due to my 
use of global-hl-line-mode)







[-- Attachment #2: emacs_gtk_visiblebell_native.png --]
[-- Type: image/png, Size: 14898 bytes --]

[-- Attachment #3: emacs_gtk_visiblebell_nonative.png --]
[-- Type: image/png, Size: 15076 bytes --]

  reply	other threads:[~2010-02-13  6:45 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-30 13:34 visible-bell patch for Mac OS X Filipe Cabecinhas
2010-01-31  3:34 ` Chong Yidong
2010-02-01  0:41   ` YAMAMOTO Mitsuharu
2010-02-01 15:56     ` Chong Yidong
2010-02-01 23:33       ` YAMAMOTO Mitsuharu
2010-02-02  1:40         ` YAMAMOTO Mitsuharu
2010-02-02  1:45           ` YAMAMOTO Mitsuharu
2010-02-02  8:47           ` Leo
2010-02-13  1:30         ` YAMAMOTO Mitsuharu
2010-02-13  1:51           ` David De La Harpe Golden
2010-02-13  3:54             ` Native scrollbars? [was: visible-bell patch for Mac OS X] Stephen J. Turnbull
2010-02-13  5:45               ` David De La Harpe Golden
2010-02-13  6:45                 ` David De La Harpe Golden [this message]
2010-02-13  7:32                   ` YAMAMOTO Mitsuharu
2010-02-13 13:32                   ` Jan Djärv
2010-02-13  9:00               ` Native scrollbars? David Kastrup
2010-02-13 10:02                 ` Eli Zaretskii
2010-02-13 12:23                 ` Jan Djärv
2010-02-13 12:46                   ` David Kastrup
2010-02-13 13:40                     ` Jan Djärv
2010-02-13 14:26                       ` David Kastrup
2010-02-13 13:50                     ` Stephen J. Turnbull
2010-02-13  6:45             ` visible-bell patch for Mac OS X YAMAMOTO Mitsuharu
2010-02-13  7:01               ` David De La Harpe Golden
2010-02-13  7:54               ` Jan Djärv

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B764A8D.6020802@harpegolden.net \
    --to=david@harpegolden.net \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=filcab@gmail.com \
    --cc=mituharu@math.s.chiba-u.ac.jp \
    --cc=stephen@xemacs.org \
    /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 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).