disable dock popping up with mouseover when in full screen - macos

When the window is full screen, I don't want the dock to show up. A lot of times the application I am working with in full screen has some buttons and handles at the bottom of the page, and as soon as I move the mouse down to click on a button dock pops up and I click mistakenly on an item in dock. I don't remember I had this issue in previous versions of OSX but I am not too sure. I am currently on OSX El Capitan.

You can set long interval to pop the dock up. Run this code in your terminal to pop the dock up in 15 seconds.
defaults write com.apple.Dock autohide-delay -float 15 && killall Dock
It works for me.

Related

Use non-native fullscreen window mode in PhpStorm on macOS

How can I configure PhpStorm to use the "non-native" fullscreen mode? I'd like PhpStorm to be fullscreen (without the macOS top menu bar, etc), in the same window (without creating a new window that I have to scroll between).
The terminal for macOS iTerm2 have this setting. You can choose to remove the tick from "Native full screen windows". When this tick is removed, the fullscreen mode will simply take out all space in the window, without creating a new separate window.
Native fullscreen example
Notice how a new separate "window" is created called "PhpStorm"
Non-native fullscreen example
Notice how theres still one window called "Desktop". The iTerm window fills out the whole screen though.
the only way you can do it at the moment is by adjusting the dock in mac to hide menu automatically and then spread the editor to wider and higher setting
click right on the dock in mac and goto settings and hide menu works for me
i am suffering from same issue lol after i saw iterm2 :P

Cannot restore topmost window from window menu (OSX)

I create a window and set level to NSStatusWindowLevel. In Dock Preferences, I enable "Minimize windows into application". After I minimize the window into dock icon, the window disappears when I select it (to restore) from window menu.
My OS X version is 10.11. When I try on OS X 10.6, it works fine.
Is this a bug of Cocoa? How can I overcome this issue?
I overcome this issue by this trick:
Before miniaturize, set window level to NSNormalWindowLevel
Observe NSWindowDidDeminiaturize notification
Restore window level to NSStatusWindowLevel in notification handler.

How can I set right click->Options->Keep in Dock on a program that only runs for 10 seconds?

I have a program (.app bundle) that I wrote for OS X Mountain Lion. It performs a task that only I need and it only runs for 10 seconds. Once a day, I click on it (Launchpad->click my app) and 10 seconds later, it is done and it closes. I want it to be in the Dock all day everyday so that I can just click on it when I need it and so my wife can find it when she needs to run it. The problem is that it does not run long enough for me to right click on it, pick Options and then click Keep in Dock. Is there anyway I can add it to the Dock? or am I going to have to modify my app so that the first time it runs it waits a minute to give me a chance to add it to the dock?
I can think of two possible solutions:
Locate your application in the Finder, and drag its icon into the Dock.
Immediately after launching the application, as soon as its icon appears in the Dock, quickly drag it to a different location/position in the Dock. The action of moving it from its default position at the end of the Dock will have the same effect as Options > Keep in Dock.

Dock icon in Mountain Lion disappears for open app

This is a perplexing issue: a program icon for a RUNNING program disappears from my Mountain Lion (10.8.1) Dock once the documents it was displaying are closed.
The offending App is TextEdit, although I suspect this will also happen in other apps. I'll be editing a text file, then close the window using the red "x" button in the top left, and as expected the window will close and the TextEdit icon will remain in the Dock with the little blue dot underneath. But wait a few seconds, and the Dock icon disappears!
I know that it's still running, because I can see the process in Activity Monitor. So what gives? Does anyone know how to make running applications remain in the Dock?
Thanks in advance.
Try to reset the dock using any one of the below procedures.
1.Open terminal and type
defaults delete com.apple.dock
killall Dock
OR
rm ~/Library/Preferences/com.apple.dock.{db,plist}
killall Dock
Hope this helps you.

bring the application from in focus, by clicking the icon of corresponding application

I was surprised this doesn't happen automatically, but I would like my applications window to be in focus as I click its dock icon, when in minimized mode.
Just to clarify, when I minimize the app, the window goes to dock, but when I click the its corresponding Dock Icon, the window don't come in focus.
Is there anything I am missing?
I am using Qt 4.5.3 on Mac OS X 10.5, 10.6
Thanks for help.
Rahul
First answer: That's the expected behavior of a Mac app. Try Safari for example. An app can be active without showing any window. In that case, only the menu bar at the top shows that the active app is changed. So, unless absolutely necessary, you shouldn't bring the minimized window back unless the user explicitly does so. That's the Mac way!
Second answer: I understand that there are cases where you want to bring the minimized window up. In Cocoa, the application delegate method -applicationDidBicomeActive is called when the application gets the focus, and there you can bring the window up yourself. I'm sure Qt also has a similar event/callback/signal or whatever, but I don't know any Qt ... :p Sorry I can't be of any help.

Resources