RectanglePro-Community icon indicating copy to clipboard operation
RectanglePro-Community copied to clipboard

Bug: Resize doesn't work on several IntelliJ pop-ups

Open shane-tang opened this issue 3 years ago • 2 comments

There are several windows in IntelliJ (eg. double-shift, command+shift+F) that can be repositioned by Rectangle/Pro but can't be resized.

They don't appear to use the standard API for windows which likely breaks this functionality, but it'd be really great to add a special case to support these windows. These windows can be resized by dragging any corner but the target area is really small, so Rectangle/Pro support would be amazing.

Steps to repro:

  1. Bind a resize hotkey under Rectangle Pro > Preferences > Window Throw > Resize image
  2. Open IntelliJ (or similar forks, like Android Studio)
  3. Press Command+Shift+F
  4. Attempt to resize the pop-up using the hotkey + mouse
    • Using snap will also reposition the window but not resize the window

These windows are some of my most frequently-resized windows and are among the only windows I've noticed don't work with resize.

shane-tang avatar Nov 15 '22 09:11 shane-tang

I searched this repo's issues and didn't see anything similar but I just now noticed this similar issue on regular Rectangle. I'm guessing there's no chance of support since it doesn't use the standard accessibility API?

shane-tang avatar Nov 15 '22 09:11 shane-tang

Right, this does come down to JetBrains IDEs not using standard windows in these situations, so they cannot be manipulated via the accessibility API. This is most commonly seen with cross-platform applications that have been around a while.

rxhanson avatar Nov 15 '22 19:11 rxhanson