Combobox bug?
Hi all,
i've got a problem using the combobox componet.
i've got a couple of mcs in my movie plus a couple of
combobox componets. All of them have been created dynamically,
using actionscript.
the thing is that while the combobox appears normally and
it's SelectedIndex is visible, once i click on it in order to open
the dropdown list, the rest items are not been displayed because of
the depth problem i guess. they're behind some other mc's.
in order to create all objects i am using the
getNextHighestDepth() function.
any ideas?
When using getNextHighestDepth with version 2 components it
can return a value that is out of range. Use the DepthManager Class
instead.
Similar Messages
-
[svn:fx-4.x] 15312: ComboBox bug fix
Revision: 15312
Revision: 15312
Author: [email protected]
Date: 2010-04-09 13:51:32 -0700 (Fri, 09 Apr 2010)
Log Message:
ComboBox bug fix
http://bugs.adobe.com/jira/browse/SDK-26089 - s:ComboBox is not updated correctly when selectedItem is removed from dataProvider
Handle this specific case by overriding itemRemoved and clearing the textInput. Changing updateLabelDisplay messes with the custom selected item logic, which is why I chose a more localized solution.
QE notes: none
Doc notes: none
Bugs: SDK-26089
Reviewer: Kevin
Tests run: ComboBox, checkintests
Is noteworthy for integration: no
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-26089
http://bugs.adobe.com/jira/browse/SDK-26089
Modified Paths:
flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/components/ComboBox.asStope
Mailing me ***
Sent from my I phone -
[svn:fx-3.x] 16677: 3.6 ComboBox Bugs SDK-26075.
Revision: 16677
Revision: 16677
Author: [email protected]
Date: 2010-06-25 10:38:22 -0700 (Fri, 25 Jun 2010)
Log Message:
3.6 ComboBox Bugs SDK-26075. Force tween to end before starting new one
QE notes: none
Doc notes: none
Bugs: SDK-26075
Reviewer: Corey
Tests run: checkintests mustella/components/ComboBox
Is noteworthy for integration: no
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-26075
http://bugs.adobe.com/jira/browse/SDK-26075
Modified Paths:
flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/ComboBox.as -
Common Library HTML Combobox Bug in FW CS6
If you drag a Combobox from the Document Library > HTML folder onto your canvas and change the name of the 'Label' text from within Symbol Properties then the combobox artwork disappears! The label remains visible but the graphic symbol has gone.
EDIT: Its suddenly started working properly. No idea why!I have now also tried this using an Object tag in a HTML page to load the SWF and I don't have the same issue, the problem only appears to be there using SWFObject and also another JavaScript solution that I found. In your opinion where is the most likely place for the bug to be? It would seem to me that the FlashPlayer should be handling the result of FlexGlobals.topLevelApplication, but the method of adding the SWF to the HTML page seems to have an affect as well. Looking at the FlexGlobals and spark.Application code, there doesn't seem to be any ExternalInterface type calls.
I am asking as I am finding it difficult to work around the issues I am having, and it would be better to find a fix rather than a workaround. -
[svn:fx-trunk] 15314: Merging revision 15312 from 4.x to trunk
Revision: 15314
Revision: 15314
Author: [email protected]
Date: 2010-04-09 14:02:53 -0700 (Fri, 09 Apr 2010)
Log Message:
Merging revision 15312 from 4.x to trunk
ComboBox bug fix
http://bugs.adobe.com/jira/browse/SDK-26089 - s:ComboBox is not updated correctly when selectedItem is removed from dataProvider
Handle this specific case by overriding itemRemoved and clearing the textInput. Changing updateLabelDisplay messes with the custom selected item logic, which is why I chose a more localized solution.
QE notes: none
Doc notes: none
Bugs: SDK-26089
Reviewer: Kevin
Tests run: ComboBox, checkintests
Is noteworthy for integration: no
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-26089
http://bugs.adobe.com/jira/browse/SDK-26089
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ComboBox.as
Property Changed:
flex/sdk/trunk/ -
Is this a bug in mx:ComboBox ?
Hi All,
I'm using a mx:ComboBox control in my extension project for InDesign CS5/CS55.5/CS6 using Extension Builder 2.1, Flash Builder 4.6 and Extension Builder 3.4 SDK.
Problem:
When I click my ComboBox control(the text part excluding the down arrow part) after switching application to another and then back to InDesign, the list is shown and then closed quickly. Again if I click on ComboBox then the list is displayed properly.
Is this a BUG in mx:ComboBox ?
Please suggest any solutions/workaround to fix the issue.
ComboBoxTest.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" historyManagementEnabled="false"
initialize="initializeHandler(event)">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.events.DropdownEvent;
import mx.events.FlexEvent;
import mx.events.ListEvent;
[Bindable]
private var cmbBoxItems:ArrayCollection;
private function onComboBoxClick(event:MouseEvent):void{
trace('onComboBoxClick() - '+event);
private function onComboBoxOpen(event:DropdownEvent):void{
trace('onComboBoxOpen() - '+event);
private function onComboBoxChange(event:ListEvent):void{
trace('onComboBoxChange() - '+event);
private function onComboBoxClose(event:DropdownEvent):void{
trace('onComboBoxClose() - '+event);
trace('\n');
protected function initializeHandler(event:FlexEvent):void
cmbBoxItems = new ArrayCollection(["One","Two","Three","Four","Five"]);
]]>
</mx:Script>
<mx:VBox height="100%" width="100%" verticalAlign="middle" horizontalAlign="center" verticalGap="10">
<mx:ComboBox id="testCmbBox" dataProvider="{cmbBoxItems}" click="onComboBoxClick(event)" open="onComboBoxOpen(event)" change="onComboBoxChange(event)" close="onComboBoxClose(event)"/>
</mx:VBox>
</mx:Application>Now I'm sure that its a BUG in mx:ComboBox(Mac OS X Lion, InDesign CS5.5) as I'm able to reproduce in Adobe's Kuler panel also as follows,
Open Kuler panel and switch to Browse tab.
Then switch application(Cmd+Tab) and come back to InDesign.
Then click on any combo-box(Highest Rated or All Time).
We see that the combo-box is not opened for the first time.
Any help/suggestion/workaround is highly appreciated.
Thanks. -
[svn:fx-trunk] 14222: ComboBox copy bug fix
Revision: 14222
Revision: 14222
Author: [email protected]
Date: 2010-02-17 16:05:08 -0800 (Wed, 17 Feb 2010)
Log Message:
ComboBox copy bug fix
http://bugs.adobe.com/jira/browse/SDK-25278 - Copying the selected text in a closed ComboBox causes it to open its drop-down
The CopyOperation was triggering opening the dropDown. Added a listener for the TextInput "changing" event, storing the text value. Then in the change handler, we only open the dropDown if the text has changed.
QE notes: add test
Doc notes: n/a
Bugs: SDK-25278
Reviewer: Kevin
Tests run: ComboBox, checkintests
Is noteworthy for integration: no
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-25278
http://bugs.adobe.com/jira/browse/SDK-25278
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ComboBox.aserror dateField not selecion date 27/11/2002 ?
This is bug flex 3 ?
thanks -
Bug? combobox model property doesn't list combox binding
I've manually created a combobox binding in the ui model for a panel (jclient). This binding is not displayed in the drop down for the model property of a combobox i've created on this panel. I have to manually attach the binding to the combobox in the sourcecode.
Hi,
good catch. Though it can be changed in the PropertyInspector after that it means more refactoring needed than if it worked in the binding dialog. Will file it as a bug
Frank -
[svn:fx-trunk] 11737: ComboBox and DropDownList bug fixes
Revision: 11737
Author: [email protected]
Date: 2009-11-12 13:25:33 -0800 (Thu, 12 Nov 2009)
Log Message:
ComboBox and DropDownList bug fixes
SDK-23635 - Implement type-ahead in DropDownList
Added code in DropDownListBase keyDownHandler to listen for letters and change the selection if there is a match. At some point, we should modify findKey and findString (I'll file an ECR for that). For now, I've just overridden findKey and cobbled together the logic from List.findKey and List.findString. In ComboBox, we override findKey to do nothing since ComboBox has its own logic that relies on textInput changes.
SDK-23859 - DropDownList does not reset caretIndex when selection is cleared
Fixed this in two places. In ComboBox.keyDownHandlerHelper, we update the caret index when ESC is pressed. In DropDownListBase.dropDownController_closeHandler, we update the caret index if the commit has been canceled (ie. ESC was pressed).
SDK-24175 - ComboBox does not select an item with ENTER when openOnInput = false
When the ComboBox was closed and the arrow keys were pressed, the selectedIndex was changed. When ENTER was pressed, it was committing actualProposedSelectedIndex, not selectedIndex. The fix is to override the selectedIndex setter to keep actualProposedSelectedIndex in sync if selectedIndex was changed. Usually it is kept in sync when the dropDown is opened.
SDK-24174 - ComboBox does not scroll correctly when openOnInput = false
When typing in a match, the caretIndex was changed, but not the selectedIndex (because matching when it is closed doesn't commit the value until you press ENTER or lose focus). When closed, the navigation keys were changing the selectedIndex relative to the previous selectedIndex. I updated this to change relative to caretIndex instead. In most cases, caretIndex and selectedIndex are equivalent while the dropDown is closed.
Other changes:
- Replaced some calls to dropDownController.isOpen with isDropDownOpen.
- Added protection RTE protection to ComboBox.changeHighlightedSelection
QE notes: None
Doc notes: None
Bugs: SDK-23635, SDK-23859, SDK-24175, SDK-24174
Reviewer: Deepa
Tests run: ComboBox, DropDownList
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-23635
http://bugs.adobe.com/jira/browse/SDK-23859
http://bugs.adobe.com/jira/browse/SDK-24175
http://bugs.adobe.com/jira/browse/SDK-24174
http://bugs.adobe.com/jira/browse/SDK-23635
http://bugs.adobe.com/jira/browse/SDK-23859
http://bugs.adobe.com/jira/browse/SDK-24175
http://bugs.adobe.com/jira/browse/SDK-24174
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ComboBox.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownListBase.asThis bug figures out also when creating a custom spark ComboBox, then trying to programatically update the userProposedSelectedIndex property. The proposed selected index is selected, but does not apply the same skin as when mouse is on rollover or item is selected due to up and down keys.
The issue seems like updating the status of the item renderer to rollover or selected to get the same skin applied.
Please could you attach DropDow nList.as that you edited ?
Thank you so much. -
Combobox dropdown menu bug in FlashPlayer 10
Hello,
I discovered that the combobox drop down menu do not drop UP
in fullscreen with a screen format 16/10.
Could you confirm ?
See sample on
http://gdfsuez.visitonweb.com/flash/awirs.html
Regards,
DimitriHi,
Google should definitely help you with this. I am sure that there may be people here who will guide you through each step in this forum. But, you learn only when you do things yourself. Please take some time to go through the links in google. You will definitely find all the things required to solve your problem.
1) JDBC examples to populate your dropdown.
2) DHTML+Javascript to handle selection/display of fields.
You can come here for help only after you have tried to some extent and not able to proceed with something. Trust me, you should be able to do it yourself.
Karthik. -
ComboBox Close Event Bug?
Resizing a browser makes dropdown to close but combobox
doesn't trigger the close event. Is there a way to trigger the
close event upon browser resize?
thanksYou could close it yourself upon a mouseOut event.
-
Apparent bug with ComboBox/TextFormat/Disable-Enable
Anyone experience, or possible have a way to get around this
issue? Apply a TextFormat with an embedded font to a combo box,
disable it, then enable it, and the text in the label field stays
"disabled" looking. It doesn't recover its color. Ask if you'd like
a sample file. Thanks.Here you go.
Combo Box Test.
Test SWF -
Use ComboBox TableCellEditor - values are not saved to the table model
Hi,
I got a combobox cell editor that uses to edit one of the columns.
And i got an ok button that uses to collect the data from the table and save it to the db.
In case i started editing of a cell and the editor is still displayed- if i will click on the button the data that will be colected from the table model will not contained the updated value in the cell editor.
In this case the user think his changes were saved but the last updated field is not updated.
Is this a bug i got in the cell editor or this is the normal behaviour?
Can it be fixed? (So that if the cell is in the middle of editing the value that will be saved is the last value that was selected).
public class PriorityCellEditor extends StandardComboBox implements TableCellEditor {
private boolean isEditMode=false;
* A list of eventlisteners to call when an event is fired
private EventListenerList listenerList = new EventListenerList();
* the table model
public StbAreaClusterPriorityCellEditor(boolean isEditMode) {
super(StbAreaMapper.clustersPriorities);
setEditMode(isEditMode);
setEditable(false);
this.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
setAlignmentX(Component.LEFT_ALIGNMENT);
public boolean isEditMode() {
return isEditMode;
public void setEditMode(boolean editMode) {
isEditMode = editMode;
setEnabled(editMode);
public Component getTableCellEditorComponent(JTable table, Object value,boolean isSelecte, int row, int column) {
int selectedIndex;
if (isSelecte) {
setForeground(table.getSelectionForeground());
setBackground(table.getSelectionBackground());
} else {
setForeground(table.getForeground());
setBackground(table.getBackground());
if(value instanceof String){
selectedIndex=StbAreaMapper.mapGuiPriorityDescToGuiCode((String)value);
setSelectedIndex(selectedIndex);
return this;
public void cancelCellEditing() {
fireEditingCanceled();
public Object getCellEditorValue() {
return getSelectedItem();
public boolean isCellEditable(EventObject anEvent) {
return isEditMode;
public boolean shouldSelectCell(EventObject anEvent) {
return false;
public boolean stopCellEditing() {
fireEditingStopped();
return true;
* Adds a new cellEditorListener to this cellEditor
public void addCellEditorListener(CellEditorListener l) {
listenerList.add(CellEditorListener.class, l);
* Removes a cellEditorListener from this cellEditor
public void removeCellEditorListener(CellEditorListener l) {
listenerList.remove(CellEditorListener.class, l);
* Notify all listeners that have registered interest for notification on
* this event type.
* @see javax.swing.event.EventListenerList
protected void fireEditingStopped() {
// Guaranteed to return a non-null array
Object[] listeners = listenerList.getListenerList();
// Process the listeners last to first, notifying
// those that are interested in this event
for (int i = listeners.length - 2; i >= 0; i -= 2) {
if (listeners[i] == CellEditorListener.class) {
((CellEditorListener) listeners[i + 1]).editingStopped(
new ChangeEvent(this));
* Notify all listeners that have registered interest for notification on
* this event type.
* @see javax.swing.event.EventListenerList
protected void fireEditingCanceled() {
// Guaranteed to return a non-null array
Object[] listeners = listenerList.getListenerList();
// Process the listeners last to first, notifying those that are interested in this event
for (int i = listeners.length - 2; i >= 0; i -= 2) {
if (listeners[i] == CellEditorListener.class) {
((CellEditorListener) listeners[i + 1]).editingCanceled(new ChangeEvent(this));
}Try this
yourTable.putClientProperty("terminateEditOnFocusLost", Boolean.TRUE); -
Create Goods Receipt PO from AP Reserve Invoice (bug?)
Via the user interface of sap2005 pl7 you can create "Goods Receipt PO" from an "AP Reserve Invoice".
In the "base type" field of goods receipt the value "18" is displayed. This seems not to be a "valid value" and it is as a consequence not possible to read the contents of this field with the UI-API, because <i>base type</i> is a combo box and only valid values can be returned.
Is there a workaround to get a none valid value from a combobox?Hi Jurgen,
It looks like it is a bug and that the same bug exists on the sales side of the DI API. Herewith a post that you can read about it.
/thread/48329 [original link is broken]
Hope it helps,
Adele -
Still having a problem with ComboBox in a Table
In my JClient app I still can't get a ComboBox to work in a JTable. The ComboBox doesn't display in the table and my pageDef file (below) looks fine to me. Can anyone verify that a ComboBox in a JTable works in the production release or tell me what I'm doing wrong?
<?xml version="1.0" encoding="UTF-8" ?>
<pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
version="10.1.3.36.73" id="PanelPersonAddressView8PageDef"
Package="com.esp.test.pageDefs"
MsgBundleClass="com.esp.test.pageDefs.PanelPersonAddressView8PageDefMsgBundle">
<parameters/>
<executables>
<iterator RangeSize="-1" Binds="AppModuleDataControl.PersonAddressView1"
DataControl="AppModuleDataControl" id="PersonAddressView1Iter"/>
<iterator id="AddressTypeView1Iterator" RangeSize="-1"
Binds="AddressTypeView1" DataControl="AppModuleDataControl"/>
<iterator id="PersonAddressView1Iterator" RangeSize="10"
Binds="PersonAddressView1" DataControl="AppModuleDataControl"/>
</executables>
<bindings>
<table ColumnSort="entireCollection" id="PersonAddressView1"
IterBinding="PersonAddressView1Iter"
xmlns="http://xmlns.oracle.com/adfm/jcuimodel">
<AttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
<Item Value="PersonId"/>
<Item Value="AddressId"/>
<Item Value="AddressTypeId"/>
<Item Value="ReadOnlyAddress"/>
</AttrNames>
<AttrProp name="AddressTypeId">
<EditorDef RTClass="oracle.jbo.uicli.jui.JULOVEditorPropDef"
DTClass="oracle.adf.dt.objects.jui.JUDTLOVEditorProp"
Name="ComboBox" binding="DCComboBox"/>
</AttrProp>
</table>
<combobox id="DCComboBox" xmlns="http://xmlns.oracle.com/adfm/jcuimodel"
StaticList="false" ListOperMode="0"
IterBinding="PersonAddressView1Iterator"
ListIter="AddressTypeView1Iterator">
<AttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
<Item Value="AddressTypeId"/>
</AttrNames>
<ListAttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
<Item Value="AddressTypeId"/>
</ListAttrNames>
<ListDisplayAttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
<Item Value="AddressTypeDesc"/>
</ListDisplayAttrNames>
</combobox>
</bindings>
</pageDefinition>I have a similar problem. I have got the combobox in the jtable working (when i switched off the labels). Everything seems to works except when I select the first record in the combobox. When I tab out of the cell it becomes empty. If I first select a different record( 2-n) and then the first record the value remains when I tab out of the cell. This also looks like a bug to me. Here's my binding code:
<pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
version="10.1.3.36.73" id="OpeningsTijdenPanelPageDef"
Package="store.ui.panel.in3_1_park.pageDefs">
<parameters/>
<executables>
<iterator id="POpeningsTijdView1Iterator" RangeSize="-1"
Binds="POpeningsTijdView1"
DataControl="ParkerenAppModuleDataControl"/>
<iterator id="DagView1Iterator" RangeSize="-1" Binds="DagView1"
DataControl="ParkerenAppModuleDataControl"/>
</executables>
<bindings>
<table ColumnSort="entireCollection"
id="ActiviteitParkerenView1POpeningsTijdView1"
IterBinding="POpeningsTijdView1Iterator"
xmlns="http://xmlns.oracle.com/adfm/jcuimodel">
<AttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
<Item Value="Dagid"/>
<Item Value="Begintijd"/>
<Item Value="Eindtijd"/>
</AttrNames>
<AttrProp name="Dagid">
<EditorDef RTClass="oracle.jbo.uicli.jui.JULOVEditorPropDef"
DTClass="oracle.adf.dt.objects.jui.JUDTLOVEditorProp"
Name="ComboBox" binding="DCComboBox"/>
</AttrProp>
<AttrProp name="Dag">
<EditorDef RTClass="oracle.jbo.uicli.jui.JULOVEditorPropDef"
DTClass="oracle.adf.dt.objects.jui.JUDTLOVEditorProp"
Name="ComboBox" binding="DCComboBox"/>
</AttrProp>
</table>
<combobox id="DCComboBox" xmlns="http://xmlns.oracle.com/adfm/jcuimodel"
StaticList="false" ListOperMode="0"
IterBinding="POpeningsTijdView1Iterator"
ListIter="DagView1Iterator" NullValueFlag="1">
<AttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
<Item Value="Dagid"/>
</AttrNames>
<ListAttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
<Item Value="Dagid"/>
</ListAttrNames>
<ListDisplayAttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
<Item Value="Dag1"/>
</ListDisplayAttrNames>
</combobox>
</bindings>
</pageDefinition>
Has anyone else encountered this problem?
Maybe you are looking for
-
i mean that i phone take time to open apps ,contact ,etc why? i close all apps and the problem still?
-
Using TEST mode in sender file channel to trigger jdbc receiver channel
Hi In order to call a jdbc receiver channel every 15 minutes I intended to use a file sender channel as a trigger where I set the Processing Mode to TEST. However, I would like to make multiple simultaneous different calls to the jdbc receiver channe
-
Podcasts not on ipod and two icons in itunes?
I have been listening to podcasts for months but all of a sudden I'm getting problems... I synced my ipod with my new podcasts but found that the podcast folder on my ipod said 'no podcasts'. They weren't in the music folder either, but when I used
-
I have been reading the Cisco ISE for BYOD and trying to create an Authentication Policy for EAP-TLS. When I build the new policy and add a new condition, then go to Network Access, EAPAuthentication is not an option. So I went to policy element and
-
Premiere CS5 installation failure
Error codes I am getting trying to install premiere Exit Code: 7 -------------------------------------- Summary -------------------------------------- - 1 fatal error(s), 2 error(s), 13 warning(s) WARNING: Warning: {2F6B67F4-A2BB-45D7-A80C-25FF646CC1