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:

imgur

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

Popular posts from this blog

python - jinja2: TemplateSyntaxError: expected token ',', got 'string' -

Qt4: how to send QString inside a struct via QSharedMemory -

node.js - NodeJS remote terminal to Dropbear OpenWRT-Server -