KDE Mover-Sizer
Move and resize Windows windows just like Linux Windows!
An essential add-on for Windows XP, 2K, Windows Server, Windows 7 and Windows 8/8.1.
Yeah, okay, and Vista!
Here is a page about my KDE Mover-Sizer. Okay, it's not entirely mine, not even mostly, but I've added enough code to call it mine, and it's too damn essential to not have a page of its own somewhere, so here it is..What does it do?
KDE Mover-Sizer is a background application that emulates the behaviour of KDE, which is a rather good Linux desktop environment. Actually, Gnome and other Linux window managers also do it these days, but that wouldn't make for such a funky name. Essentially, you hold down the Alt key, and Left-click to move a window, Right-click to resize it; and from anywhere inside the window. That's it. And once you use it for a few minutes, you'll wonder how you ever lived without it.The utility itself is coded with AutoHotKey, originally a fork of AutoIt, and highly useful in its own right. The original script (which I snaffled from the AutoHotKey forum, the best of many similar scripts) did all the above, but was missing something essential, that is; window snapping. So I added that, and gave them it back.
The window snapping is important for at least two reasons; 1) it enables you to place a window, as if by magic, exactly at the edge of your desktop. If, like me, you like to keep your main document windows in the centre of your screen, and leave lots of folder windows open up and down the sides of your desktop (I have a widescreen monitor now, which makes this even more effective) then you will find it invaluable. And 2) it enables you to resize the window from the edge of your screen. This is easier to do than to explain, though I'm going to attempt that anyway, with a couple of how-to style tips..
Cool Tricks..
I've gotten into a couple of habits thanks to the KDE Mover-Sizer. The first is a quick one-two action where I first Alt-Left-click a window and throw it roughly into place (off the edge of the screen), and then do a single Alt-Right-click to snap it back into perfect view. I've already had a week-off with all the time this good habit has saved me.The new version can also snap directly to the edge during regular Alt-Left-Click moving - so long as you are within the snap distance, it will lock against the edge of your desktop. You can also constrain movement along the X or Y plane by holding down the<SHIFT> key, very nice!
The second habit of one of resizing windows from the edge. First, I get them there, as in tip 1, then I grab a corner (anywhere in the quadrant is fine) with an Alt-Right-click, and drag-resize them while the two opposite edges (one of which is bang up against the edge of the desktop) stay put. This isn't so much a time saver, as a sanity saver. I'm very particular about the amount of white space that shows in folder windows, and it they don't look right, I couldn't leave them open. Leaving them open is what saves time.
Another thing I've started doing, is sliding windows up and down the edge of my desktop by Alt-Left-click+drag (at the very edge of the desktop). The snap keeps them from moving left and right - it's like they are on rails! Very handy. And remember, it works on windows behind windows, too, and without bringing them to the front.
Try it!
You need to play with it to fully appreciate the beauty of KDE Mover-Sizer. Fortunately, I have a precompiled Windows executable which you can simply download and run. There's no installer, and it doesn't use the registry. The only settings are in a regular plain text ini file, which lives right next to KDE Mover-Sizer.exe, so it's completely portable. When running, a cute tray icon enables you to exit, if required (unlikely!), as well as a few other options. Drop a shortcut into your startup folder, and then you're cooking with KDE!Then forget about it..
KDE Mover-Sizer uses very little resources to work its magic, and works on all desktop windows, even windows that aren't at the front, even those daft fullscreen installer windows. It will even sneak inside a Sandboxie and work there. It also enables you to resize windows that don't normally allow resizing, which can be a real bonus with certain dumb dialogs (cough *FirefoxSearchPlugin* cough). In no time, it feels perfectly natural, and you're throwing windows around with a whole new level of precision and abandon!Like I say, I "couldn't live without it", and I'm fairly certain that if you use it for a wee while, you will feel the same way. At any rate, it's free; so why not try it and see..
KDE Mover-Sizer Download
click to see zip archive contents
LIVE MD5+SHA1 Multi-Hashes..
# made with checksum.. point-and-click hashing for windows (64-bit edition). # from corz.org.. http://corz.org/windows/software/checksum/ # #md5#KDE Mover-Sizer for Windows.zip#2014.09.10@11.15:30 b14b27a7556b2c2e7dd8a1fff9b2a107 *KDE Mover-Sizer for Windows.zip
# made with checksum.. point-and-click hashing for windows (64-bit edition). # from corz.org.. http://corz.org/windows/software/checksum/ # #md5#KDE Mover-Sizer for Windows.zip#2014.09.10@11.15:30 b14b27a7556b2c2e7dd8a1fff9b2a107 *KDE Mover-Sizer for Windows.zip
click to see zip archive contents
LIVE MD5+SHA1 Multi-Hashes..
# made with checksum.. point-and-click hashing for windows (64-bit edition). # from corz.org.. http://corz.org/windows/software/checksum/ # #md5#KDE Mover-Sizer for Windows x64.zip#2014.09.10@11.15:34 34d40215c5023ebeb8dfdc86b4bdd82f *KDE Mover-Sizer for Windows x64.zip
# made with checksum.. point-and-click hashing for windows (64-bit edition). # from corz.org.. http://corz.org/windows/software/checksum/ # #md5#KDE Mover-Sizer for Windows x64.zip#2014.09.10@11.15:34 34d40215c5023ebeb8dfdc86b4bdd82f *KDE Mover-Sizer for Windows x64.zip
While I'm about it, the next time KDE Mover-Sizer saves you time and sanity navigatin' your mouse to a 1 pixel wide border or incy title bar or corner handle, feel free to whisper "Thanks Bud!" under your breath to the following good people who all had their grubby mits on KDE Mover-Sizer at some point..
- aurelian (original code snippets)
- Chris (original code snippets)
- ck (original code snippets)
- Cor (window snapping, some other stuff)
- Jonny (first to pull the snippets together into a workable solution)
- jordoex (well, someone had to care about Vista!)
- Matthias Ihmig (multi-monitor support, config file and more)
- thinkstorm (original code snippets)
If you want to check out the source (with fuller credits), perhaps customize it to your own requirements, even add some new feature and your name to the above list, or whatever, the code is freely available, here..
Have fun!
;o) corz.org
p.s. KDE Mover-Sizer works inside a Sandboxie sand box, without having to load a separate instance. KDE Mover-Sizer also works inside CoLinux, e.g. Portable Ubuntu. In fact, it would be quicker to list the places it doesn't work, if I knew of any.
Welcome to the comments facility!
Awesome tool.
Came here to say thanks.
Also to report an issue with Windows 11 and Alt+Tab, when I close the tool, I can select a window in Alt+Tab, but when the tool is active, Alt+Tab + mouse click doesn't work.
I'm thinking M$ might have changed something, because users of other tools are reporting this issue.
I reference this issue here:
https://www.reddit.com/r/Windows11/comments/taglde/comment/i06e3cg/?utm_source=share&utm_medium=web2x&context=3
I'm willing to pay you to make this handy program work on fullscreen browser windows again. There's gotta be a way...
Hi Cor,
please please update this excellent utility also for Win 11. I promise I send you my donation again.
Petr
Czechia
Hello,
if KDE-Mover-Sizer for win is not longer used,
how can I uninstall the program or get rid if it in any way ?
Thanks !
Hi. I wanted to leave a message to thank you for this great software. Still running well on Windows 11.
Thank you!
What an INCREDIBLE program. I've been using it for at least 2 years.
I cannot imagine ever grabbing a titlebar or edge of a window again.
I use a mouse with 12 thumb buttons. One of them is like an ALT key. So, without ever moving anything but the mouse, I'm able to hold a button with my mouse thumb and move the mouse to either move or resize the window.
Who knows how many hours (days???) of my time has been saved by not moving the mouse to the titlebar.
Thank you thank you thank you!!!
-mike
@Lockszmith:
I don't have Win11 yet, but if you have a little programming skill, you could try it yourself:
Look at this section in the .ahk file around line 880:
; Vista+ Alt-Tab fix by jordoex..
IfWinActive ahk_class TaskSwitcherWnd OR ahk_class MultitaskingViewFrame
Most probably Microsoft changed the class name returned by ahk_class.
So first find out the ahk_class name, then extend the if clause with another "OR".
And let us know here the Win11 ahk_name :-)
@trace:
Did you try triggylol's config from 19.11.20 ?
"At the moment it works again in Firefox (83.0b3 (64-Bit)) if you set the entry "full-screen-api.ignore-widgets" in "about:config" to tru."
I just tried it on FF 133.0 and it seems to work. So, enter about:config in the FF URL window, change the entry and see if it works.
@Wilhelm:
I'm not aware there is an installer?
The ahk-Script runs without any install, only using Autohotkey.exe (respectively corz' packaged version.
If you don't want it to start automatically, remove the .lnk from your startup folder.
If you don't want it on your drive, just remove the files/folder (e.g. "KDE Mover-Sizer for Windows") which contains KDE Mover-sizer.exe resp. Autohotkey.exe and the KDE Mover-Sizer.ahk script.
@all:
Thanks for all the positive feedback here - I'm also still using this tool, so once I move to Win11 and find something not working, there might be updates :-)
Just tried it - to fix clicking on Windows shown with Alt+Tab in Windows 11,
extend lines 852 and 1002 to this:
IfWinActive ahk_class TaskSwitcherWnd OR ahk_class XamlExplorerHostIslandWindow
Maybe some time in the future, I'll send cor an update, but until then,
if you want to click a Window in the Alt+Tab or Desktops view, just edit the line above in your .ahk script.
Hope that helps
Hey Matthias, I appreciate the response.
While setting "full-screen-api.ignore-widgets" "true" sort of does the trick, there unfortunately are multiple problems with it:
- With it enabled the browser window will never actually fill the full screen again, but I want to still be able to do that as well.
- The browser window won't dock neatly to the edges of the screen with KDE Mover-Sizer. This is something I've noticed with more and more things in Windows 10/11: instead of actually snapping to the edge of the screen with Mover-Sizer, there's random spaces left between window and screen border. It's odd because not all windows/programs experience this issue.
- The tab/url bar doesn't automatically pop up on cursor hover, so you have to always press F6 to bring it up.
- There is still a subtle window border around the browser window.
What's curious is that explorer.exe windows can still be resized and moved with Mover-Sizer while in F11 fullscreen mode (and will then also align neatly with the edges of the screen), but none of the browser windows can. I think more and more browsers have gradually migrated to a new fullscreen API that for one reason or another doesn't listen to calls from this applet. But I can't imagine there isn't a way to make it work again...
Kind regards
Hi trace,
- not sure what you mean by "With it enabled the browser window will never actually fill the full screen again, but I want to still be able to do that as well."
Resize or Move only makes sense for a non-maximized window. If you want to maximize it again (even without any window title frame), you can use Hotkey(e.g. Alt)+Middle click. Is that what you are looking for?
- "tab/url bar on cursor hover": I see what you mean. If the combination with Alt+Middle to first maximize and then hover to the top is slightly too inconvienient, you could add a new hotkey which just maps to F6. Or you change one of the Double-Alt hotkeys from Minimize/Maximize/Close to F6.
This is a quite special behaviour, so it won't make sense to include this for everyone. Please use the source ahk file for this.
- The "subtle" border around most windows is the now invisible frame used in earlier Win version as "drop shadow" around the windows and yes, this has annoyed me since Win10 as well.
The "Windows-Snapping" (Alt+CursorKeys) considers this and makes the window slightly larger to "hide" the border on the neighboring screen (including some invisible overlap, so part of the scroll bar only works when the window is on top).
Unfortunately, there is no easy solution, because Windows messes up WinMove (both in AHK and in the underlying original Windows DLL call) with multiple monitors using different DPI settings and Autohotkey V1 doesn't have readily usable functions to fix it for all cases. I'm just working on this again and try to find a stable solution.
(Especially since for Win11 the borders seem to have increased even more, so I'd like to get rid of them).
What other apps are you thinking about that don't work? In general, to resize a "fullscreen", the application must still be a window that has just been maximized and still has the properties for x/y-origin and width/height. If the application implements fullscreen like a "wallpaper" without any origin and size properties, there's nothing KDE Mover-Sizer can modify to move/resize the window.
Hello again Matthias,
- "If you want to maximize it again (even without any window title frame), you can use Hotkey(e.g. Alt)+Middle click. Is that what you are looking for?"
Yep, that solves that issue!
- "you could add a new hotkey which just maps to F6"
Yeah, I could bind F6 to some mouse button, that may be more convenient than actually pressing F6. Although still not as convenient and intuitive as the hover.
- The "subtle" border around most windows is the now invisible frame used in earlier Win version as "drop shadow" around the windows and yes, this has annoyed me since Win10 as well.
The thing is this border obviously does not exist on a fullscreen window, so when resizing that fullscreen window I would expect there to not be a border either. And this was true in the past. In fact, this is still true even now, when using the old versions of Firefox where resizing with KDE in fullscreen mode still functioned. I will link a video at the end of this post.
- "The "Windows-Snapping" (Alt+CursorKeys) considers this and makes the window slightly larger to "hide" the border on the neighboring screen"
I'm not sure this is in reference to the issue of not all windows neatly docking with KDE in Windows 11, but just in case: Open any folder, use Windows key + left or right arrow key and the explorer window will neatly align with the edges of the screen; use KDE's grid resizer instead and there will be quite a lot of space between the explorer window and screen edge. But then when you use KDE's resizer on Steam or Discord windows for instance, they will neatly dock to the edges of the screen.
- "What other apps are you thinking about that don't work? In general, to resize a "fullscreen", the application must still be a window that has just been maximized and still has the properties for x/y-origin and width/height. If the application implements fullscreen like a "wallpaper" without any origin and size properties, there's nothing KDE Mover-Sizer can modify to move/resize the window."
It's odd because I can even resize DirectX games running in fullscreen mode (FSE/FSO) with KDE, and yet I can't resize browser windows in fullscreen mode.
Here's the clip:
https://drive.google.com/file/d/1klHdUHiKtLVITmrQnul8O1zF32l-Uz6c/view
This is on a fresh Windows 11 install. As you can see, I can resize fullscreen Firefox freely, it doesn't have a window border, it docks neatly to all edges, and the url/tab bar pops in on hover.
This is with version 55.0.3, although I'm not sure with which version this stopped working. You can find old Firefox versions here if you want to mess around with this: https://ftp.mozilla.org/pub/firefox/releases/
Cheers again Matthias for responding, have a nice day!