Hacker News new | ask | show | jobs
by numpad0 859 days ago
On Windows, there is "Move" menu item in shift+right click context menu on taskbar icons. Selecting this item, then pressing left/right/up/down key brings window immediately into closer edge of valid desktop area, with mouse pointer sent to that window titlebar. This item existed since at least OS/2, and although it was not found in early version of Windows 11 new taskbar, it has since been re-implemented.

I know because I needed it while it had been missing :p

1 comments

I believe that is only available for native Windows apps. Alt-Space was the keyboatd shortcut for it, very useful if the window had moved so far offscreen that you could not reach it with the mouse.

However, this doesn't seem to work with the newer Electron style apps, like Teams. They do not appear to follow the classic Windows patterns.

Yeah, there's some delineation in those apps. I notice the same behavior when I hover over the "maximize window" icon in Windows 11 and some apps show an outline of the options of I have but electron apps including chrome
At lease for the function that trigger by hoving maximun button. I believe windows do expose this api, firefox has this enabled for years even they draw the whole screen include icons using xul. And electron apps in native resize button mode also use actual windows resize button (Or fake one created by electron itself?) that has this function enabled. It's just some million-dollor company that are too dumb to support it properly (Or probably PM pushed it back because no user requires it?)