Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321293 - Problem with "OK" button in InputDialog
Summary: Problem with "OK" button in InputDialog
Status: CLOSED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.0   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-30 03:42 EDT by £ukasz Dycjan CLA
Modified: 2017-01-05 16:52 EST (History)
2 users (show)

See Also:


Attachments
Test program to reproduce bug (940 bytes, application/octet-stream)
2010-07-30 03:46 EDT, £ukasz Dycjan CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.