Closed imyellan closed 2 years ago
Interesting, all seems to work fine for me in 1.10. I've also tried running with your config and all works as expected for me.
Sorry, but not sure what to try ;/
Since I'm having a same issue here is the log from Mac Console app, hope you will find something relevant:
default 12:50:35.994899+0100 lsd Non-fatal error enumerating at <private>, continuing: Error Domain=NSCocoaErrorDomain Code=260 "The file “PlugIns” couldn’t be opened because there is no such file." UserInfo={NSURL=PlugIns/ -- file:///Applications/Stretchly.app/Contents/, NSFilePath=/Applications/Stretchly.app/Contents/PlugIns, NSUnderlyingError=0x139853250 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
default 12:50:35.995054+0100 lsd - 45683955: Checking whether application is managed at file:///Applications/Stretchly.app//net.hovancik.stretchly
default 12:50:36.008080+0100 lsd net.hovancik.stretchly:5:5:1:1:Building bundle record for app
default 12:50:36.008337+0100 lsd net.hovancik.stretchly:5:5:2:1:Built bundle record for app
default 12:50:36.025007+0100 lsd net.hovancik.stretchly:5:4:2:1:_LSServerRegisterItemInfo result = 0
default 12:50:36.029762+0100 runningboardd Launch request for app<application.net.hovancik.stretchly.14721323.14721326(501)> is using uid 501 (divined from auid 501 euid 501)
default 12:50:36.029822+0100 runningboardd Acquiring assertion targeting app<application.net.hovancik.stretchly.14721323.14721326(501)> from originator [daemon<com.apple.Finder(501)>:523] with description <RBSAssertionDescriptor| "LS launch net.hovancik.stretchly" ID:369-523-34448 target:app<application.net.hovancik.stretchly.14721323.14721326(501)> attributes:[
<RBSDomainAttribute| domain:"com.apple.launchservicesd" name:"LaunchRoleBackground" sourceEnvironment:"(null)">
]>
default 12:50:36.029880+0100 runningboardd Assertion 369-523-34448 (target:app<application.net.hovancik.stretchly.14721323.14721326(501)>) will be created as active
default 12:50:36.030109+0100 runningboardd Executing launch request for app<application.net.hovancik.stretchly.14721323.14721326(501)> (LS launch net.hovancik.stretchly)
default 12:50:36.030148+0100 runningboardd Creating and launching job for: app<application.net.hovancik.stretchly.14721323.14721326(501)>
default 12:50:36.030164+0100 runningboardd _mutateContextIfNeeded called for net.hovancik.stretchly
default 12:50:36.061132+0100 dmd Received xpc stream event (distributed notification matching) with name: com.apple.LaunchServices.applicationRegistered user info: {
CFBundleDisplayName = Stretchly;
bundleIDs = (
"net.hovancik.stretchly"
);
isPlaceholder = 0;
}
default 12:50:36.091319+0100 runningboardd [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] This process will not be managed.
default 12:50:36.091337+0100 runningboardd [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] HOME is <private>
default 12:50:36.091351+0100 runningboardd [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] TMPDIR is <private>
default 12:50:36.091367+0100 runningboardd Now tracking process: [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]
default 12:50:36.091445+0100 runningboardd Using default underlying assertion for app: [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]
default 12:50:36.091475+0100 runningboardd Calculated state for app<application.net.hovancik.stretchly.14721323.14721326(501)>: running-active (role: Background)
default 12:50:36.091526+0100 runningboardd Acquiring assertion targeting [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] from originator [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] with description <RBSAssertionDescriptor| "RB Underlying Assertion" ID:369-369-34449 target:23186 attributes:[
<RBSDomainAttribute| domain:"com.apple.underlying" name:"defaultUnderlyingAppAssertion" sourceEnvironment:"(null)">,
<RBSAcquisitionCompletionAttribute| policy:AfterApplication>
]>
default 12:50:36.091814+0100 runningboardd Assertion 369-369-34449 (target:[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]) will be created as active
default 12:50:36.092027+0100 runningboardd [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] reported to RB as running
default 12:50:36.093519+0100 runningboardd [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring jetsam update because this process is not memory-managed
default 12:50:36.093554+0100 runningboardd [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring suspend because this process is not lifecycle managed
default 12:50:36.093594+0100 runningboardd [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Set darwin role to: Background
default 12:50:36.093228+0100 runningboardd Calculated state for app<application.net.hovancik.stretchly.14721323.14721326(501)>: running-active (role: Background)
default 12:50:36.093636+0100 runningboardd [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring GPU update because this process is not GPU managed
default 12:50:36.094547+0100 runningboardd Acquiring assertion targeting [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] from originator [daemon<com.apple.coreservices.launchservicesd>:327] with description <RBSAssertionDescriptor| "backgroundApp:23186" ID:369-327-34450 target:23186 attributes:[
<RBSDomainAttribute| domain:"com.apple.launchservicesd" name:"RoleNonUserInteractive" sourceEnvironment:"(null)">
]>
default 12:50:36.094614+0100 runningboardd Assertion 369-327-34450 (target:[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]) will be created as active
default 12:50:36.097513+0100 runningboardd Acquiring assertion targeting [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] from originator [daemon<com.apple.coreservices.launchservicesd>:327] with description <RBSAssertionDescriptor| "backgroundApp:23186" ID:369-327-34451 target:23186 attributes:[
<RBSDomainAttribute| domain:"com.apple.launchservicesd" name:"RoleNonUserInteractive" sourceEnvironment:"(null)">
]>
default 12:50:36.097548+0100 runningboardd Calculated state for app<application.net.hovancik.stretchly.14721323.14721326(501)>: running-active (role: NonUserInteractive)
default 12:50:36.097568+0100 runningboardd Assertion 369-327-34451 (target:[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]) will be created as active
default 12:50:36.099122+0100 runningboardd Invalidating assertion 369-327-34450 (target:[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]) from originator [daemon<com.apple.coreservices.launchservicesd>:327]
default 12:50:36.099685+0100 runningboardd Acquiring assertion targeting [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] from originator [daemon<com.apple.coreservices.launchservicesd>:327] with description <RBSAssertionDescriptor| "backgroundApp:23186" ID:369-327-34452 target:23186 attributes:[
<RBSDomainAttribute| domain:"com.apple.launchservicesd" name:"RoleNonUserInteractive" sourceEnvironment:"(null)">
]>
default 12:50:36.099838+0100 runningboardd Assertion 369-327-34452 (target:[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]) will be created as active
default 12:50:36.100765+0100 runningboardd Invalidating assertion 369-327-34451 (target:[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]) from originator [daemon<com.apple.coreservices.launchservicesd>:327]
default 12:50:36.101603+0100 runningboardd Invalidating assertion 369-523-34448 (target:app<application.net.hovancik.stretchly.14721323.14721326(501)>) from originator [daemon<com.apple.Finder(501)>:523]
default 12:50:36.102468+0100 loginwindow -[ApplicationManager checkInAppContext:eventData:] | ApplicationManager: Checked in app : Stretchly
default 12:50:36.102269+0100 runningboardd Acquiring assertion targeting [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] from originator [daemon<com.apple.coreservices.appleevents(55)>:475] with description <RBSAssertionDescriptor| "AE/Stretchly" ID:369-475-34453 target:23186 attributes:[
<RBSDomainAttribute| domain:"com.apple.launchservicesd" name:"LSNotification" sourceEnvironment:"(null)">
]>
default 12:50:36.102432+0100 runningboardd Assertion 369-475-34453 (target:[app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]) will be created as active
default 12:50:36.103954+0100 runningboardd Calculated state for app<application.net.hovancik.stretchly.14721323.14721326(501)>: running-active (role: UserInteractiveNonFocal)
default 12:50:36.105041+0100 runningboardd [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring jetsam update because this process is not memory-managed
default 12:50:36.105055+0100 runningboardd [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring suspend because this process is not lifecycle managed
default 12:50:36.105072+0100 runningboardd [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Set darwin role to: NonUserInteractive
default 12:50:36.105088+0100 runningboardd [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring GPU update because this process is not GPU managed
default 12:50:36.105185+0100 runningboardd Successfully acquired underlying assertion for [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]
default 12:50:36.105458+0100 runningboardd [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring jetsam update because this process is not memory-managed
default 12:50:36.105691+0100 runningboardd [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring suspend because this process is not lifecycle managed
default 12:50:36.105736+0100 runningboardd [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Set darwin role to: UserInteractiveNonFocal
default 12:50:36.105772+0100 runningboardd [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring GPU update because this process is not GPU managed
default 12:50:36.218010+0100 runningboardd [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring jetsam update because this process is not memory-managed
default 12:50:36.218022+0100 runningboardd Calculated state for app<application.net.hovancik.stretchly.14721323.14721326(501)>: running-active (role: UserInteractiveNonFocal)
default 12:50:36.218029+0100 runningboardd [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring suspend because this process is not lifecycle managed
default 12:50:36.218081+0100 runningboardd [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] Ignoring GPU update because this process is not GPU managed
default 12:50:38.935771+0100 kernel ASP: Security policy would not allow process: 23186, /Applications/Stretchly.app/Contents/MacOS/Stretchly
default 12:50:38.937458+0100 runningboardd [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186] termination reported by launchd (9, 8, 9)
default 12:50:38.937478+0100 runningboardd Removing process: [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]
default 12:50:38.938113+0100 runningboardd Removing launch job for: [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]
default 12:50:38.938759+0100 runningboardd Removed job for [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]
default 12:50:38.938792+0100 runningboardd Removing assertions for terminated process: [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]
default 12:50:38.955782+0100 runningboardd Calculated state for app<application.net.hovancik.stretchly.14721323.14721326(501)>: none (role: None)
default 12:50:38.956537+0100 runningboardd Calculated state for app<application.net.hovancik.stretchly.14721323.14721326(501)>: none (role: None)
default 12:50:38.957740+0100 launchservicesd Hit the server for a process handle c9117c300005a92 that resolved to: [app<application.net.hovancik.stretchly.14721323.14721326(501)>:23186]
default 12:50:38.960737+0100 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:Stretchly, _appTrackingState = 2
I've also had this same issue with 1.10 and after downgrading to 1.09 the appExclusions feature works correctly. I have MacOS Mojave 10.14.6.
In addition, I suffered a weird bug with the system's ReportCrash process constantly using up a lot of CPU while Stretchly 1.10 was running, so my guess is that something was constantly crashing. While being closed it stopped doing it, and with 1.09 all is working correctly.
Sorry, but I am unable to reproduce :(
In 1.10 I added app exclusion check interval so you could try making it bigger, this check consumes a lot of power.
It could also be some weird electron bug, so maybe when I upgrade it, it will be better.
Hey, small update just installed latest 1.11.0 and it works alright on Macbook M1 Pro. Using brew with these commands:
brew update && brew upgrade --cask
brew reinstall --cask --no-quarantine stretchly
Maybe can be put just to upgrade stretchly with param --no-quarantine
@Cheprer thanks for the heads up, I just upgraded to 1.11.0 as well and app exclusion are working again for me.
Great, I'll close this, then.
Version
Known issues
Existing issues
What operating system are you using?
macOS
Operating System Version
macOS Catalina 10.15.7
Reproduction steps
"rule": "pause"
, and"active": true
.Can confirm that the issue seems to be with v1.10.0, since appExclusion pausing works after reverting back to v1.9.0. ... Reproduces how often: [What percentage of the time does it reproduce?] 100% of time
Expected Behavior
Expect Stretchly to pause while application is open.
Actual Behavior
Stretchly does not pause, but continues to run on schedule while the application is open.
Relevant log output
Preferences
Additional information
Code of Conduct