Bug 299832 - enabling and disabling Preference field editors does not work at all!
Summary: enabling and disabling Preference field editors does not work at all!
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.5.1   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2010-01-15 17:38 EST by Pawan Singh CLA
Modified: 2018-05-30 10:44 EDT (History)
4 users (show)

See Also:


Attachments
preference page implementation (7.87 KB, text/x-java)
2010-01-15 17:41 EST, Pawan Singh CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pawan Singh CLA 2010-01-15 17:38:50 EST
Build Identifier: M20090917-0800

I have a preference page implementation where I enable disable field editors based on propertyChange event. This screws up the field editors so badly that one cannot even get mouse to get out of a text box - one has to hit keyboard tab to get out of the field. The problem I am seeing is on Ubuntu 9.10, 32-bit.

Reproducible: Always

Steps to Reproduce:
1. Enable disable field editors in propertyChange event
2. If you click in a text field, you can never get mouse out of that by clicking somwhere else.
Comment 1 Pawan Singh CLA 2010-01-15 17:40:02 EST
I am attaching the example files to show this problem.
Comment 2 Pawan Singh CLA 2010-01-15 17:41:14 EST
Created attachment 156295 [details]
preference page implementation
Comment 3 Pawan Singh CLA 2010-01-15 17:41:56 EST
Use this enum as the DatabaseType:

public enum DatabaseType {
    MySQL, SqlServer, Oracle, Sqlite, Postgresql, Derby, Other
}


and just uncomment setFieldStatus() method.
Comment 4 Remy Suen CLA 2010-01-15 20:11:53 EST
If you run with a newer build, does the error occur?
http://download.eclipse.org/eclipse/downloads/

You may also want to try defining the GDK_NATIVE_WINDOWS=true environment variable in your launch configuration.
Comment 5 Pawan Singh CLA 2010-01-15 20:37:14 EST
I do have that defined in my .bashrc.
Comment 6 Eric Williams CLA 2018-05-15 14:50:48 EDT
Is this still reproducible? Do you have a pure SWT snippet that reproduces the issue on GTK3.22?
Comment 7 Eric Williams CLA 2018-05-30 10:44:56 EDT
Closing this ticket now. Please re-open this ticket if the issue is reproducible on 4.8 with GTK3.22.