Project

General

Profile

Bug #6636

Unwanted selection due to direct manipulation

Added by Stanislav Lomany almost 2 years ago. Updated almost 2 years ago.

Status:
WIP
Priority:
Normal
Target version:
-
Start date:
07/25/2022
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:

History

#2 Updated by Stanislav Lomany almost 2 years ago

Read #5644-23 and #5644-25 for a start.

#3 Updated by Stanislav Lomany almost 2 years ago

Eugenie, the changed condition

-         if (bc.selectable && bc.selected && !bc.manualHightlight)
+         if (bc.selected && !bc.manualHightlight)

resided in drawing code, which on practice means that a widget could be selected using UI, but it was not drawn as selected.

Now I see a problem that a non-selected widget cannot be dragged. In MouseDirectManipulation.getMovableWidgetsBounds() and getWidgetsToMove() there're 4 places where a widget is considered movable if widget.selected && widget.movable. However I don't observe it in 4GL: if a widget is moved, it is selected at the end of drag. And a widget is not selected it it is a non-selectable widget. While FWD relied on widget being secretly selected on mouse down.

Sure if I remove widget.selected part from the widget.selected && widget.movable condition there're more problems down the rabbit hole. So I want to ask if I'm missing something?

Also available in: Atom PDF