"Move / Resize Window" seems to not take in to account the orientation of the screen

I was typing out the following which then made me realise the action "Custom Move / Resize Window" doesn't take in to account the orientation of the screen!

I have a vertical display where I want to split the windows in an either 50/50 split or something like 33/66 (either bottom or top). I have the same logic for left and right using the actions "Resize window to Left Third" and "Resize window to Left Two Thirds", these are not available for top and bottom splits, so I'm using the action "Custom Move / Resize Window", but on my vertical display which is 1440x2560 the window the following resizes the window to 949px which should be around 1700px and 33% resizes the window to 475px which should be 853px. If I do the logic on my other screen on my horizontal screen which has the same resolution (2560x1440) everything works as expected.

I have two screens both same resolution (2560x1440) and brand (different models though) and one of them is vertical. If I tell "Custom Move / Resize Window" to set the window height to 33% I get 480px which is one third of 1440, but I need to get the 33% from the 2560. I could all hard code this, but it would be nice if the function I'm building out would work on any monitor I use them on.

This is what I'm looking at

And this is what I'm trying to do.

Is your screen's rotation correctly set in System Settings => Display?
BTT relies on the resolution provided by the system (which should be 1440x2560 when rotated)

Ah wait, is what you have in your screenshot your actual config?

I think there might be a few problems:

  • You have selected "To Screen with specific frame", but you have not entered any frame
  • You have not checked either the "Really move the window's X" nor the "Really move the window's Y". I think you probably want to move at least one, probably both.

[quote="Andreas_Hegenberg, post:2, topic:39101, full:true"]
Is your screen's rotation correctly set in System Settings => Display?
BTT relies on the resolution provided by the system (which should be 1440x2560 when rotated)[/quote]

Of course, otherwise my screen wouldn't work correctly right?

Display Arrangement Settings

I was just trying things and this seems to work and I feel like I've tried all the options. If I set "Really Move The Window's X To That, Offset By:" and Y to 0 it will always move the window to my main screen and I want it to stay on the screen it is on and behave like the action "Maximize Window to Top Half", but in one and two thirds.

What ever I do the value that gets set is not correct and if I do as you suggested ti will move the window to my main screen? So I'm a bit lost on what to change/set or try.

The most important thing is to set the reference screen correctly, because every other calculation depends on that:

So for example this would fill the left third on the window's current screen:

Or this would move it to the left third of the screen with the given frame:

Ok, then there all the confusion is coming from, it is not for me.

If I copy your logic to my BTT and envoke the action the current window will move to the main display. I've other actions for instance "Maximize Window" which works perfectly and maximises the window on the current screen, but below moves the window to the main screen and I cant figure out why.

Any tips how to get this fixed? The main issue here is that it moves to a different screen if I use your logic.

Unfortunately I currently can't think of a reason why this wouldn't work. I tried with various screen setups but it's always working correctly here.

Is this happening with all windows or just with some? (A good test window is usually text edit as it doesn't have any constraints)

To my knowledge with all windows. I just tried TextEdit and there it also happens.

I've also tried rotating that screen back to normal (0deg) and then it also happens. It seems to just always want to move to the "main screen". Where all the build in features work as I would expect.

I have other "move/resize" actions that move widows to the next screen over which also all work fine.

Could you copy & paste the trigger that executes the problematic resizing action here? (just cmd+c in BTT, then cmd+v here, it will output some JSON)

[
  {
    "BTTLastUpdatedAt" : 1727081293.594101,
    "BTTTriggerType" : 0,
    "BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
    "BTTUUID" : "D895494C-5923-476B-B177-E2EE574BA707",
    "BTTPredefinedActionType" : 366,
    "BTTPredefinedActionName" : "Empty Placeholder",
    "BTTAdditionalConfiguration" : "10231856",
    "BTTKeyboardShortcutKeyboardType" : 0,
    "BTTTriggerOnDown" : 1,
    "BTTLayoutIndependentChar" : "UP",
    "BTTEnabled" : 0,
    "BTTEnabled2" : 1,
    "BTTShortcutKeyCode" : 126,
    "BTTShortcutModifierKeys" : 10223616,
    "BTTOrder" : 9,
    "BTTAutoAdaptToKeyboardLayout" : 0,
    "BTTAdditionalActions" : [
      {
        "BTTLastUpdatedAt" : 1727081271.6876569,
        "BTTTriggerType" : -1,
        "BTTTriggerParentUUID" : "D895494C-5923-476B-B177-E2EE574BA707",
        "BTTIsPureAction" : true,
        "BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
        "BTTUUID" : "F1B9A02D-EA03-4B25-AB64-C5144B510050",
        "BTTPredefinedActionType" : 251,
        "BTTPredefinedActionName" : "Custom Move \/ Resize Window",
        "BTTGenericActionConfig2" : "top third",
        "BTTActionMoveResizeConfig" : "{\"BTTOriginDisplay\":0,\"BTTChangeYOriginRelative\":0,\"BTTScreenOrigin\":1,\"BTTDirectionToMove\":0,\"BTTChangeHeightRelative\":1,\"BTTScreensToMove\":1,\"BTTNewYAbsolute\":0,\"BTTNewXRelative\":0,\"BTTOriginToUse\":1,\"BTTNewWindowWidthRelative\":100,\"BTTChangeWindowWidth\":true,\"BTTNewXAbsolute\":0,\"BTTChangeYOrigin\":1,\"BTTUseVisibleFrame\":false,\"BTTCareForStageManager\":false,\"BTTChangeXOriginRelative\":0,\"BTTChangeWidthRelative\":1,\"BTTActiveOrHoveredWindow\":0,\"BTTNewWindowHeightRelative\":33,\"BTTChangeWindowHeight\":true,\"BTTNewYRelative\":0,\"BTTChangeXOrigin\":1}",
        "BTTActionMoveResizeName" : "top third",
        "BTTKeyboardShortcutKeyboardType" : 0,
        "BTTEnabled" : 1,
        "BTTEnabled2" : 1,
        "BTTShortcutKeyCode" : -1,
        "BTTShortcutModifierKeys" : -1,
        "BTTOrder" : 795,
        "BTTAutoAdaptToKeyboardLayout" : 0
      }
    ]
  }
]

action

[
  {
    "BTTLastUpdatedAt" : 1727081271.6876569,
    "BTTTriggerType" : -1,
    "BTTTriggerParentUUID" : "D895494C-5923-476B-B177-E2EE574BA707",
    "BTTIsPureAction" : true,
    "BTTPredefinedActionType" : 251,
    "BTTPredefinedActionName" : "Custom Move \/ Resize Window",
    "BTTGenericActionConfig2" : "top third",
    "BTTActionMoveResizeConfig" : "{\"BTTOriginDisplay\":0,\"BTTChangeYOriginRelative\":0,\"BTTScreenOrigin\":1,\"BTTDirectionToMove\":0,\"BTTChangeHeightRelative\":1,\"BTTScreensToMove\":1,\"BTTNewYAbsolute\":0,\"BTTNewXRelative\":0,\"BTTOriginToUse\":1,\"BTTNewWindowWidthRelative\":100,\"BTTChangeWindowWidth\":true,\"BTTNewXAbsolute\":0,\"BTTChangeYOrigin\":1,\"BTTUseVisibleFrame\":false,\"BTTCareForStageManager\":false,\"BTTChangeXOriginRelative\":0,\"BTTChangeWidthRelative\":1,\"BTTActiveOrHoveredWindow\":0,\"BTTNewWindowHeightRelative\":33,\"BTTChangeWindowHeight\":true,\"BTTNewYRelative\":0,\"BTTChangeXOrigin\":1}",
    "BTTActionMoveResizeName" : "top third",
    "BTTEnabled" : 1,
    "BTTEnabled2" : 1,
    "BTTShortcutModifierKeys" : -1
  }
]

I just learned that I was on version 4.4X off the app. Somehow Setapp did not update the app and the only way to update was to delete the app and reinstall it...? So this was probably causing the issue.

In the mean time I moved to AeroSpace for window management and it is great!