paragasa / openholdembot

Automatically exported from code.google.com/p/openholdembot
Other
0 stars 0 forks source link

SWAG does not work when swagdeletionmethod is set to TEXTDEL_NOTHING #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which product and version is being used? (OpenHoldem, OpenScrape, OHReplay,
or ManualMode)
OpneHoldem2 r799

What steps will reproduce the problem?
1. set swagdeletionmethod to TEXTDEL_NOTHING
2. try to SWAG
3. text in input field is selected by double-click, then 'single-click'
deselectets it, then numbers are entered and messed with default value.

What is the expected output? What do you see instead?
Avoid that 'single-click'. As I see that click is issued by Reference
Keyboard DLL.

Please provide any additional information below.
I suggest to remove clicking from Reference Keyboard DLL. It seems to be a
task of Mouse DLL.
Refactor void CAutoplayer::DoChat(void) as it expects this click to focus
on chatbox.
I'm not sure about _dll_keyboard_sendkey in DoSlider when
swagconfirmationmethod == BETCONF_ENTER. Jamming slider, then ENTER? Strange...

Thank you,
zecode.

Original issue reported on code.google.com by ze.c...@gmail.com on 9 May 2009 at 4:37

GoogleCodeExporter commented 8 years ago
"text in input field is selected by double-click, then 'single-click'
deselectets it, then numbers are entered and messed with default value."

This is actually expected behavior when TEXTDEL_NOTHING is set for the SWAG 
deletion
method.  If you want OH to delete the text before "single clicking", then set 
the
swag deletion method to one of the other choices.

Status to Invalid...please add further detail if this needs to be reconsidered.

Original comment by openhol...@gmail.com on 11 May 2009 at 1:24

GoogleCodeExporter commented 8 years ago
I agree.
Though when I play poker I double-click in the text field, then enter digits
immediately. It's not usual for human to double-click, then erase, then enter.

Original comment by ze.c...@gmail.com on 11 May 2009 at 6:12