Project

General

Profile

Bug #2477

Feature #2252: implement GUI client support

Feature #2446: implement BUTTON and IMAGE GUI widgets (runtime and conversion support)

button remains pressed when it should not

Added by Greg Shah over 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:

evl_upd20150331a.zip - Suggeted fix for review (240 KB) Eugenie Lyzenko, 03/31/2015 08:09 PM

History

#1 Updated by Greg Shah over 9 years ago

Sometimes button seems to lose track of mouse events. Perhaps it has something to do with dragging and then releasing the mouse outside of the button, but I'm not sure. When this occurs, the mouse will stay pressed and will not release even though the mouse button is no longer being held down. You have to click and release the mouse on the button again to get it to fix itself.

#2 Updated by Eugenie Lyzenko about 9 years ago

The root cause I think is the fact when drag event occurs on GUI button the button itself does not get the mouse exit event until button is released even if the mouse pointer is far away from the button was pressed. The attached fix for review solves this issue releasing button just after the pointer leaving the button border even if the mouse button is pressed. This change to ButtonGuiImpl.java is planned to be included into new approach fix for future #2480 GO/CHOOSE events update. This update is for review only.

#3 Updated by Greg Shah about 9 years ago

Code Review evl_upd20150331a.zip

I'm good with the solution. Please include it in your next update for #2480.

#4 Updated by Greg Shah about 9 years ago

  • Status changed from New to Closed
  • Target version set to Milestone 12

#5 Updated by Greg Shah over 7 years ago

  • Target version changed from Milestone 12 to GUI Support for a Complex ADM2 App

Also available in: Atom PDF