Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 155329 Details for
Bug 209975
On GTK PopupList throws an exception while open if the parent window closes. PopupList also fails to gain focus on open.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch v01
popuplist.txt (text/plain), 1.02 KB, created by
Praveen
on 2010-01-05 09:23:55 EST
(
hide
)
Description:
Patch v01
Filename:
MIME Type:
Creator:
Praveen
Created:
2010-01-05 09:23:55 EST
Size:
1.02 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.swt >Index: Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java,v >retrieving revision 1.290 >diff -u -r1.290 Shell.java >--- Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java 13 Nov 2009 20:45:28 -0000 1.290 >+++ Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java 5 Jan 2010 14:20:07 -0000 >@@ -1405,7 +1405,16 @@ > bringToTop (false); > setVisible (true); > if (isDisposed ()) return; >- if (!restoreFocus () && !traverseGroup (true)) setFocus (); >+ if (!restoreFocus () && !traverseGroup (true)) { >+ /* >+ * If a shell is opened during the FocusOut event of >+ * a widget, it is required to set focus to all shells >+ * except for ON_TOP shells in order to maintain >+ * consistency with other platforms. >+ */ >+ if ((style & SWT.ON_TOP) == 0) display.focusEvent = SWT.None; >+ setFocus (); >+ } > } > > public boolean print (GC gc) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 209975
: 155329