-
Notifications
You must be signed in to change notification settings - Fork 400
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
Counter display does not count down #52
Comments
The counter display also fails to disappear after the block resolves: I have to Exit and restart SelfControl. |
This was discussed in #36, but a solution was never found. I have a feeling that this is related to use of Spaces. Are you using Spaces, @VictorEijkhout? |
On Aug 14, 2012, at 7:29 AM, henrik242 wrote: This was discussed in #36, but a solution was never found. I have a feeling that this is related to use of Spaces. Are you using Spaces, Victor? Yes. Very much. Victor. |
Hm, I'll take a look at this when I get a chance, if anybody has an idea for what could be going wrong here please let me know. I don't use Spaces at all, so I'm not familiar with how it works behind the scenes. |
I also have this problem on Lion and I don't use Spaces. (Also, on Lion, Spaces is superseded by Mission Control, which AFAIK can't easily be disabled, since that's what implements full-screen mode for apps) |
I see this one on Mountail Lion (10.8.2).
|
@ilTofa i am experiencing exactly same issue - if SelfControl loses focus after start click, and timer is not yet shown, timer gets stuck |
I've taken a look at it and it's due to the timer being created from a dialog it seems. If the window doesn't have focus, |
@mathew-hall The fix seems to work. If we can limit the app to 10.6 an simpler fix is to use GDC and wrap the offending call into a dispatch_async(dispatch_get_main_queue(),^ { ... } ); call. as in
in place of row 87-91 of TimerWindowController.m If we have to respect 10.5- compatibility, your fix is absolutely OK (IMHO). I think this is the case, you could make a pull request.
|
* git://github.com/mathew-hall/selfcontrol: Kludgy fix to #52
Wow, thanks to both of you for catching that. I wouldn't have guessed that timers would fail in other threads, weird. @mathew-hall Your fix looks fine to me! We do need to support 10.5 still. I merged your commit, thanks. |
I just updated to 1.4.4 Sometimes it works fine, but I've also managed to get it to a beachball state where just a white box shows up for the counter display. Here's to hoping this screenshot transfers.... |
Regularly, the counter display fails to count down: it gets stuck at pretty much the time it comes up.
The actual blocking does expire, presumably after the time specified.
OS X Lion, SelfControl 1.4.
The text was updated successfully, but these errors were encountered: