polonium icon indicating copy to clipboard operation
polonium copied to clipboard

Mouse move/resize suggestion++

Open iggut opened this issue 2 years ago • 2 comments
trafficstars

Currently using the Meta + Mouse Left BTN (move window) and Meta + Right BTN (resize window) : Removes the window from the tiling layout and leaves the window floating.

  1. Meta + Mouse Left BTN (move window): Would be preferable if window would go back to tiled when released from the move and snap-tile to the closest boarder or swap location with the tiled window you released the one you are moving.
  2. Meta + Right BTN (resize window): Would be preferable for the window to stay in tiled layout and change the size of the tiled window and those around it accordingly. Example of kwin script that "accomplishes" the resizing portion: https://store.kde.org/p/1112552
  3. Add a Shortcut option to tile/un-tile all windows on current desktop.

iggut avatar Nov 15 '23 14:11 iggut

  1. Hold shift to place windows back in the layout. The new version of the script (v1.0) no longer hooks into frameGeometryChanged but instead into tileChanged, which is better overall for stability but there is no longer any chance this feature will be implemented. See https://zeroxoneafour.github.io/polonium/faq.html
  2. Resizing tiled windows seems to work with moving the layout around, but I may have to do some debugging to get it consistent with the script. I'll look into this.
  3. Will work on it.

zeroxoneafour avatar Nov 17 '23 14:11 zeroxoneafour

  1. Resizing only works if you're slow and if you're resizing from the center of screen in, but not from any other corners (it'll unsnap the window)

NyaomiDEV avatar Apr 04 '24 15:04 NyaomiDEV