Of course, this is not noticeable when BookMacster is launched from Finder, as it usually is, so maybe this is acceptable, but I don't like it. That is when I transform it to foreground, and Finder flashes momentarily. The problem is when I want BookMacster to launch in the foreground. I think you mean LSUIElement in ist.Īnyhow, what you say is true, and I have set LSUIElement in BookMacster's ist, and when I want it to launch in the background I do not transform the process and everything is fine. If you set LSUIElement in the application's prefs plist, then you won't get that flash (this is what Alfred does), so if this is set, don't even transform the process after starting as it will be a ui element automatically. Have you considered simply restarting your app after that option is selected instead of using TransformProcessType? This would allow you to go both ways too (background and non background). This looks like the same issue, some reasoning, and a solution: I was thinking maybe BookMacster could detect when it was launched by Alfred and do TransformProcessType() the old way, but the parent process of apps launched by Alfred seems to be launchd, like apps launched by Finder, so I don't know how to determine when I'm launched by Alfred. Maybe we need to work together on this offline. PASS Launch using the LaunchBar app launcherįAIL Launch using the Alfred app launcher PASS Launch using the open(1) command in Terminal.app Nonetheless, it works, in 10.9, for every launch method I can find, with the exception of Alfred. Due to a longstanding bug in Mac OS X, this needs to be done in a different place in 10.9 vs. This is implemented by entering LSUIElement into ist, and using TransformProcessType() after launching. According to users, this behavior started with Mavericks.īookMacster has a preference option to launch in the background. You can then copy important data to the new profile and, if necessary, restore bookmarks from a backup file, if you have one.When I launch my app BookMacster with Alfred, its menu does not show until I activate a different application, then activate BookMacster, for example with the ⌘-tab application switcher. When you restart Firefox, it will open with the new profile and, hopefully, you will no longer see the error message. You can use these instructions to create a new Firefox profile and set it as the default profile. If the above solutions didn't work, you may be able to resolve the problem with a new Firefox profile. If your bookmarks weren’t restored, try the steps in the Recover lost or missing Bookmarks article.Your browsing history will be lost, but Firefox will automatically restore your bookmarks from the most recent bookmarkbackups file. When Firefox reopens, it will create new favicons.sqlite and places.sqlite database files.Also delete the favicons.sqlite-shm, favicons.sqlite-wal, places.sqlite-shm and places.sqlite-wal files, if they exist.Right-click it and select Rename from the context menu Click it once to select and click a second time the file name to make it editable, then add. You can rename instead of deleting a file to keep it as a backup.In the Firefox profile folder find and delete (or rename) the favicons.sqlite and places.sqlite files.Click the Firefox menu at the top of the screen and select Quit Firefox. Click the Firefox menu and select Exit.(Optional) Create a bookmark backup file.Leave the Profile folder open – go on to Part 2. Note: If you are unable to open or use Firefox, follow the instructions in Finding your profile without opening Firefox. A window will open that contains your profile folder. Under the Application Basics section next to Profile Folder Directory, click Open Folder Show in Finder Open Directory.The Troubleshooting Information tab will open. From the Help menu, select Troubleshooting Information More Troubleshooting Information. Click the menu button, click Help and select Troubleshooting Information More Troubleshooting Information.Don’t worry, it’s not as hard as it sounds. If restarting your computer doesn’t take care of things, you can fix this by having Firefox create a new places and favicon database for you. The good news is that most of the time, simply restarting your computer and then restarting Firefox is the fix for both problems. The most common causes of this error are another program using the file or a problem with the file that was caused when the computer was shut off unexpectedly (like a power failure).
0 Comments
Leave a Reply. |