Giter Club home page Giter Club logo

Comments (22)

NikolaiKunewa avatar NikolaiKunewa commented on June 18, 2024

Have the same problem...Really though I had this one. Appreciate if you make a quick tutorial

from spaces-renamer.

itsrainingdata avatar itsrainingdata commented on June 18, 2024

Same issue with v1.8.1 on Catalina 10.5.6. Installed directly via MacForge. (Dragging and dropping the .bundle file provided in the downloadable .zip did nothing in MacForge.)

from spaces-renamer.

dado3212 avatar dado3212 commented on June 18, 2024

Can you try updating to v1.9.0, and also deleting the .bundle from MacForge, and installing by dragging and dropping?

image

Selecting spaces-renamer, and clicking the trash can, and then dragging and dropping should work.

from spaces-renamer.

dado3212 avatar dado3212 commented on June 18, 2024

RE: "everything seems to have worked properly" the bit where the icon shows up and allows you to type in names doesn't need SIP disabled, or MacForge running, so it's probably an issue with one of those two. Can you paste a screenshot of what shows up when you run csrutil status? And paste a screenshot of your full menu bar options?

from spaces-renamer.

itsrainingdata avatar itsrainingdata commented on June 18, 2024

I believe the issue was that the .bundle did not install correctly: Neither dragging and dropping nor installing directly from MacForge worked for me. I managed to get it working by manually copying and pasting the .bundle to /Library/Application Support/MacEnhance/Plugins.

Am now running v1.9.0 without issues.

from spaces-renamer.

jackkrone avatar jackkrone commented on June 18, 2024

Had the same issue described. Manually dragging and dropping worked for me as well. Thanks @itsrainingdata and @dado3212

from spaces-renamer.

itsrainingdata avatar itsrainingdata commented on June 18, 2024

Update: I am encountering some quirks with renaming spaces (e.g. alignment of names w/ multiple monitors, failure to rename some spaces, issues with rearranging spaces).

If the issues continue to persist, I will open up a separate issue (unless @dado3212 wants to consolidate everything here).

from spaces-renamer.

bomtailey avatar bomtailey commented on June 18, 2024

from spaces-renamer.

dado3212 avatar dado3212 commented on June 18, 2024

@itsrainingdata open a new task if it's a new issue!

@w0lfschild any thoughts on MacForge interface?

from spaces-renamer.

w0lfschild avatar w0lfschild commented on June 18, 2024

@dado3212 I've gone ahead and updated the version on MacForge to 1.9.0

from spaces-renamer.

bomtailey avatar bomtailey commented on June 18, 2024

@dado3212 I would still (very much) like to get this capability working. I've tried dragging and dropping into /Library/Application Support/MacEnhance/Plugins as suggested but no luck. I've read that it doesn't work with Big Sur, maybe that's the problem. The response I get from issuing csrutil status is attached. The screen shot of my menu bar is attached. BTW, where it was suggested to install it by dragging and dropping the bundle, I don't know where the destination is. I used the suggestion of @itsrainingdata.
csrutil status result
menu bar screenshot

from spaces-renamer.

bomtailey avatar bomtailey commented on June 18, 2024

Anybody have this working with Big Sur Beta 11.0 (20A5384c)?

from spaces-renamer.

w0lfschild avatar w0lfschild commented on June 18, 2024

Anybody have this working with Big Sur Beta 11.0 (20A5384c)?

This won't work on any of the latest Big Sur releases without changes to MacForge to prevent the Dock from crashing.

Any plugin that loads into the Dock will crash loop it on Beta 7+, if the Dock isn't crashing then the plugin isn't even loading for you.

from spaces-renamer.

bomtailey avatar bomtailey commented on June 18, 2024

@w0lfschild thanks for that clarification,

from spaces-renamer.

itsrainingdata avatar itsrainingdata commented on June 18, 2024

@w0lfschild Does this mean spaces-renamer/MacForge fundamentally can't work on Big Sur? Or just that either/or need to be updated to preserve functionality?

from spaces-renamer.

w0lfschild avatar w0lfschild commented on June 18, 2024

@itsrainingdata

@w0lfschild Does this mean spaces-renamer/MacForge fundamentally can't work on Big Sur? Or just that either/or need to be updated to preserve functionality?

No it doesn't mean mean spaces-renamer or MacForge fundamentally can't work on Big Sur.

It means exactly what I said.

Any plugin that loads into the Dock will crash loop it on Beta 7+
This won't work on any of the latest Big Sur releases without changes to MacForge to prevent the Dock from crashing.

I have spaces-renamer running on beta 10 and it works just fine (with a fix for MacForge).

Specifically the crash is related to loading NSApplication, which happens if you have basically any framework (AppKit, Cocoa, etc..) linked in the plugin.

67020474 bear trap: NSApplication initialized in Dock. Please log a bug.

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.AppKit              	0x00007fff22c9b1ad +[NSApplication load] + 125

@jslegendre has already written a fix but I have not released anything yet.

from spaces-renamer.

jslegendre avatar jslegendre commented on June 18, 2024

Took a quick look through the code here and the only part of the plugin that uses anything from AppKit is the method - (BOOL)probablyDesktopSwitcher:(CGRect)rect.

To get this working with MacForge on Big Sur (no 'fix' necessary), replace @import AppKit; (line 9) with @import Foundation;.

Then replace (line 395)

NSArray *const screenArray = [NSScreen screens];
for (int i = 0; i < screenArray.count; i++) {
    NSScreen *const screen = [screenArray objectAtIndex:i];
    if (screen.visibleFrame.size.width == rect.size.width) {
      return true;
    }
  }

With this

  CGDirectDisplayID displayArray[5];
  uint32_t displayCount;
  CGGetActiveDisplayList(5, displayArray, &displayCount);
  
  for (int i = 0; i < displayCount; i++) {
    if(CGDisplayPixelsWide(displayArray[i]) == rect.size.width)
      return true;
  }

Edit: Haven't tried this with multiple displays but works fine on my MBP running Big Sur beta 11 (20A5395g)

from spaces-renamer.

bomtailey avatar bomtailey commented on June 18, 2024

from spaces-renamer.

jslegendre avatar jslegendre commented on June 18, 2024

@bomtailey Did you select the right scheme in Xcode?

from spaces-renamer.

BuenoGrande avatar BuenoGrande commented on June 18, 2024

Can you try updating to v1.9.0, and also deleting the .bundle from MacForge, and installing by dragging and dropping?

image

Selecting spaces-renamer, and clicking the trash can, and then dragging and dropping should work.

Hello,
I tried using this method but it doesn't seem to work. Now I cannot even launch the SpacesRenamer app, even though I dragged and dropped it in MacForge. After installing it in MacForge, when trying to run the app Apple doesn't allow me to launch the app. When I go to the settings in security and press "open it anyway", I have an error: OSStatus error 99999.

I also disabled csrutil and checked its status.. Do you have any fixes? I really love your app.

from spaces-renamer.

dado3212 avatar dado3212 commented on June 18, 2024

@BuenoGrande that sounds like a different problem, can you open a new issue?

from spaces-renamer.

dado3212 avatar dado3212 commented on June 18, 2024

Huge thanks to @jslegendre for the suggested fix. I think it'll probably be resolved in a MacForge fix soon, but I incorporated it into v1.9.1 if anyone's chomping at the bit. Confirmed it works with multiple monitors on Catalina, don't have a Big Sur device to confirm, but I trust @jslegendre.

For @bomtailey, @NikolaiKunewa, @itsrainingdata, see if v1.9.1 resolves this issue, closing the task for now. If it's still not working, feel free to reopen this, or file a new issue.

from spaces-renamer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.