Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Another issue with activating SRRecorderControl in container other than simple window #16

Closed
ealeksandrov opened this issue Jul 9, 2013 · 4 comments

Comments

@ealeksandrov
Copy link

This case is linked with #13.
I have popup panel for menubar application. Inside it has hierarchy of views, where I've inserted SRRecorderControl. On click it's just switching to "pressed" state with no further reaction.
If I am showing recorder in separate window with title bar it works normally.

Screenshot:
screen shot 2013-07-10 at 2 02 00

Main problem is my top NSPanel? How I can avoid it? Are there alternative ways to record shortkey, maybe without complex interface, using just simple button?

@Kentzo
Copy link
Owner

Kentzo commented Jul 10, 2013

@ealeksandrov How do you create that panel?

Could you upload demo project that would just have menubar item, pop-up panel and the SRRecorderControl on it?

@ealeksandrov
Copy link
Author

@Kentzo Thanks for response. Panel is created this way: https://github.com/shpakovski/Popup.
But while creating demo project, I found that SRRecorderControl panel is working fine, so it's just some mess in my inner views. I'll localize problem and report here about problem origin and solution (or will upload issue demo project).

@ealeksandrov
Copy link
Author

I found out, that SRRecorderControl is starting work normally when I delete this ImageView:
screen shot 2013-07-12 at 0 06 23

(view with SRRecorderControl inserted in container of tableview)

That's just left&right resizable border of popup with shadow. How can it affect controls? All buttons and textfields nearby are working normally.

@ealeksandrov
Copy link
Author

Solved for me with splitting this imageview into 2 parts on the sides.
+TableView beneath SRRecorderControl must be disabled (setEnabled:NO), when view with recorder appeared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants