#4493: ALT+CTRL on border could resize a window ---------------------------------+------------------------- Reporter: humdinger | Owner: nobody Type: enhancement | Status: assigned Priority: normal | Milestone: R1 Component: Servers/app_server | Version: R1/alpha1 Resolution: | Keywords: Blocked By: | Has a Patch: 0 Platform: All | Blocking: ---------------------------------+------------------------- Comment (by humdinger): Replying to [comment:13 bonefish]: > Well, how about a different mouse button then? Unless I miss something the middle mouse button doesn't have any actions associate with it yet and for the right button only the click is used. Either button would allow enlarged resize regions without interfering with anything else. Good thinking! I suggest using RMB instead of MMB as there's no MMB on many notebooks. So how about this: * CTRL+ALT+LMButtonDown anywhere: change mousepointer, dragging moves window. * CTRL+ALT+RMButtonDown anywhere: change mousepointer, dragging resizes window. * dragging right: resize right border * dragging left: resize left border * dragging up: resize top border * dragging down: resize bottom border * dragging diagonally: resize the respective corner * CTRL+ALT+RMButtonUp: if mouse wasn't moved (much) since RMButtonDown, send window to back. The RMB thing may take some getting used to, as the send-to-back will then kick in only when releasing the mouse button and upon the click-down. A very small price, I think. > The only drawback would be that the mouse cursor shape couldn't indicate the action until one presses the respective button. OTOH I don't see why the app server couldn't draw helpful feedback directly on top of the window (or its border at least). The above mouse button action would not rely on a border at all anymore. Which is nice because a theme could make the border arbitrarily small. Some app_server eye-candy could be nice but isn't essential. Usage looks pretty straight forward. One day we may have some nice shortcut customizing in place, so people with many mouse buttons could even assign the above actions to avoid the CTRL+ALT combo. -- Ticket URL: <http://dev.haiku-os.org/ticket/4493#comment:14> Haiku <http://dev.haiku-os.org> Haiku - the operating system.