Open DeLoeribas opened 1 year ago
Thanks for reporting. Would you mind providing logs for when this happens? In the menu bar menu, hold the option key and select View logging...
It might also help me if you can attach your config. You can export it from the settings tab of the prefs window.
This scenario sounds like an issue where the Accessibility API becomes unresponsive after some time. It could be due to a number of factors, some external to Rectangle Pro. Do you have any other apps running that might be listening to macOS input events?
Hello Ryan,
A day hass passed without this problem. But when it happens again, I will send you the information you’ve asked for.
Regards,
Arie van Boxel
Op ma 4 sep 2023, om 23:02 schreef Ryan Hanson:
Thanks for reporting. Would you mind providing logs for when this happens? In the menu bar menu, hold the option key and select View logging...
It might also help me if you can attach your config. You can export it from the settings tab of the prefs window.
This scenario sounds like an issue where the Accessibility API becomes unresponsive after some time. It could be due to a number of factors, some external to Rectangle Pro. Do you have any other apps running that might be listening to macOS input events?
— Reply to this email directly, view it on GitHub https://github.com/rxhanson/RectanglePro-Community/issues/344#issuecomment-1705697201, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKPTI27BB7GVE3DR2XWYPH3XYY6WPANCNFSM6AAAAAA4KWRS6M. You are receiving this because you authored the thread.Message ID: @.***>
I was about to write a raving review 😉 - but then Rectangle Pro decided to no longer work, similarly to how @DeLoeribas described it. I'm using App Layouts, but now when selecting one I would only get a "Boop" sound from the Mac. Some of the windows would be arranged, but not all of them? As if it worked one after the other, and at some point it gave up.
I checked the log as outlined above. At first it was almost empty (some info about my license, but not much else). But now it wouldn't show anything at all. After another restart I get this:
2023-09-28T13:40:53+02:00: Rectangle Pro v3.0.11 (152) macOS: Version 13.6 (Build 22G120) Model: Mac14,9 [3] License activation: m...@.... (2023-09-20 10:12:19 +0000)
The configuration is pretty much standard - except for the app layouts. Hopefully I didn't break the latter as I've tried to remove some of the unnecessarily interesting information.
{
"bundleId" : "com.knollsoft.Hookshot",
"defaults" : {
"adjacentResizeScreenEdge" : {
"int" : 0
},
"adjacentResizing" : {
"int" : 0
},
"allowAnyShortcut" : {
"bool" : true
},
"almostMaximizeHeight" : {
"float" : 0
},
"almostMaximizeWidth" : {
"float" : 0
},
"alternateDefaultShortcuts" : {
"bool" : false
},
"alternateGestureShortcuts" : {
"bool" : false
},
"altThirdCycle" : {
"int" : 0
},
"alwaysAccountForStage" : {
"int" : 0
},
"analogAdjacentResizing" : {
"int" : 0
},
"applyGapToEdges" : {
"int" : 0
},
"appSpecs" : {
"string" : "[{\"displayRestored\":true,\"wake\":true,\"loc\":0,\"name\":\"Office\",\"isGroup\":true,\"children\":[{\"id\":115,\"bundleId\":\"com.google.Chrome\",\"w\":\"2560\",\"h\":\"1415\",\"y\":\"0\",\"x\":\"0\",\"loc\":9,\"display\":-3},{\"loc\":9,\"x\":\"-1920\",\"display\":-3,\"id\":129,\"y\":\"82\",\"h\":\"1200\",\"w\":\"640\",\"bundleId\":\"com.google.Chrome\"},{\"bundleId\":\"com.t.ST\",\"h\":\"1415\",\"w\":\"2560\",\"y\":\"0\",\"id\":118,\"display\":-3,\"x\":\"0\",\"loc\":9},{\"x\":\"0\",\"loc\":9,\"display\":-3,\"id\":119,\"bundleId\":\"com.microsoft.VSCode\",\"y\":\"0\",\"h\":\"1415\",\"w\":\"2560\"},{\"id\":120,\"w\":\"1504\",\"y\":\"0\",\"h\":\"1415\",\"bundleId\":\"org.mozilla.thunderbird\",\"loc\":9,\"x\":\"0\",\"display\":-3},{\"id\":121,\"bundleId\":\"com.apple.Safari\",\"y\":\"0\",\"h\":\"1415\",\"w\":\"1707\",\"x\":\"853\",\"loc\":9,\"display\":-3},{\"id\":122,\"w\":\"1707\",\"h\":\"1415\",\"y\":\"0\",\"bundleId\":\"com.apple.mail\",\"loc\":9,\"x\":\"853\",\"display\":-3},{\"id\":143,\"y\":\"82\",\"h\":\"1200\",\"w\":\"1280\",\"bundleId\":\"com.t.sm\",\"loc\":9,\"x\":\"-1280\",\"display\":-3},{\"w\":\"1512\",\"h\":\"945\",\"y\":\"220\",\"bundleId\":\"com.apple.Terminal\",\"id\":153,\"display\":-3,\"loc\":9,\"x\":\"2560\"}],\"id\":125},{\"name\":\"Home\",\"id\":208,\"loc\":0,\"isGroup\":true,\"children\":[{\"display\":-3,\"x\":\"0\",\"loc\":9,\"bundleId\":\"com.microsoft.VSCode\",\"h\":\"1667\",\"y\":\"0\",\"w\":\"3008\",\"id\":195},{\"display\":-3,\"x\":\"0\",\"loc\":9,\"bundleId\":\"com.microsoft.VSCode\",\"h\":\"1667\",\"y\":\"0\",\"w\":\"3008\",\"id\":196},{\"id\":197,\"bundleId\":\"com.apple.Safari\",\"w\":\"2005\",\"y\":\"0\",\"h\":\"1667\",\"x\":\"1003\",\"loc\":9,\"display\":-3},{\"loc\":9,\"x\":\"0\",\"display\":-3,\"id\":198,\"w\":\"3008\",\"h\":\"1667\",\"y\":\"0\",\"bundleId\":\"com.t.ST\"},{\"x\":\"0\",\"loc\":9,\"display\":-3,\"id\":199,\"bundleId\":\"org.mozilla.thunderbird\",\"y\":\"0\",\"h\":\"1667\",\"w\":\"1504\"},{\"bundleId\":\"com.t.sm\",\"h\":\"1667\",\"w\":\"2005\",\"y\":\"0\",\"id\":200,\"display\":-3,\"x\":\"0\",\"loc\":9},{\"bundleId\":\"com.apple.mail\",\"y\":\"0\",\"h\":\"1667\",\"w\":\"2005\",\"id\":201,\"display\":-3,\"x\":\"1003\",\"loc\":9},{\"display\":-3,\"loc\":9,\"x\":\"752\",\"h\":\"1667\",\"y\":\"0\",\"w\":\"2256\",\"bundleId\":\"com.google.Chrome\",\"id\":203},{\"id\":204,\"bundleId\":\"com.google.Chrome\",\"y\":\"0\",\"w\":\"752\",\"h\":\"1667\",\"x\":\"0\",\"loc\":9,\"display\":-3},{\"bundleId\":\"com.apple.Terminal\",\"w\":\"1502\",\"y\":\"4\",\"h\":\"1663\",\"id\":205,\"display\":-3,\"x\":\"0\",\"loc\":9}]},{\"loc\":0,\"id\":225,\"name\":\"BigOffice\",\"children\":[{\"bundleId\":\"com.t.ST\",\"h\":\"1415\",\"y\":\"0\",\"w\":\"3440\",\"id\":213,\"display\":-3,\"x\":\"0\",\"loc\":9},{\"w\":\"1720\",\"h\":\"1415\",\"y\":\"0\",\"bundleId\":\"com.apple.mail\",\"id\":214,\"display\":-3,\"loc\":9,\"x\":\"1720\"},{\"loc\":9,\"x\":\"0\",\"display\":-3,\"id\":216,\"w\":\"3440\",\"h\":\"1415\",\"y\":\"0\",\"bundleId\":\"com.microsoft.VSCode\"},{\"id\":217,\"bundleId\":\"com.microsoft.VSCode\",\"w\":\"3440\",\"h\":\"1415\",\"y\":\"0\",\"x\":\"0\",\"loc\":9,\"display\":-3},{\"id\":219,\"h\":\"1415\",\"y\":\"0\",\"w\":\"2293\",\"bundleId\":\"com.t.sm\",\"loc\":9,\"x\":\"573\",\"display\":-3},{\"bundleId\":\"com.apple.Terminal\",\"y\":\"8\",\"h\":\"1407\",\"w\":\"1512\",\"id\":220,\"display\":-3,\"x\":\"0\",\"loc\":9},{\"bundleId\":\"com.google.Chrome\",\"w\":\"2867\",\"h\":\"1415\",\"y\":\"0\",\"id\":222,\"display\":-3,\"x\":\"573\",\"loc\":9},{\"display\":-3,\"x\":\"0\",\"loc\":9,\"bundleId\":\"com.google.Chrome\",\"w\":\"574\",\"y\":\"0\",\"h\":\"1415\",\"id\":221},{\"x\":\"816\",\"loc\":9,\"display\":-3,\"id\":229,\"bundleId\":\"org.mozilla.thunderbird\",\"w\":\"1512\",\"y\":\"-982\",\"h\":\"950\"},{\"display\":-3,\"loc\":9,\"x\":\"1147\",\"h\":\"1415\",\"y\":\"0\",\"w\":\"2293\",\"bundleId\":\"com.apple.Safari\",\"id\":233}],\"isGroup\":true}]"
},
"attemptMatchOnNextPrevDisplay" : {
"int" : 0
},
"autoRestartOnWake" : {
"int" : 0
},
"cascadeHeight" : {
"int" : 0
},
"cascadeWidth" : {
"int" : 0
},
"centeredDirectionalMove" : {
"int" : 0
},
"centerHalfCycles" : {
"int" : 0
},
"checkAnimationUnsnap" : {
"int" : 0
},
"checkFullScreen" : {
"int" : 0
},
"contextMenuModifiers" : {
"int" : 0
},
"contextMenuShortcut" : {
},
"cornerSnapAreaSize" : {
"float" : 20
},
"cursorGestures" : {
"int" : 0
},
"curtainChangeSize" : {
"int" : 0
},
"disabledApps" : {
},
"doubleClickTitleBar" : {
"int" : 0
},
"doubleClickTitleBarRestore" : {
"int" : 0
},
"dragFromStage" : {
"int" : 0
},
"dropPaneLocation" : {
"int" : 0
},
"dropPaneModifier" : {
"int" : 0
},
"enhancedUI" : {
"int" : 1
},
"fillLeftRightVersion" : {
"int" : 2
},
"footprintAlpha" : {
"float" : 0.30000001192092896
},
"footprintAnimationDurationMultiplier" : {
"float" : 0
},
"footprintBorderWidth" : {
"float" : 2
},
"footprintColor" : {
},
"footprintFade" : {
"int" : 0
},
"gapSize" : {
"float" : 0
},
"gestures" : {
},
"helperRelaunch" : {
"int" : 3
},
"hideMenubarIcon" : {
"bool" : false
},
"hideReticleRectangles" : {
"bool" : false
},
"hookshotStatusIcon" : {
"int" : 2
},
"iCloudSync" : {
"int" : 0
},
"ignoreBehavior" : {
"int" : 0
},
"ignoredSnapAreas" : {
"int" : 0
},
"landscapeSnapAreas" : {
},
"launchOnLogin" : {
"bool" : true
},
"lockstepResizeOnScreenEdge" : {
"int" : 0
},
"longReticleSpec" : {
"string" : "{\"id\":1,\"l\":20,\"r\":23}"
},
"longshotDist" : {
"float" : 200
},
"mainReticleSpec" : {
},
"manualSpecs" : {
},
"maximizeAcrossDisplays" : {
"int" : 0
},
"minimumWindowHeight" : {
"float" : 0.25
},
"minimumWindowWidth" : {
"float" : 0.25
},
"missionControlDragging" : {
"int" : 0
},
"missionControlDraggingAllowedOffscreenDistance" : {
"float" : 25
},
"missionControlDraggingDisallowedDuration" : {
"int" : 250
},
"moveCursorAcrossDisplays" : {
"int" : 0
},
"multiWindowAllDisplays" : {
"int" : 0
},
"multiWindowRespectsIgnore" : {
"int" : 0
},
"nsClickListen" : {
"int" : 0
},
"nsEventListen" : {
"int" : 0
},
"nudgeDistance" : {
"float" : 20
},
"obtainWindowOnClick" : {
"int" : 0
},
"portraitSnapAreas" : {
},
"preciseScrollTriggerIncrements" : {
"float" : 10
},
"quickActionMinDist" : {
"float" : 10
},
"quickActions" : {
"int" : 0
},
"quickActionTimeout" : {
"double" : 1
},
"relaunchOpensMenu" : {
"bool" : false
},
"repeatedMaximizeRestores" : {
"int" : 0
},
"resizeOnDirectionalMove" : {
"bool" : false
},
"restartOnWakeDelay" : {
"float" : 0
},
"restToOneTouches" : {
"int" : 0
},
"reticle" : {
"int" : 2
},
"reticleColor" : {
"string" : "{\"red\":0.80000000000000004,\"alpha\":0.5,\"blue\":0.20000000000000001,\"green\":0.29999999999999999}"
},
"reticleDisplayMinDist" : {
"float" : 0
},
"reticleMouseButton" : {
"int" : 0
},
"reticleSize" : {
"int" : 12
},
"revealDesktopWidth" : {
"float" : 200
},
"safeAreaSize" : {
"int" : 35
},
"saveLayoutShortcut" : {
"string" : "null"
},
"screenEdgeGapBottom" : {
"float" : 0
},
"screenEdgeGapLeft" : {
"float" : 0
},
"screenEdgeGapRight" : {
"float" : 0
},
"screenEdgeGapsOnMainScreenOnly" : {
"bool" : false
},
"screenEdgeGapTop" : {
"float" : 0
},
"scrollEdgePauseDistance" : {
"float" : 60
},
"scrollEdgePauseSpeed" : {
"float" : 20
},
"scrollTriggerIncrements" : {
"float" : 0.10000000149011612
},
"shortEdgeSnapAreaSize" : {
"float" : 145
},
"showAllActionsInMenu" : {
"int" : 0
},
"sixthsSnapArea" : {
"int" : 0
},
"sizeOffset" : {
"float" : 30
},
"smallerLargerOffsetV2" : {
"float" : 20
},
"snapEdgeMarginBottom" : {
"float" : 5
},
"snapEdgeMarginLeft" : {
"float" : 5
},
"snapEdgeMarginRight" : {
"float" : 5
},
"snapEdgeMarginTop" : {
"float" : 5
},
"snapModifiers" : {
"int" : 0
},
"snapPanelActions" : {
},
"specifiedHeight" : {
"float" : 1050
},
"specifiedWidth" : {
"float" : 1680
},
"stageSize" : {
"float" : 190
},
"stashAnimation" : {
"int" : 0
},
"stashClearedByOtherActions" : {
"int" : 0
},
"stashClearScreenEdge" : {
"int" : 0
},
"stashCursorBoxWidth" : {
"float" : 1
},
"stashEnabled" : {
"int" : 0
},
"stashHideCursorWindow" : {
"int" : 0
},
"stashHideTime" : {
"double" : 0.29999999999999999
},
"stashHideUsingMod" : {
"int" : 0
},
"stashInMenu" : {
"int" : 0
},
"stashMultipleStagger" : {
"int" : 0
},
"stashShowTime" : {
"double" : 0.29999999999999999
},
"stashShowUsingMod" : {
"int" : 0
},
"stashTabs" : {
"int" : 0
},
"stashVisibleWidth" : {
"float" : 1
},
"subsequentExecutionMode" : {
"int" : 0
},
"SUEnableAutomaticChecks" : {
"bool" : true
},
"systemWideMouseDown" : {
"int" : 0
},
"throwFrontmost" : {
"int" : 0
},
"throwScrollResize" : {
"int" : 0
},
"tidyGranularity" : {
"int" : 1
},
"todo" : {
"int" : 0
},
"todoApplication" : {
},
"todoMode" : {
"bool" : false
},
"todoSide" : {
"int" : 1
},
"todoSidebarWidth" : {
"float" : 400
},
"togggleTodoShortcut" : {
},
"traverseSingleScreen" : {
"int" : 0
},
"unsnapRestore" : {
"int" : 0
},
"unstashAllToFront" : {
"int" : 0
},
"unstashOnTerminate" : {
"int" : 0
},
"winDownDefaultAction" : {
"int" : 0
},
"windowSnapping" : {
"int" : 0
},
"windowStopVelocity" : {
"float" : 3
},
"windowToFront" : {
"int" : 0
},
"winModFlags" : {
"int" : 0
}
},
"shortcuts" : {
"bottomHalf" : {
"keyCode" : 125,
"modifierFlags" : 786432
},
"bottomLeft" : {
"keyCode" : 38,
"modifierFlags" : 786432
},
"bottomRight" : {
"keyCode" : 40,
"modifierFlags" : 786432
},
"center" : {
"keyCode" : 8,
"modifierFlags" : 786432
},
"centerThird" : {
"keyCode" : 3,
"modifierFlags" : 786432
},
"firstThird" : {
"keyCode" : 2,
"modifierFlags" : 786432
},
"firstTwoThirds" : {
"keyCode" : 14,
"modifierFlags" : 786432
},
"larger" : {
"keyCode" : 24,
"modifierFlags" : 786432
},
"lastThird" : {
"keyCode" : 5,
"modifierFlags" : 786432
},
"lastTwoThirds" : {
"keyCode" : 17,
"modifierFlags" : 786432
},
"leftHalf" : {
"keyCode" : 123,
"modifierFlags" : 786432
},
"maximize" : {
"keyCode" : 36,
"modifierFlags" : 786432
},
"maximizeHeight" : {
"keyCode" : 126,
"modifierFlags" : 917504
},
"nextDisplay" : {
"keyCode" : 124,
"modifierFlags" : 1835008
},
"previousDisplay" : {
"keyCode" : 123,
"modifierFlags" : 1835008
},
"restore" : {
"keyCode" : 51,
"modifierFlags" : 786432
},
"rightHalf" : {
"keyCode" : 124,
"modifierFlags" : 786432
},
"smaller" : {
"keyCode" : 27,
"modifierFlags" : 786432
},
"topHalf" : {
"keyCode" : 126,
"modifierFlags" : 786432
},
"topLeft" : {
"keyCode" : 32,
"modifierFlags" : 786432
},
"topRight" : {
"keyCode" : 34,
"modifierFlags" : 786432
}
},
"timestamp" : 717594120.93615198,
"version" : "152"
}
PS: I experienced the above issue with app layout "Office". Now I'm back at home, using layout "Home", and here I don't get that signal sound. Seems to be working as expected. I did not reboot or sign out from the system.
@michaelherger thanks for providing the info here. I loaded your config and haven't really been able to pinpoint anything suspicious yet. The app will go through the entire app layout and won't stop if it hits any issues on individual placements, so the ones that aren't getting placed are still being processed. I would have suspected that ones that don't get placed are not responding properly to the Accessibility API, but that should result in a log message telling us that. Every time that Rectangle Pro will do the system boop, it should provide a log message. I know this is kind of annoying, but maybe try creating a new app layout and use a keyboard shortcut to trigger it, just to see if there's something strange that we can differentiate here if we get something that works better?
@rxhanson Just to let you know: I do not have this problem anymore. Rectangle Pro works like a charm.
@DeLoeribas I'm sorry for hijacking your issue then 😀.
@rxhanson I'll try when I'm back in the office. I don't have the problem at home.
What I noticed is that I'd get a similar series of sounds when I tried to apply the office layout when at home. Here I have a single 4k monitor setup, while I have three monitors in the office. So quite obviously the layout wouldn't work here, as the coordinates/offsets wouldn't work. Could it be that an invalid offset/size would cause the trouble in the office? Is there any way to disable some of the configurations inside a layout temporarily without removing them?
And one more question... I've created the layouts by saving the setup I had on screen. So coordinates would eg. be "custom: 0/0", rather than "top left" etc. And I do see that there are y > 0 for some windows which I'd have expected to be 0. y + h would then be larger than the monitor's resolution.
Similarly I don't understand the monitor indexes. Currently it's all "Determined by Custom Position". But what would #1 be? The one where I have the menu bar (centre in my case)? The one built-in to the MacBook? Is there a way to identify the numbers?
Could it be that an invalid offset/size would cause the trouble in the office? Is there any way to disable some of the configurations inside a layout temporarily without removing them?
Indeed this could be the issue. At the moment there is not a way to disable configurations, so it's probably easier just to create a new app layout to test things out.
So coordinates would eg. be "custom: 0/0", rather than "top left" etc. And I do see that there are y > 0 for some windows which I'd have expected to be 0. y + h would then be larger than the monitor's resolution.
macOS will take all displays into account when determining the coordinates of a display, and therefore a window on that display. For example, I often will have a display set up to the left and lower than my main display. The coordinates of that display will be less than 0, since the coordinates are based on the main display.
Similarly I don't understand the monitor indexes. Currently it's all "Determined by Custom Position". But what would 1 be? The one where I have the menu bar (centre in my case)? The one built-in to the MacBook? Is there a way to identify the numbers?
Determined by Custom Position means that Rectangle Pro will just lay out the window using the coordinate system available, again based on the displays present. If you have a window configuration on a display that has been removed then Rectangle Pro will just see that and won't do anything with that window. For example, if configured coordinates at -1200, -400 are not available because those coordinates were on a display that has since been removed, then it won't do anything with that window.
If you configure a window to have a docking position (and maybe screen percentage values which are <= 1 instead of absolute values), then selecting displays makes more sense. The display numbers are just ordered based on the location of the displays available. For example, if you have three displays in a row then the leftmost would be 1, center would be 2, and rightmost would be 3. There is no way to identify the numbers at this time.
It won't be before Wednesday that I'll be back in my office. I'll let you know how things go.
Oh well... it didn't happen any more... thanks for a great tool and your support!
App Layouts shortcuts stop working after some time. Shutting down and restarting Rectangle Pro does not solve the problem. The only way I have found to restore the shortcuts is to log off and on to my MacBook Pro.