all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Alan Third <alan@idiocy.org>
Cc: 22660@debbugs.gnu.org
Subject: bug#22660: [PATCH] Implement horizontal scroll-bars in NS port
Date: Fri, 29 Apr 2016 10:36:52 +0200	[thread overview]
Message-ID: <57231D24.9050705@gmx.at> (raw)
In-Reply-To: <20160428190032.GA47456@breton.local>

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

 >> I believe the only behaviour of that sort is that the scroll-bars get
 >> disabled when they cover the whole area. On OS X that just means
 >> they're greyed out, but I guess GNUStep removes them completely. It
 >> could be worth changing that section of the code to be Cocoa only, so
 >> in GNUStep they stay visible.
 >
 > Having checked the code, this is wrong. Vertical scroll-bars are only
 > automatically disabled if there are less than 5 lines in the window.
 > It must be part of GNUStep's standard behaviour to hide the
 > scroll-bars. It wouldn't be something you can configure, would it?
 > GNUStep's look seems quite configurable.

IIUC there are two issues involved.  In GNUStep-scrolllbars-1.png, the
lower window has less than 5 lines and exhibits the behavior you
describe here with the scrollbar area completely empty.  The upper
window has more than 5 lines and the scroll bar background is drawn but
no slider is shown.

GNUStep-scrolllbars-2.png depicts another issue which happens
immediately after enabling horizontal scroll bars via the menu.  (BTW,
vertical scrollbar menu entries are never checked here for whatever
reason, the horizontal menu entry is.)  As you can see, the vertical
scroll bar covers the area used by the horizontal one.  After a few
operations like resizing or splitting, that effect is gone and scroll
bars appear correctly as in GNUStep-scrolllbars-3.png.

martin

[-- Attachment #2: GNUStep-scrolllbars-1.png --]
[-- Type: image/png, Size: 21948 bytes --]

[-- Attachment #3: GNUStep-scrolllbars-2.png --]
[-- Type: image/png, Size: 18999 bytes --]

[-- Attachment #4: GNUStep-scrolllbars-3.png --]
[-- Type: image/png, Size: 36325 bytes --]

  reply	other threads:[~2016-04-29  8:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-14 11:04 bug#22660: No horizontal scroll bars in NextStep build [OSX] Angelo Graziosi
2016-02-14 12:20 ` Alan Third
2016-02-14 15:33   ` Angelo Graziosi
2016-02-15 10:57 ` martin rudalics
2016-02-15 17:48   ` Alan Third
2016-04-27 20:20 ` bug#22660: [PATCH] Implement horizontal scroll-bars in NS port Alan Third
2016-04-28  6:33   ` martin rudalics
2016-04-28  9:16     ` Alan Third
2016-04-28 19:00       ` Alan Third
2016-04-29  8:36         ` martin rudalics [this message]
2016-04-30 15:35           ` Alan Third
2016-04-30 20:53             ` bug#22660: [PATCH v2] " Alan Third
2016-05-01  8:24               ` martin rudalics
2016-05-01  8:50                 ` Alan Third
2016-05-01 11:08                   ` martin rudalics

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

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

  git send-email \
    --in-reply-to=57231D24.9050705@gmx.at \
    --to=rudalics@gmx.at \
    --cc=22660@debbugs.gnu.org \
    --cc=alan@idiocy.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.