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

Dock #2

Open
ahousseini opened this issue Dec 9, 2015 · 6 comments
Open

Dock #2

ahousseini opened this issue Dec 9, 2015 · 6 comments

Comments

@ahousseini
Copy link

If there is a policy or a profile the dock appears and overlays the ProgressScreen until the process is killed. Any idea how to prevent this behaviour?

@jason-tratta
Copy link
Owner

I'm not sure I follow, could you elaborate a bit more? Are you saying that if a policy fires the dock appears through the Progress screen? If so...are your policies adding items to the dock?

@ahousseini
Copy link
Author

I created a policy which customize the dock with dockutil. After this policy completed the dock stays over the ProgressScreen app. So you can't see the progress bar. The ProgressScreen should get back in front. Hope it's more clear.

@jason-tratta
Copy link
Owner

Yup..thanks. That makes perfect sense. I'll see if I can add a method in the tries to keep the app up front in a future update.

@ygini
Copy link

ygini commented Nov 10, 2016

Here is a sample code that you should use to manage your full screen state as a real kiosk mode:

        SetSystemUIMode(kUIModeAllHidden,
         kUIOptionDisableAppleMenu
         | kUIOptionDisableProcessSwitch
         | kUIOptionDisableForceQuit
         | kUIOptionDisableSessionTerminate);

        [self enterFullScreenMode:[NSScreen mainScreen] withOptions:[NSDictionary dictionaryWithObject:[NSNumber numberWithBool:YES] forKey:NSFullScreenModeAllScreens]];

This is Objective-C code from a custom NSView (self self is the NSView).

Using this code for full screen, if I kill the dock in background, the kiosk mode is still maintained.

@jason-tratta
Copy link
Owner

@ygini Thanks, I'll check this out.

@loceee
Copy link

loceee commented Nov 16, 2016

This will be a valuable addition to make ProgressScreen more awesomesauce.

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

4 participants