medenagan / window-corner-preview

GNOME Shell extension showing a video preview on the corner of the screen
https://extensions.gnome.org/extension/1227/window-corner-preview/
MIT License
135 stars 26 forks source link

The overlay resizes so small it is not visible #16

Open skamansam opened 5 years ago

skamansam commented 5 years ago

Describe the bug When resizing the overlay, it can be resized to a size so small as to not be able to be seen or resized any further.

To Reproduce Steps to reproduce the behavior:

  1. Right-click and drag overlay to resize
  2. When moving the cursor too fast, the cursor will leave the overlay area. (This is really the root of the problem - resizing the overlay is too slow.)
  3. Re-enter the overlay. (with or without the right mouse button depressed)
  4. move the cursor to the opposing corner or side of the overlay.

Actual behavior The overlay continues to resize smaller and smaller, but is too slow to resize larger, so it is very difficult to resize to a larger area.

Expected behavior The overlay stops resizing when the overlay size is smaller than 100x100 pixels (or some reasonable size).

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):