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 137972 Details for
Bug 278361
[Combo] Overlays text after changing items
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]
Proposed patch.
Bug-278361.patch (text/plain), 1.35 KB, created by
Ivan Furnadjiev
on 2009-06-02 05:10:26 EDT
(
hide
)
Description:
Proposed patch.
Filename:
MIME Type:
Creator:
Ivan Furnadjiev
Created:
2009-06-02 05:10:26 EDT
Size:
1.35 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.rwt.q07 >Index: js/org/eclipse/swt/widgets/Combo.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt.q07/js/org/eclipse/swt/widgets/Combo.js,v >retrieving revision 1.20 >diff -u -r1.20 Combo.js >--- js/org/eclipse/swt/widgets/Combo.js 25 May 2009 11:28:14 -0000 1.20 >+++ js/org/eclipse/swt/widgets/Combo.js 2 Jun 2009 09:02:39 -0000 >@@ -647,12 +647,26 @@ > req.addParameter( id + ".selectionLength", length ); > } > }, >+ >+ // [if] Workaround for bug: >+ // 278361: [Combo] Overlays text after changing items >+ // https://bugs.eclipse.org/bugs/show_bug.cgi?id=278361 >+ // Items are not removed from DOM if the _isDisplayable property is false. >+ _removeAll : function() { >+ var items = this._list.getChildren(); >+ var item = items.length > 0 ? items[ 0 ] : null; >+ while( item != null ) { >+ item._isDisplayable = true; >+ item.destroy(); >+ item = items.length > 0 ? items[ 0 ] : null; >+ } >+ }, > > ////////////// > // Set methods > > setItems : function( items ) { >- this._list.removeAll(); >+ this._removeAll(); > for( var i = 0; i < items.length; i++ ) { > var item = new qx.ui.form.ListItem(); > item.setLabel( "(empty)" );
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
Flags:
ivan
:
review?
Actions:
View
|
Diff
Attachments on
bug 278361
:
137620
|
137621
|
137629
|
137649
| 137972