| Summary: | v 5.1.6.2 on Mac Clicking document in finder doesn't show document window until mouse position moves. | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Lorand Andahazy <lorand> |
| Component: | LibreOffice | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | 5.1.6.2 release | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
This is likely due to the code not using a delegate to initiate the application. Example delegate: #import "AppDelegate.h" #import "yourapp.h" @implementation AppDelegate - (void)applicationDidFinishLaunching:(NSNotification *)aNotification { // Insert code here to initialize your application [_window setAlphaValue:1.00]; //etc. as needed } - (void)applicationDidBecomeActive:(NSNotification *)aNotification { [_window setAlphaValue:1.00]; } - (void)applicationDidResignActive:(NSNotification *)aNotification { [_window setAlphaValue: _controller.alphaState]; } - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender { return NSTerminateNow; //NSTerminateCancel } - (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication { return YES; } @end