From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Scrollbar thumbs Date: Thu, 05 Nov 2009 10:21:13 +0100 Message-ID: <4AF29909.4070301@swipnet.se> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1257412900 5764 80.91.229.12 (5 Nov 2009 09:21:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Nov 2009 09:21:40 +0000 (UTC) Cc: grischka , Stefan Monnier , emacs-devel@gnu.org To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 05 10:21:33 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 1N5yX3-0005FD-Uq for ged-emacs-devel@m.gmane.org; Thu, 05 Nov 2009 10:21:30 +0100 Original-Received: from localhost ([127.0.0.1]:53952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5yX2-0008Tn-Uy for ged-emacs-devel@m.gmane.org; Thu, 05 Nov 2009 04:21:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N5yWx-0008TZ-Ae for emacs-devel@gnu.org; Thu, 05 Nov 2009 04:21:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5yWt-0008Sf-NQ for emacs-devel@gnu.org; Thu, 05 Nov 2009 04:21:23 -0500 Original-Received: from [199.232.76.173] (port=47950 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5yWt-0008Sc-KO for emacs-devel@gnu.org; Thu, 05 Nov 2009 04:21:19 -0500 Original-Received: from proxy1.bredband.net ([195.54.101.71]:35233) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N5yWs-0005NX-La for emacs-devel@gnu.org; Thu, 05 Nov 2009 04:21:19 -0500 Original-Received: from iph1.telenor.se (195.54.127.132) by proxy1.bredband.net (7.3.140.3) id 4AD3E1C0009A208F for emacs-devel@gnu.org; Thu, 5 Nov 2009 10:21:17 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhhLAFMn8kpV4S1uPGdsb2JhbACBT4gGkgEBAQEBN8I/hD0E X-IronPort-AV: E=Sophos;i="4.44,685,1249250400"; d="scan'208";a="63113355" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by iph1.telenor.se with ESMTP; 05 Nov 2009 10:21:16 +0100 Original-Received: from [10.225.32.53] (unknown [193.45.43.33]) by coolsville.localdomain (Postfix) with ESMTPSA id 4D43B7FA07B; Thu, 5 Nov 2009 10:21:15 +0100 (CET) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4 In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:116655 Archived-At: On 2009-11-03 11:02, joakim@verona.se wrote: > 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? I looked at it once, but no. You can't override the basic event handling in scrollbars, so you still won't get any events when the thumb hit the bottom. Jan D.