Hi everyone,

The problem is when I double click or triple click on the button, the process will be excute two times or more. So are there solutions to handle this situation ?

The problem occurs here in a ivy 4.3 Rich Dialog.

Thanks

asked 23.06.2014 at 10:20

Tho%20Tran's gravatar image

Tho Tran
(suspended)
accept rate: 0%

edited 23.06.2014 at 10:30

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
9.4k31958


We simply disable the button after the first click.

link

answered 23.06.2014 at 10:24

Daniel%20Oechslin's gravatar image

Daniel Oechslin
(suspended)
accept rate: 39%

It is a known issue. See #22485: RButton can be clicked mutliple times during event handling were it should be blocked

You can track the bug within soreconect. As this is known since a longer period of time, but not yet fixed, I would suggest that you implement a workaround. You could introduce something like a "buttonClicked" flag on the process data and only proceed the event execution, when the flag does not indicate, that the event has already been executed.

link

answered 23.06.2014 at 10:27

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
9.4k31958
accept rate: 70%

edited 23.06.2014 at 10:28

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×40

Asked: 23.06.2014 at 10:20

Seen: 2,559 times

Last updated: 23.06.2014 at 10:30