From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: Scrollbar thumbs Date: Tue, 03 Nov 2009 11:02:53 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1257242597 28030 80.91.229.12 (3 Nov 2009 10:03:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Nov 2009 10:03:17 +0000 (UTC) Cc: grischka , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 03 11:03:10 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N5GEH-0004MD-I0 for ged-emacs-devel@m.gmane.org; Tue, 03 Nov 2009 11:03:09 +0100 Original-Received: from localhost ([127.0.0.1]:47373 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5GEH-0000QH-33 for ged-emacs-devel@m.gmane.org; Tue, 03 Nov 2009 05:03:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N5GEB-0000On-6D for emacs-devel@gnu.org; Tue, 03 Nov 2009 05:03:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5GE6-0000Mt-Ab for emacs-devel@gnu.org; Tue, 03 Nov 2009 05:03:02 -0500 Original-Received: from [199.232.76.173] (port=41370 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5GE6-0000Mq-8G for emacs-devel@gnu.org; Tue, 03 Nov 2009 05:02:58 -0500 Original-Received: from iwfs.imcode.com ([82.115.149.64]:34215 helo=gate.verona.se) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N5GE5-0007TQ-GU for emacs-devel@gnu.org; Tue, 03 Nov 2009 05:02:57 -0500 Original-Received: from localhost.localdomain (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id nA3A2qZt008878; Tue, 3 Nov 2009 11:02:52 +0100 In-Reply-To: (Stefan Monnier's message of "Mon, 02 Nov 2009 09:15:00 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:116596 Archived-At: Stefan Monnier writes: >> I guess it is just that these GUI toolkit people usually are trained to >> deliver good looking and pixel-precise artwork and in consequence might have >> some difficulties to imagine how it can be "pretty much impossibe" for some >> editor to know how many lines it is actually displaying (or anyway that such >> editor would still want to use their scrollbars). > > No, sadly, it is really due to dogma: your above explanation would make > perfect sense, but in practice, even after showing them our problem, > they still insist that it would be wrong for them to remove the chunks > of code that enforce the "scrollbar metaphor" by preventing the client > from getting the events that indicate that the user wants to move the > thumb's bottom further down than the scrollbar's own bottom. > > > Stefan > I dont use scrollbars, so I dont really know, but would it be possible to subclass the gtk scrollbars to achive our desired behaviour? -- Joakim Verona