Small bug with Vertical sizing and Native Title Bar


#1

When a resizable window witha Native Title bar is moved up flush with the menu bar the vertical resizer no longer allows growing…only shrinking. (OS 10.5.6)

Steps to reproduce

  1. Launch JUCE Demo from the tip
  2. Swap to Use native window title bar
  3. Drag the window as close to the menu bar as it can go
  4. Try to resize

Moving it just 1 pixel down allows it to be resized properly

Problem appears to be somewhere in
NSRect NSViewComponentPeer::constrainRect (NSRect r)

and probably the constrainer->checkBounds function.


#2

Thanks, I’ll get on the case. I’ve just (yesterday) fixed a couple of related mac window sizing issues too, so make sure you’re using the tip.