[Mono-bugs] [Bug 67796][Wis] Changed - Flatstyle button needs some way of known is_pressed even after is_entered is set to false
Tue, 12 Oct 2004 23:52:44 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by firstname.lastname@example.org.
--- shadow/67796 2004-10-07 19:28:24.000000000 -0400
+++ shadow/67796.tmp.29001 2004-10-12 23:52:44.000000000 -0400
@@ -1,14 +1,14 @@
Product: Mono: Class Libraries
@@ -39,6 +39,24 @@
4. Hold click and exit control (notice darker shading of background)
5. Release click outside control (notice return of background color to normal)
We need to be able to replicate this behaviour but currently can't because
as soon as is_entered is set to false, is pressed is set to false.
+------- Additional Comments From email@example.com 2004-10-12 23:52 -------
+Another test case:
+1) Have a sample with two normal (non flat) buttons side by side
+2) add different click events to each
+3) click and hold mouse over the left button
+4) Observer the left button is pressed
+5) Hover over the right button with mouse still clicked
+6) Onserve no pressed effect
+7) Move the clicked mouse back over the left button and release
+8) Observe, first the pressed effect, and second the clicked event
+being fired inside the button.
+The left button remembered that the mouse had been pressed inside it,
+and registered the release inside it as a click.