Project

General

Profile

Feature #2892

Implement browse scrolling with mouse wheel

Added by Stanislav Lomany over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
Due date:
% Done:

100%

billable:
No
vendor_id:
GCD
version:

Related issues

Related to User Interface - Feature #2564: implement GUI BROWSE widget Closed

History

#1 Updated by Stanislav Lomany about 7 years ago

Guys, when a 4GL widget is focused you can scroll it with mouse wheel regardless of where the pointer is located. In P2J it seems that a widget receives mouse scroll event only when the pointer is positioned over the control. E.g. EDITOR is implemented in this way. Is there a way to catch mouse wheel globally?

#2 Updated by Constantin Asofiei about 7 years ago

Stanislav Lomany wrote:

Guys, when a 4GL widget is focused you can scroll it with mouse wheel regardless of where the pointer is located.

Is this valid even if the pointer is outside of the active window?

In P2J it seems that a widget receives mouse scroll event only when the pointer is positioned over the control. E.g. EDITOR is implemented in this way. Is there a way to catch mouse wheel globally?

Not without changes at the driver level... currently this sends the mouse events only to the widget hovered by the mouse pointer.

If focused widget can be scrolled regardless where the pointer is located, then this is a more generic problem (and not just related to browse), which needs to be fixed at both the Swing and Web drivers. I suggest implementing mouse wheel scroll for browse with the P2J code as it works now and fix the secondary issue later (or in a different task).

#3 Updated by Stanislav Lomany about 7 years ago

Is this valid even if the pointer is outside of the active window?

Yes.

#4 Updated by Stanislav Lomany about 7 years ago

Created task branch 2892a from P2J trunk revision 11148.

#5 Updated by Stanislav Lomany about 7 years ago

Rebased task branch 2892a from P2J trunk revision 11150.

#6 Updated by Stanislav Lomany almost 7 years ago

Rebased task branch 2892a from P2J trunk revision 11157.

#7 Updated by Stanislav Lomany over 6 years ago

Rebased task branch 2892a from P2J trunk revision 11158.

#8 Updated by Stanislav Lomany over 6 years ago

Greg, please review 2892a revision 11194 (not the last one), it has passed regression testing.

#9 Updated by Stanislav Lomany over 6 years ago

Branch 2892a revision 11196 passed regression testing, can be merged after your review.

#10 Updated by Stanislav Lomany over 6 years ago

2892a has been merged into the trunk as bzr revision 11159.

#11 Updated by Greg Shah over 6 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed
  • Start date deleted (12/01/2015)

Also available in: Atom PDF