Simple Window Manager - SWM

@Korvenwin thanks for reporting

@Andreas_Hegenberg i guess i have to export again, let me know when its ready. thanks for your efforts

Yep, unfortunately you'll need to re-export. 4.274 alpha should now be available.

1 Like

Updated gumroad page with 1.0.1 release. i guess this one requires latest alpha BTT release

see all changes on version 1.0 or read from first post;

:telescope: Improvement

  • Slightly faster double click to titlebar for Max / Restore function

:hammer_and_wrench: Fixes

:paperclip: New Tasks for Future Plans

:pushpin: [⭑⭒⭒] Adapt UI for vertical monitor setups

2 Likes

Hey @yw4z , I've got the preset installed but every time I click a window snapping option in the pop out menu, nothing happens. It just focuses my window again.

Hi @vexir i got many questions for you :slight_smile:
did you update BTT to latest beta (it required because i updated some code to latest features)
does 0.9 version of SWM working (i will compare with previous code if its working)
are you using sonoma
is everything looks normal beside functions that not works
does first row functions working (tile to left etc.) or which functions working normally
is custom grid working on popup window or fullscreen window

I did a quick test on my machine: Everything seems to work great here. Really amazing what you achieved with this!

@Andreas_Hegenberg thanks, actually i can say same for you. javascript integration of BTT is really great when combined with webview and ofc real javascript action also great. can i open a general discussion, missing features & bugs thread? i got many questions and suggestions and i dont want to open many different topics for each one. and i guess that will be helpful to others too

Sure that would be good. I have recently started working a lot on the Java Script stuff, so now would be a great time to improve things!

Hi @yw4z . Sorry to have to ask, but what is the recommended process for updating SWM versions? I performed the typical BTT update and checked the option to delete the old version. But now the SWM Popup Window Run Real Javascript does not work. Nothing happens even when I run the JS action manually.

you mean it stopped working after upgrading BTT? (My version of SWM still works on the current BTT, but maybe I forgot to check something specific?)

I can't tell when it stopped working because there have been BTT updates along the way too. It worked for awhile when I originally installed SWM. Today I decided to check for updates and installed and it is not working.

The effect I get is that the currently focused window becomes inactive. No popup is shown. I have a secondary monitor connected to a MBP but also tried with it disconnected and see the same thing. The script result is "1". I created a test where I call the named trigger "swmfloat" directly by a BTT keyboard shortcut and it seems to produce the same result. So it is not the JS, in "SWM Popup Window" but it is the named trigger "SWM - Floating View" which fails

Which version of macOS are you running? Have you tried to delete the swm preset and just import it again?

I'm on 14.1. I didn't manually delete the swm presets but instead checked that option when importing the new version of swm. I don't know how to tell if the import worked and if the old version was replaced. I have a couple of related feature requests though.

  1. Include "version" meta data for imported BTT presets so a user can see which version is installed
  2. An option to run a named trigger manually from within BTT by right click on the named trigger in a list.

I updated on latest alpha looks like SWM working fine

Calling named trigger "swmfloat" directly not works because SWM not gets window information
i'm not sure you tried which real javascript but you can trigger SWM with;
Keyboard Shortcuts > SWM Popup Window > Run Real Javascript > Run Script
triggering fullscreen overlay thru BTT interface is another story
@Andreas_Hegenberg might be useful "Run" item on context menu or a play button on bottom bar

Recommended method for updating > delete preset from presets menu then install new one
"delete the old version" option will not work because i didn't write version info to preset files

try each one if you have problems
1-update BTT to alpha release
2-make sure notifications for BTT is enabled on macOS setting (SWM 1.0+ versions sends a notification about problem)

3-delete BTT variables to reset all SWM settings from BTT settings > Scripting BTT > Reset All Variables
4-Try previous version confirm that working. so we know problem on this release
5-If window loses focus then floating window activates
---- 5.1 Open SWM preset folder > Prefs.js > change DevMode to 1.
---- 5.2 Try to open SWM window then right click (try 2 times if context menu no shown) > choose inspect element. You can still right click if SWM not visible
Screenshot 2023-11-03 at 20.01.50

---- 5.3 Click console tab then take a screen shot if you see other type of errors

---- 5.4 Also you can click "All" on top filter bar to see all SWM or System related extra info . expand object with clicking arrow

---- 5.5 Clearing cache might be helpful for some situations
Screenshot 2023-11-03 at 20.13.33

Further solutions
6-Check presets folder after deleting SWM. any leftovers could create problems. my SWM folder name 51EE6F5B-C9BF-4A0A-8B00-22A7EDE947A8Simple Window Manager - SWM should be similar on your system
7-problem might be related with UUIDs. this one needs more investigation

1 Like

:+1: I have added a play button for the next alpha!

Updated gumroad page with 1.0.2 version

:telescope: Improvement

  • Optimisations for Maximize / Restore feature and launch scripts
  • Added few more troubleshoot notifications to identify any problems while updating preset

:hammer_and_wrench: Fixes

  • SWM cant create default settings for fresh install
  • MaxWindowGap setting not works for Maximize / Restore Feature
  • Maximize / Restore Feature not working on some apps
  • Scroll / Swipe Up + Fn over windows conflicts with Enhanced Dock preset
  • Error notification shows up if there is no window for app

:mag: Known Issues

  • Maximize / Restore action cant resize finder window to correct size when Edge Gap enabled
1 Like

Just bought the app and it seems to work fine. However isn't there a way to have the window max over the stage manager?

@Norfeldt Hi thanks for your support. didnt understand your problem, is your stage manager automatically hides itself when you maximize your window? a video or further information might help

The max window is not the covering the are of the stage manager. I'm dropping trying to show it, since it seems to break my bettertouch tool and I have to do an entire uninstall to get it back to working. It's not your fault.I just don't have time to try and figure out what is going wrong.