Later add fix for Double Click inconsistency
https://github.com/wxWidgets/wxWidgets/pull/25886
(3 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
@RobertRoeb pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.
Result of testing under Windows (I've changed the logging format to see more lines on the screen):
wxEVT_ENTER_WINDDOW (buttons down: none)
wxEVT_LEFT_DOWN (buttons down: left)
wxEVT_LEFT_UP (buttons down: none)
wxEVT_LEFT_DCLICK (buttons down: left)
wxEVT_LEFT_UP (buttons down: none)
wxEVT_LEFT_DOWN (buttons down: left)
wxEVT_LEFT_UP (buttons down: none)
wxEVT_LEFT_DCLICK (buttons down: left)
wxEVT_LEFT_UP (buttons down: none)
wxEVT_LEFT_DOWN (buttons down: left)
wxEVT_LEFT_UP (buttons down: none)
wxEVT_LEFT_DCLICK (buttons down: left)
wxEVT_LEFT_UP (buttons down: none)
wxEVT_LEFT_DOWN (buttons down: left)
wxEVT_LEFT_UP (buttons down: none)
wxEVT_LEFT_DCLICK (buttons down: left)
wxEVT_LEFT_UP (buttons down: none)
wxEVT_LEFT_DOWN (buttons down: left)
wxEVT_LEFT_UP (buttons down: none)
wxEVT_LEFT_DCLICK (buttons down: left)
wxEVT_LEFT_UP (buttons down: none)
wxEVT_LEAVE_WINDDOW (buttons down: none)
This is not quite the same as under GTK where I get:
wxEVT_ENTER_WINDDOW (buttons down: none)
wxEVT_LEFT_DOWN (buttons down: left)
wxEVT_LEFT_UP (buttons down: none)
wxEVT_LEFT_DCLICK (buttons down: left)
wxEVT_LEFT_UP (buttons down: none)
wxEVT_LEFT_DOWN (buttons down: left)
wxEVT_LEFT_UP (buttons down: none)
wxEVT_LEFT_DOWN (buttons down: left)
wxEVT_LEFT_UP (buttons down: none)
wxEVT_LEFT_DCLICK (buttons down: left)
wxEVT_LEFT_UP (buttons down: none)
wxEVT_LEFT_DOWN (buttons down: left)
wxEVT_LEFT_UP (buttons down: none)
wxEVT_LEFT_DOWN (buttons down: left)
wxEVT_LEFT_UP (buttons down: none)
wxEVT_LEFT_DCLICK (buttons down: left)
wxEVT_LEFT_UP (buttons down: none)
wxEVT_LEFT_DOWN (buttons down: left)
wxEVT_LEFT_UP (buttons down: none)
wxEVT_LEFT_DOWN (buttons down: left)
wxEVT_LEFT_UP (buttons down: none)
wxEVT_LEFT_DCLICK (buttons down: left)
wxEVT_LEFT_UP (buttons down: none)
wxEVT_LEAVE_WINDDOW (buttons down: none)
where we get an extra pair of DOWN
/UP
events before each DCLICK
.
I'm not sure if we can (easily) change either of these behaviours, so maybe the best we can do is to document this difference.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
@vadz pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.
I think they have behave the same, but no back porting.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
@RobertRoeb pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.
@RobertRoeb pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.
I just checked wxGTK as well and I think it translates a triple click into a LEFT_DOWN, but other than that they would all behave the same now.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
@RobertRoeb pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.