bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #40761] NSScroller -rectForPart: NSScrollerIncrementLine returns ze


From: Jeff Teunissen
Subject: [bug #40761] NSScroller -rectForPart: NSScrollerIncrementLine returns zero
Date: Sun, 01 Dec 2013 00:21:26 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20131101 Firefox/24.0 Iceweasel/24.1.0

URL:
  <http://savannah.gnu.org/bugs/?40761>

                 Summary: NSScroller -rectForPart: NSScrollerIncrementLine
returns zero
                 Project: GNUstep
            Submitted by: Deek
            Submitted on: Sat 30 Nov 2013 07:21:25 PM EST
                Category: Gui/AppKit
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

In multi-page mode, TextEdit sends [horizontalScroller rectForPart:
NSScrollerIncrementLine] to determine the height of the horizontal scroll bar,
for inserting an NSPopUpButton onto the end of it.

All is well, until/unless the window is wide enough that no scroll
buttons/thumb are needed, at which point the button disappears as well.

After some investigation, the reason is that the above call returns zero when
the scroller is not displaying its controls. On OpenStep, and most likely Mac
OS X, the rects do not change just because the controls are not being
displayed.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40761>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]