Skip to main content



      Home
Home » Eclipse Projects » NatTable » Validation dialog popup multiple times
Validation dialog popup multiple times [message #1814515] Thu, 12 September 2019 09:35 Go to next message
Eclipse UserFriend
Hi,

I am not sure if anyone has seen this problem already and have a quick solution for this.

In nattable examples "EditErrorHandlingExample" column4 provides a dialog for handling error messages. But if i click outside the dialog area and click back on the dialog , it popup another dialog. Please see the gif in the attachment, does anyone has a solution for the same?

Regards,
Abhishek
Re: Validation dialog popup multiple times [message #1814524 is a reply to message #1814515] Thu, 12 September 2019 12:50 Go to previous messageGo to next message
Eclipse UserFriend
Actually on Windows this does not happen. The MessageDialog opens modal, so you can't change the focus which would lead to that situation. I suppose an issue on GTK SWT.

You could try to locally override DialogErrorHandling#showWarningDialog() and add

warningDialog.setBlockOnOpen(true);

This should be true by default, but maybe it is not on Linux. If that works it would be great if you could provide feedback and even a Gerrit patch so we can fix it this way. Otherwise a SWT GTK bug needs to be created.
Re: Validation dialog popup multiple times [message #1814879 is a reply to message #1814524] Sat, 21 September 2019 05:56 Go to previous messageGo to next message
Eclipse UserFriend
HI Dirk,

Thanks for the quick reply. But the solution you provided didn't help. The problem is still there.

Regards
Abhishek

[Updated on: Sat, 21 September 2019 09:43] by Moderator

Re: Validation dialog popup multiple times [message #1815101 is a reply to message #1814879] Wed, 25 September 2019 09:06 Go to previous message
Eclipse UserFriend
Then you should probably ask the SWT team why on GTK modal dialogs are not working as expected.
Previous Topic:Custom TextMatchingMode
Next Topic:How to track drown RowSelectionEvents
Goto Forum:
  


Current Time: Thu May 15 16:51:03 EDT 2025

Powered by FUDForum. Page generated in 0.04891 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top