Re: Focus ring of NSComboBox and text field visible through overlaid views

2017-06-30 Thread Navneet Kumar
Hi, Thanks for the valuable insights. I think I’m gonna go with child windows and not sheets as I have to support os x 10.7. Thanks again, Navneet > On 30-Jun-2017, at 11:25 PM, Quincey Morris > wrote: > > On Jun 30, 2017, at 08:07 , Navneet Kumar > wrote: >> >> I

Re: Focus ring of NSComboBox and text field visible through overlaid views

2017-06-30 Thread Quincey Morris
On Jun 30, 2017, at 08:07 , Navneet Kumar wrote: > > I also have a small project uploaded […] > > Which shows both the focus ring problem and tooltip problem I don’t know why, but the focus ring doesn’t bleed through for me (Xcode 9, macOS 10.12). However, I think your solution in the test pr

Re: Focus ring of NSComboBox and text field visible through overlaid views

2017-06-30 Thread Navneet Kumar
Hi, Thanks for the reply. Yes I admit that question was at best vague. And the last couple of lines of your email says correctly, that I have to float alerts on top of the rest of the window contents. But not just alerts…. Here is the scenario: I have the window with a lot of UI elements like a

Re: Focus ring of NSComboBox and text field visible through overlaid views

2017-06-27 Thread Quincey Morris
On Jun 27, 2017, at 06:57 , Navneet Kumar wrote: > > A custom view when overlapped with a transparent view (subview to window’s > contentView) and a subview on top of transparent view, also shows the custom > cursor and tooltip assigned to the custom view. Even when the custom view’s > trackin

Re: Focus ring of NSComboBox and text field visible through overlaid views

2017-06-27 Thread Navneet Kumar
Hi everyone, The problem is still there. The problem is everywhere in my project. A custom view when overlapped with a transparent view (subview to window’s contentView) and a subview on top of transparent view, also shows the custom cursor and tooltip assigned to the custom view. Even when the

Focus ring of NSComboBox and text field visible through overlaid views

2017-05-16 Thread Navneet Kumar
Hi, I have the following view hierarchy in question: self.window.contentView --subview--> Transparent view (in code, main purpose to have a drop shadow for subview) of same size with setWantsLayer and a drop shadow, also acceptsFirstResponder --subview--> a smaller centred view (subclassed for