lewisje / growl

Automatically exported from code.google.com/p/growl
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Growl.framework 1.3.1 produces read operation timeout from GCD async socket after showing notification with click context #513

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a new Mac OS X project
2. Sandbox the project and grant it the "Outgoing network connections" 
entitlement
3. Link Growl.framework v1.3.1 as described in 
http://growl.info/documentation/developer/implementing-growl.php
4. Set up the app delegate as the GrowlApplicationBridgeDelegate
5. Implement the -hasNetworkClientEntitlement method to return YES in the app 
delegate
6. Implement the -registrationDictionaryForGrowl method to return information 
about a single notification (call it @"test" for the purposes of this report) 
in the app delegate
7. In the app delegate's -applicationDidFinishLaunching: method, set the app 
delegate (self) as the GrowlApplicationBridge's delegate object
8. In the app delegate's -applicationDidFinishLaunching: method, dispatch the 
@"test" Growl notification with an arbitrary non-nil click context (a sample 
project uses @"test" again for the context)
9. Run the app

What is the expected output?
A Growl notification (@"test") appears, and nothing appears in the console

What do you see instead?
A Growl notification (@"test") appears, and the console displays the following 
message:

    Got disconnected: Error Domain=GCDAsyncSocketErrorDomain Code=4 "Read operation timed out" UserInfo=0x102138a50 {NSLocalizedDescription=Read operation timed out}

Original issue reported on code.google.com by lithium3...@gmail.com on 31 Jul 2012 at 11:11

GoogleCodeExporter commented 8 years ago
Sample project that reproduces the bug is attached.

Original comment by lithium3...@gmail.com on 31 Jul 2012 at 11:19

Attachments:

GoogleCodeExporter commented 8 years ago
Would you be willing to test the Growl 2 sdk that's currently in beta?

Original comment by ch...@growl.info on 31 Jul 2012 at 11:36

GoogleCodeExporter commented 8 years ago
Absolutely.

Original comment by lithium3...@gmail.com on 31 Jul 2012 at 11:37

GoogleCodeExporter commented 8 years ago
Email me. chris@growl.info

Original comment by ch...@growl.info on 31 Jul 2012 at 11:40

GoogleCodeExporter commented 8 years ago
Fixed in beta - feel free to close once that's released.

Original comment by lithium3...@gmail.com on 10 Aug 2012 at 5:38

GoogleCodeExporter commented 8 years ago
Going ahead and flagging as fixedinsource, as that is the tag we use to keep 
things in here uncluttered even if it isn't released yet (as a warning, we dont 
often get around to ensuring they get flagged as fixed upon release)

Original comment by dan...@growl.info on 13 Aug 2012 at 11:57