You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "evermore (JIRA)" <ji...@apache.org> on 2007/10/12 10:14:50 UTC
[jira] Created: (HARMONY-4934) [classlib][EIOffice] JComboBox has
focus problem
[classlib][EIOffice] JComboBox has focus problem
------------------------------------------------
Key: HARMONY-4934
URL: https://issues.apache.org/jira/browse/HARMONY-4934
Project: Harmony
Issue Type: Bug
Components: Classlib
Environment: Windows XP SP2 && Linux
Reporter: evermore
focus in the combobox.
click on the arrow button.
when another component temporary request focuse,the combobox popup will be hide.
seems like the JComboBox can't deal the temporary focus event correctly
Suggestion:
modify BasicComboBoxUI$FocusHandler
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-4934) [classlib][EIOffice] JComboBox has
focus problem
Posted by "Chunrong Lai (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536163 ]
Chunrong Lai commented on HARMONY-4934:
---------------------------------------
I see comboBox.hidePopup(); in BasicComboBoxUI$FocusHandler::focusLost().
In the test case we also have
public void show() {
super.show();
textField.requestFocus(true);
}
So the ComboPopup is hiden silently thus can not be seen.
In RI the ComboPupup is only canceled when some specific actions, for example, componentMove, instead of the general focusLost.
> [classlib][EIOffice] JComboBox has focus problem
> ------------------------------------------------
>
> Key: HARMONY-4934
> URL: https://issues.apache.org/jira/browse/HARMONY-4934
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: Windows XP SP2 && Linux
> Reporter: evermore
> Attachments: ComboBoxDemo.jar
>
>
> focus in the combobox.
> click on the arrow button.
> when another component temporary request focuse,the combobox popup will be hide.
> seems like the JComboBox can't deal the temporary focus event correctly
> Suggestion:
> modify BasicComboBoxUI$FocusHandler
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-4934) [classlib][EIOffice] JComboBox has
focus problem
Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539676 ]
Alexei Zakharov commented on HARMONY-4934:
------------------------------------------
Thanks Chunrong, I confirm that your patch at least fixes the reproducer. Patch was committed at the revision 591428.
I'm not closing this JIRA now - let's wait until the end of your investigation.
> [classlib][EIOffice] JComboBox has focus problem
> ------------------------------------------------
>
> Key: HARMONY-4934
> URL: https://issues.apache.org/jira/browse/HARMONY-4934
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: Windows XP SP2 && Linux
> Reporter: evermore
> Assignee: Alexei Zakharov
> Attachments: ComboBoxDemo.jar, H4934.1.patch
>
>
> focus in the combobox.
> click on the arrow button.
> when another component temporary request focuse,the combobox popup will be hide.
> seems like the JComboBox can't deal the temporary focus event correctly
> Suggestion:
> modify BasicComboBoxUI$FocusHandler
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-4934) [classlib][EIOffice] JComboBox has
focus problem
Posted by "evermore (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
evermore updated HARMONY-4934:
------------------------------
Attachment: ComboBoxDemo.jar
small case
> [classlib][EIOffice] JComboBox has focus problem
> ------------------------------------------------
>
> Key: HARMONY-4934
> URL: https://issues.apache.org/jira/browse/HARMONY-4934
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: Windows XP SP2 && Linux
> Reporter: evermore
> Attachments: ComboBoxDemo.jar
>
>
> focus in the combobox.
> click on the arrow button.
> when another component temporary request focuse,the combobox popup will be hide.
> seems like the JComboBox can't deal the temporary focus event correctly
> Suggestion:
> modify BasicComboBoxUI$FocusHandler
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-4934) [classlib][EIOffice] JComboBox has
focus problem
Posted by "evermore (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
evermore updated HARMONY-4934:
------------------------------
Comment: was deleted
> [classlib][EIOffice] JComboBox has focus problem
> ------------------------------------------------
>
> Key: HARMONY-4934
> URL: https://issues.apache.org/jira/browse/HARMONY-4934
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: Windows XP SP2 && Linux
> Reporter: evermore
> Attachments: ComboBoxDemo.jar
>
>
> focus in the combobox.
> click on the arrow button.
> when another component temporary request focuse,the combobox popup will be hide.
> seems like the JComboBox can't deal the temporary focus event correctly
> Suggestion:
> modify BasicComboBoxUI$FocusHandler
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-4934) [classlib][EIOffice] JComboBox has
focus problem
Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Zakharov updated HARMONY-4934:
-------------------------------------
Patch Info: [Patch Available]
> [classlib][EIOffice] JComboBox has focus problem
> ------------------------------------------------
>
> Key: HARMONY-4934
> URL: https://issues.apache.org/jira/browse/HARMONY-4934
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: Windows XP SP2 && Linux
> Reporter: evermore
> Assignee: Alexei Zakharov
> Attachments: ComboBoxDemo.jar, H4934.1.patch
>
>
> focus in the combobox.
> click on the arrow button.
> when another component temporary request focuse,the combobox popup will be hide.
> seems like the JComboBox can't deal the temporary focus event correctly
> Suggestion:
> modify BasicComboBoxUI$FocusHandler
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (HARMONY-4934) [classlib][EIOffice] JComboBox has
focus problem
Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Zakharov closed HARMONY-4934.
------------------------------------
> [classlib][EIOffice] JComboBox has focus problem
> ------------------------------------------------
>
> Key: HARMONY-4934
> URL: https://issues.apache.org/jira/browse/HARMONY-4934
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: Windows XP SP2 && Linux
> Reporter: evermore
> Assignee: Alexei Zakharov
> Attachments: ComboBoxDemo.jar, H4934.1.patch
>
>
> focus in the combobox.
> click on the arrow button.
> when another component temporary request focuse,the combobox popup will be hide.
> seems like the JComboBox can't deal the temporary focus event correctly
> Suggestion:
> modify BasicComboBoxUI$FocusHandler
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HARMONY-4934) [classlib][EIOffice] JComboBox has
focus problem
Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Zakharov resolved HARMONY-4934.
--------------------------------------
Resolution: Fixed
Ok, issue closed.
> [classlib][EIOffice] JComboBox has focus problem
> ------------------------------------------------
>
> Key: HARMONY-4934
> URL: https://issues.apache.org/jira/browse/HARMONY-4934
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: Windows XP SP2 && Linux
> Reporter: evermore
> Assignee: Alexei Zakharov
> Attachments: ComboBoxDemo.jar, H4934.1.patch
>
>
> focus in the combobox.
> click on the arrow button.
> when another component temporary request focuse,the combobox popup will be hide.
> seems like the JComboBox can't deal the temporary focus event correctly
> Suggestion:
> modify BasicComboBoxUI$FocusHandler
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-4934) [classlib][EIOffice] JComboBox has
focus problem
Posted by "Chunrong Lai (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chunrong Lai updated HARMONY-4934:
----------------------------------
Attachment: H4934.1.patch
The patch "H4934.1.patch" fixed the disclosed pitfall.
More issues on PopupMenu are discovered, although they may be not directly from HARMONY-4934. I am still investigating it.
> [classlib][EIOffice] JComboBox has focus problem
> ------------------------------------------------
>
> Key: HARMONY-4934
> URL: https://issues.apache.org/jira/browse/HARMONY-4934
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: Windows XP SP2 && Linux
> Reporter: evermore
> Attachments: ComboBoxDemo.jar, H4934.1.patch
>
>
> focus in the combobox.
> click on the arrow button.
> when another component temporary request focuse,the combobox popup will be hide.
> seems like the JComboBox can't deal the temporary focus event correctly
> Suggestion:
> modify BasicComboBoxUI$FocusHandler
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-4934) [classlib][EIOffice] JComboBox has
focus problem
Posted by "Chunrong Lai (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542995 ]
Chunrong Lai commented on HARMONY-4934:
---------------------------------------
It is also noticed that the more popupMemu related issues are filed in HARMONY-5060 and I see that they are independent with this issue. So let us close this issue.
> [classlib][EIOffice] JComboBox has focus problem
> ------------------------------------------------
>
> Key: HARMONY-4934
> URL: https://issues.apache.org/jira/browse/HARMONY-4934
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: Windows XP SP2 && Linux
> Reporter: evermore
> Assignee: Alexei Zakharov
> Attachments: ComboBoxDemo.jar, H4934.1.patch
>
>
> focus in the combobox.
> click on the arrow button.
> when another component temporary request focuse,the combobox popup will be hide.
> seems like the JComboBox can't deal the temporary focus event correctly
> Suggestion:
> modify BasicComboBoxUI$FocusHandler
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HARMONY-4934) [classlib][EIOffice] JComboBox has
focus problem
Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Zakharov reassigned HARMONY-4934:
----------------------------------------
Assignee: Alexei Zakharov
> [classlib][EIOffice] JComboBox has focus problem
> ------------------------------------------------
>
> Key: HARMONY-4934
> URL: https://issues.apache.org/jira/browse/HARMONY-4934
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: Windows XP SP2 && Linux
> Reporter: evermore
> Assignee: Alexei Zakharov
> Attachments: ComboBoxDemo.jar, H4934.1.patch
>
>
> focus in the combobox.
> click on the arrow button.
> when another component temporary request focuse,the combobox popup will be hide.
> seems like the JComboBox can't deal the temporary focus event correctly
> Suggestion:
> modify BasicComboBoxUI$FocusHandler
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.