Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Validation dialog popup multiple times
Validation dialog popup multiple times [message #1814515] Thu, 12 September 2019 13:35 Go to next message
Abhishek Chakraborty is currently offline Abhishek ChakrabortyFriend
Messages: 82
Registered: July 2009
Location: Cologne, Germany
Member

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


Regards,
Abhishek Chakraborty
Re: Validation dialog popup multiple times [message #1814524 is a reply to message #1814515] Thu, 12 September 2019 16:50 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2814
Registered: July 2012
Senior Member
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 09:56 Go to previous messageGo to next message
Abhishek Chakraborty is currently offline Abhishek ChakrabortyFriend
Messages: 82
Registered: July 2009
Location: Cologne, Germany
Member

HI Dirk,

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

Regards
Abhishek


Regards,
Abhishek Chakraborty

[Updated on: Sat, 21 September 2019 13:43]

Report message to a moderator

Re: Validation dialog popup multiple times [message #1815101 is a reply to message #1814879] Wed, 25 September 2019 13:06 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2814
Registered: July 2012
Senior Member
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: Wed Jun 23 10:14:19 GMT 2021

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

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

Back to the top