Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321293

Summary: Problem with "OK" button in InputDialog
Product: [Eclipse Project] Platform Reporter: £ukasz Dycjan <lukasz.dycjan>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: akurtakov, remy.suen
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Test program to reproduce bug none

Description £ukasz Dycjan CLA 2010-07-30 03:42:58 EDT
Build Identifier: 3.6

When i open InputDialog under linux (in windows everything is ok) with IInputValidator i'm not able to push "OK" button using mouse. I can close dialog by clicking "Cancel" using mouse button but to push "OK" i can only use keyboard ("Enter").

Reproducible: Always

Steps to Reproduce:
1.Open InputDialog with IInputValidator
2.Type incorrect word when "OK" button changes to grey (is not enabled)
3.Change word on correct one
4.Try to push "OK" button using left mouse button
Comment 1 £ukasz Dycjan CLA 2010-07-30 03:46:53 EDT
Created attachment 175543 [details]
Test program to reproduce bug

To see bug type test, then change a letter and you won't be able to push "OK" using left mouse button
Comment 2 £ukasz Dycjan CLA 2010-07-30 05:28:13 EDT
I found that set GDK_NATIVE_WINDOWS=1 environment variable helps.
Comment 3 Remy Suen CLA 2010-07-30 09:22:16 EDT
(In reply to comment #2)
> I found that set GDK_NATIVE_WINDOWS=1 environment variable helps.

That is odd. I thought most of the problems were fixed for 3.6.
Comment 4 £ukasz Dycjan CLA 2010-07-30 09:26:11 EDT
(In reply to comment #3)
> (In reply to comment #2)
> > I found that set GDK_NATIVE_WINDOWS=1 environment variable helps.
> 
> That is odd. I thought most of the problems were fixed for 3.6.

So did i, but i changed library from 3.0 to 3.6 and problem still exists. Similar problem is when i use button to deactivate some text field, next i will activate it again. In this case when i click this field using mouse button it behaves like mouse button would be alway pushed. Everything highlights and other wird things happen.
Comment 5 Alexander Kurtakov CLA 2017-01-05 16:52:39 EST
No issue on 4.6.