antongenchev / Screenshot-utility

A GUI program for taking screenshots
MIT License
1 stars 0 forks source link

Incorrect handling of CTRL modifier while moving the draggable widget #1

Closed antongenchev closed 4 hours ago

antongenchev commented 4 hours ago

Steps to reproduce:

  1. Create a screenshot using the tool
  2. Start moving the draggable widget
  3. While moving the draggable widget is moving press the ctrl key
  4. Move the mouse more and release the mouse

    Expected behavior:

    Do not stop the current action whether it is resizing of the box or dragging it when ctrl is pressed.

    Actual behaviour:

    Pressing ctrl always blocks the mouse events of the draggable widget

antongenchev commented 4 hours ago

Fixed on: commit 6076709e242ad6ee347659adc75fe1a0844e4a55 (HEAD -> main, origin/main, origin/HEAD) Author: Anton Genchev antongenchevfractal@gmail.com Date: Thu Oct 17 20:37:00 2024 +0300

Fix Issue #1. Do not block DraggableBox events if the event is not ctrl + click