Shades Bug Report

0 Votes

Shades sometimes stops/starts screen fade when changing/closing apps

  • Type: Incorrect Functionality
  • Version Tested: 1.2 (Intel)
  • OS Version Affected: Mac OS X 10.9
  • Status: Open

Description

Under OSX 10.10.5 (Yosemite) and 10.12.5 (Sierra), Shades occasionally seems to stop running (or be blocked), and then restart (be unblocked). The effect is that the screen goes bright, and then fades back to the previous setting.

Checking, it's probably blocking, since Shades itself doesn't stop running.

This seems to be primarily associated with starting/stopping/changing between applications.

The console log shows lines like the following (Yosemite):

2017-06-23 07:34:15.823 WindowServer[175]: common_reenable_update: UI updates were finally reenabled by application "Shades" after 1068.63 seconds (server forcibly re-enabled them after 1.00 seconds)
2017-06-23 07:34:15.886 Shades[4806]: AppleEvents: Send port for process has no send right, port=( port:571/0x23b rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
2017-06-23 07:34:15.886 Shades[4806]: AppleEvents: Send port for process has no send right, port=( port:575/0x23f rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
2017-06-23 07:34:16.912 WindowServer[175]: disable_update_timeout: UI updates were forcibly disabled by application "Shades" for over 1.00 seconds. Server has re-enabled them.
2017-06-23 07:34:30.912 WindowServer[175]: disable_update_likely_unbalanced: UI updates still disabled by application "Shades" after 15.00 seconds (server forcibly re-enabled them after 1.00 seconds). Likely an unbalanced disableUpdate call.

system.log (easier to pull from than the console display):

Jun 23 07:34:30 example.local WindowServer[175]: disable_update_likely_unbalanced: UI updates still disabled by application "Shades" after 15.00 seconds (server forcibly re-enabled them after 1.00 seconds). Likely an unbalanced disableUpdate call.
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: conn 0x3428b token 0x121fffffffff2955
Jun 23 07:34:30 example.local Shades[4806]: Backtrace (at 405633):
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 0 CoreGraphics 0x90013b37 CGSBacktraceCreate + 69
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 1 CoreGraphics 0x9006b312 _ZN16CGSUpdateManager14disable_updateEv + 94
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 2 CoreGraphics 0x9006b135 CGSDisableUpdateToken + 37
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 3 AppKit 0x9a9c899d NSDisableScreenUpdatesToken + 46
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 4 AppKit 0x9a8c70be -[NSWindow disableScreenUpdatesUntilFlush] + 112
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 5 AppKit 0x9ab02c22 -[NSVisualEffectView _createOrUpdateBackdrop:view:vibrancyEffect:] + 774
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 6 AppKit 0x9ab028cb -[NSVisualEffectView _updateCGSWindowBackdrop] + 79
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 7 AppKit 0x9a8e5674 -[NSVisualEffectView _update] + 149
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 8 AppKit 0x9a8e55cb -[NSVisualEffectView _updateIfNeeded] + 152
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 9 AppKit 0x9a8e5425 -[NSVisualEffectView _updateIfNeededIfNotUsingProxyLayers] + 95
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 10 AppKit 0x9a91d9f4 __40-[NSWindow _updateBackdropViewsIfNeeded]_block_invoke + 39
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 11 CoreFoundation 0x94ea0c5f __53-[__NSArrayI enumerateObjectsWithOptions:usingBlock:]_block_invoke + 63
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 12 CoreFoundation 0x94ea0b8a -[__NSArrayI enumerateObjectsWithOptions:usingBlock:] + 282
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 13 CoreFoundation 0x94e8a385 -[NSArray enumerateObjectsUsingBlock:] + 53
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 14 AppKit 0x9a91d9b3 -[NSWindow _updateBackdropViewsIfNeeded] + 147
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 15 AppKit 0x9a91d903 -[NSWindow _flushBackdropViews] + 50
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 16 AppKit 0x9a91cfee -[NSWindow displayIfNeeded] + 342
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 17 AppKit 0x9a91cbc0 _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 1262
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 18 AppKit 0x9b107e3b __83-[NSWindow _postWindowNeedsDisplayOrLayoutOrUpdateConstraintsUnlessPostingDisabled]_block_invoke1579 + 58
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 19 CoreFoundation 0x94e87cdd _runLoopObserverWithBlockContext + 29
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 20 CoreFoundation 0x94e876be __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 21 CoreFoundation 0x94e87600 __CFRunLoopDoObservers + 400
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 22 CoreFoundation 0x94e78f62 __CFRunLoopRun + 946
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 23 CoreFoundation 0x94e78946 CFRunLoopRunSpecific + 390
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 24 CoreFoundation 0x94e787ab CFRunLoopRunInMode + 123
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 25 HIToolbox 0x9900c8f8 RunCurrentEventLoopInMode + 262
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 26 HIToolbox 0x9900c503 ReceiveNextEventCommon + 192
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 27 HIToolbox 0x991ba178 ReceiveNextEvent + 90
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 28 rbframework.dylib 0x006d06c4 DecodeBackslashEscapeString + 7940
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 29 rbframework.dylib 0x006d02d9 DecodeBackslashEscapeString + 6937
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 30 rbframework.dylib 0x006d11f6 DecodeBackslashEscapeString + 10806
Jun 23 07:34:30 example.local Shades[4806]: void CGSUpdateManager::log() const: 31 Shades 0x00004683 Delegate.Invoke%% + 34
Jun 23 07:39:25 example.local System Preferences[10313]: Failed to connect (TabView) outlet from (Shades_PreferencesPref) to (NSTabView): missing setter or instance variable
Jun 23 07:39:25 example.local System Preferences[10313]: Failed to connect (progressWheel) outlet from (ShadesController) to (NSProgressIndicator): missing setter or instance variable

Submitted by catx at 3:52pm on 23 Jun 2017

Updates

FWIW, using the most recent Firefox and browsing etsy.com seems to trigger the issue fairly reliably.

Posted by catx at 12:34pm on 08 Jul 2017

Vote

Add More Information

(optional)

(optional, will not appear on report)

What is twenty-two plus ten?
(MAPTCHA)