cocoa - Window moves when clicking control in title region with titlebarAppearsTransparent -
i have window uses yosemite titlebarappearstransparent
, titlevisibility = nswindowtitlehidden
properties extend content under title region. movablebywindowbackground
.
this works fine, if have control, e.g. nspopupbutton
, in titlebar region, when click , attempt choose menu item, whole window moves (while menu stays put).
here's demo:
i've tried subclassing nspopupbutton
, overriding mousedowncanmovewindow
, doesn't (it's called, apparently ignored).
any ideas?
edit: created demo project reproduce issue. seems related embedding popup inside nssplitviewcontroller
. can't avoid that, though, i'm not sure solution might be.
here's demo project, if want try it.
edit 2: apparently os bug, no workaround. filed radar #21973457.
Comments
Post a Comment