10BC0 works for few moments after booting, but then stops working · Issue #16 · briankendall/forceFullDesktopBar · GitHub
[go: up one dir, main page]

Skip to content

works for few moments after booting, but then stops working #16

@jli

Description

@jli

I just installed forceFullDesktopBar v1.2 on a MacBook Air (M1, 2020) running Monterey 12.4 (21F79).

What I observe is that immediately after rebooting, forceFullDesktopBar is working as expected and I see the full desktop bar when activating Mission Control. But that shortly after (within 1 minute?), I get the usual/default/non-full behavior again.

I see that it's running as root in daemon mode, as expected:

$ ps aux
USER               PID  %CPU %MEM      VSZ    RSS   TT  STAT STARTED      TIME COMMAND
[...]
root                95   0.0  0.2 409454784  26880   ??  Ss   11:04AM   0:11.46 /usr/local/forceFullDesktopBar/forceFullDesktopBar -d
[...]
j                  479   0.0  0.2 408777200  35696   ??  Ss   11:05AM   0:00.28 /System/Library/CoreServices/Dock.app/Contents/XPCServices/com.apple.dock.extra.xpc/Contents/MacOS/com.apple.dock.extra
j                  397   0.0  1.1 410007792 189440   ??  S    11:05AM   0:11.84 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock

Here's what I see when I run it directly:

$ sudo launchctl remove net.briankendall.forceFullDesktopBar  # stop the daemon
$ sudo /usr/local/forceFullDesktopBar/forceFullDesktopBar
Password:
forceFullDestkopBar v1.2
2022-07-14 13:36:02.249 forceFullDesktopBar[9475:84955] Searching for Dock processes...
2022-07-14 13:36:02.249 forceFullDesktopBar[9475:84955] Found Dock process... will inject into pid: 397
frida attached to process 397
frida script loaded
frida session and device are closed
# at this point, Mission Control is still not showing the full bar

Restarting the Dock doesn't help:

$ killall Dock
$ sudo /usr/local/forceFullDesktopBar/forceFullDesktopBar
forceFullDestkopBar v1.2
2022-07-14 13:37:12.478 forceFullDesktopBar[9523:85770] Searching for Dock processes...
2022-07-14 13:37:12.479 forceFullDesktopBar[9523:85770] Found Dock process... will inject into pid: 9518
frida attached to process 9518
frida script loaded
frida session and device are closed
# still not working

When I run it in daemon mode, I see that it notices new Dock processes, but it's still not working:

$ sudo /usr/local/forceFullDesktopBar/forceFullDesktopBar -d
forceFullDestkopBar v1.2
2022-07-14 13:38:10.286 forceFullDesktopBar[9532:86184] Will continuously check for Dock processes...
2022-07-14 13:38:10.286 forceFullDesktopBar[9532:86184] Found Dock process... will inject into pid: 9518
frida attached to process 9518
frida script loaded
frida session and device are closed
# still not working
# in another shell, i run `killall Dock`
2022-07-14 13:38:51.359 forceFullDesktopBar[9532:86184] Found Dock process... will inject into pid: 9559
frida attached to process 9559
frida script loaded
frida session and device are closed
# still not working

Do you have any ideas about what could be going wrong? Is there any way to get more debug info?

Thanks!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0