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: Scrollbars on GTK. Date: Mon, 03 Nov 2008 08:46:39 +0100 Message-ID: <490EAC5F.8090307@swipnet.se> References: <873ai91l0z.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1225698423 3910 80.91.229.12 (3 Nov 2008 07:47:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2008 07:47:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?ISO-8859-1?Q?=D3scar_Fuentes?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 03 08:48:05 2008 connect(): Connection refused 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 1KwuAN-0002IQ-0Z for ged-emacs-devel@m.gmane.org; Mon, 03 Nov 2008 08:48:03 +0100 Original-Received: from localhost ([127.0.0.1]:34584 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kwu9G-00006n-1K for ged-emacs-devel@m.gmane.org; Mon, 03 Nov 2008 02:46:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kwu9B-00006e-0k for emacs-devel@gnu.org; Mon, 03 Nov 2008 02:46:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kwu99-00006J-Ox for emacs-devel@gnu.org; Mon, 03 Nov 2008 02:46:48 -0500 Original-Received: from [199.232.76.173] (port=54811 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kwu99-00006C-DB for emacs-devel@gnu.org; Mon, 03 Nov 2008 02:46:47 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.153]:65348) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kwu98-0008CN-Jo for emacs-devel@gnu.org; Mon, 03 Nov 2008 02:46:47 -0500 Original-Received: by fg-out-1718.google.com with SMTP id l26so2326913fgb.30 for ; Sun, 02 Nov 2008 23:46:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding:sender; bh=lGTmYJZfsvKp4PAqTXg/+QgcRCKOZ9Aj4ilzgaERsqE=; b=B6YLasbEw84tKQ3d/PLTpxiHMHN1RghhmbDaRY62vrQrP75aKAIz5ZFznsNguJCbAB 1V8uSIfj77y3gRvqsO0lQrdBEz01Pj3eFn7KhRXG1tgSMqFiSAp4PaLXRwvkOCovhNsF dmXaF+Uz76XHprXe2oNC82xBgxPi3xi1squ/4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :sender; b=mMaBCb1MASrjTHBpOlETRJNCHIRWGorV5UKg0mvxKO7Wj2Q/ZlvpUUo9PyCrGqeFlM RAThB04+M8UIDSjwHtNfCcBChjzgJ4quI4yT7dVU8zzxAes+oNOyZd8qcENmms9Lc42v kd8dB1JsCaBuvknG3o8BnhRmKKidP14YUs04A= Original-Received: by 10.86.28.2 with SMTP id b2mr10562675fgb.54.1225698404665; Sun, 02 Nov 2008 23:46:44 -0800 (PST) Original-Received: from ?10.225.40.37? ([193.45.43.33]) by mx.google.com with ESMTPS id 3sm8184097fge.3.2008.11.02.23.46.40 (version=SSLv3 cipher=RC4-MD5); Sun, 02 Nov 2008 23:46:43 -0800 (PST) User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:105287 Archived-At: Óscar Fuentes skrev: > Miles Bader writes: > >> Óscar Fuentes writes: >>> The vertical scrollbar is a poor indication of the view position on the >>> buffer. For instance, I'm looking at a buffer that shows all the text >>> except for the last two lines; the thumb's height covers less than half >>> the space occupied by the scroll bar and it is on the highest >>> position. If I move the point to the end of the buffer, the thumb moves >>> a bit down but still it's lower end is mid way to the bottom of the >>> scrollbar. >> It's because the gtk scrollbar isn't flexible enough to cope with all >> the possibilities allowed by emacs' text display. > > [snipped detailed explanation] > > Thanks. Almost none of the apps I use are based on GTK and I was > wondering if this behaviour shows a limitation in Emacs or in GTK. It is not a limitation per se, but it has been descided that Emacs shall have the ability to scroll end of buffer to the top of the window with the scroll bar. That means tha Emacs differs from practically all apps, GTK or not. > > Is this problem present in all the other X toolkits supported by Emacs? > More or less. I think the native scroll bar handles this best. Hardly surprising as the native scroll bar does not have any tool kit limitations. AFAIK, most apps don't see this as a limitation, rather a normal behaviour. I have not seen any app apart from Emacs where thumb at the bottom does not mean end of buffer at end of window and no more downwards scrolling possible. Jan D.