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/31 08:37:50 UTC

[jira] Created: (HARMONY-5051) [drlvm][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show

[drlvm][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show
-----------------------------------------------------------------------------

                 Key: HARMONY-5051
                 URL: https://issues.apache.org/jira/browse/HARMONY-5051
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: evermore
         Attachments: popup.jar

add popmenu to panel
before invok JPopMenu.show(),panel's preferred size is 0,0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-5051) [classlib][swing][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison updated HARMONY-5051:
---------------------------------

    Summary: [classlib][swing][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show  (was: [drlvm][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show)

> [classlib][swing][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show
> ---------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5051
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5051
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: evermore
>         Attachments: popup.jar
>
>
> add popmenu to panel
> before invok JPopMenu.show(),panel's preferred size is 0,0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5051) [classlib][swing][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show

Posted by "Dmitriy Matveev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12548668 ] 

Dmitriy Matveev commented on HARMONY-5051:
------------------------------------------

Thank you, Alexei.
Verified.

> [classlib][swing][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show
> ---------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5051
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5051
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: evermore
>            Assignee: Alexei Zakharov
>         Attachments: popup.jar, PopupMenu.patch, PopupMenu.patch
>
>
> add popmenu to panel
> before invok JPopMenu.show(),panel's preferred size is 0,0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-5051) [classlib][swing][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show

Posted by "Dmitriy Matveev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitriy Matveev updated HARMONY-5051:
-------------------------------------

    Attachment: PopupMenu.patch

> [classlib][swing][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show
> ---------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5051
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5051
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: evermore
>         Attachments: popup.jar, PopupMenu.patch
>
>
> add popmenu to panel
> before invok JPopMenu.show(),panel's preferred size is 0,0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HARMONY-5051) [classlib][swing][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show

Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexei Zakharov reassigned HARMONY-5051:
----------------------------------------

    Assignee: Alexei Zakharov

> [classlib][swing][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show
> ---------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5051
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5051
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: evermore
>            Assignee: Alexei Zakharov
>         Attachments: popup.jar, PopupMenu.patch
>
>
> add popmenu to panel
> before invok JPopMenu.show(),panel's preferred size is 0,0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HARMONY-5051) [classlib][swing][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show

Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexei Zakharov resolved HARMONY-5051.
--------------------------------------

    Resolution: Fixed

Thanks Dmitry, the patch was committed at the revision 599840. Please verify.

> [classlib][swing][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show
> ---------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5051
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5051
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: evermore
>            Assignee: Alexei Zakharov
>         Attachments: popup.jar, PopupMenu.patch, PopupMenu.patch
>
>
> add popmenu to panel
> before invok JPopMenu.show(),panel's preferred size is 0,0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5051) [classlib][swing][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show

Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539652 ] 

Alexei Zakharov commented on HARMONY-5051:
------------------------------------------

Dmitriy, about the patch you submitted. As far as I understand if you patch is applied minCompSizes and prefCompSizes will be filled with sizes of the last component in list for given index. And that component not necessarily will be a visible component. Therefore, you stores parameters of some arbitrary component to the placeholder for visible component's data. Is this a desired behavior? Could you please explain? I can be missing something of course.

> [classlib][swing][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show
> ---------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5051
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5051
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: evermore
>            Assignee: Alexei Zakharov
>         Attachments: popup.jar, PopupMenu.patch
>
>
> add popmenu to panel
> before invok JPopMenu.show(),panel's preferred size is 0,0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-5051) [classlib][swing][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show

Posted by "Dmitriy Matveev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitriy Matveev updated HARMONY-5051:
-------------------------------------

    Attachment: PopupMenu.patch

> [classlib][swing][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show
> ---------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5051
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5051
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: evermore
>            Assignee: Alexei Zakharov
>         Attachments: popup.jar, PopupMenu.patch, PopupMenu.patch
>
>
> add popmenu to panel
> before invok JPopMenu.show(),panel's preferred size is 0,0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5051) [classlib][swing][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show

Posted by "Dmitriy Matveev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544415 ] 

Dmitriy Matveev commented on HARMONY-5051:
------------------------------------------

Alexey, you were right. I rewrote fix. 
As I understand, sizes need to be calculated even if we haven't any visible component for given index.

> [classlib][swing][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show
> ---------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5051
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5051
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: evermore
>            Assignee: Alexei Zakharov
>         Attachments: popup.jar, PopupMenu.patch, PopupMenu.patch
>
>
> add popmenu to panel
> before invok JPopMenu.show(),panel's preferred size is 0,0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-5051) [drlvm][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show

Posted by "evermore (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

evermore updated HARMONY-5051:
------------------------------

    Attachment: popup.jar

> [drlvm][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show
> -----------------------------------------------------------------------------
>
>                 Key: HARMONY-5051
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5051
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: evermore
>         Attachments: popup.jar
>
>
> add popmenu to panel
> before invok JPopMenu.show(),panel's preferred size is 0,0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-5051) [classlib][swing][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show

Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexei Zakharov closed HARMONY-5051.
------------------------------------


issue closed

> [classlib][swing][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show
> ---------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5051
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5051
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: evermore
>            Assignee: Alexei Zakharov
>         Attachments: popup.jar, PopupMenu.patch, PopupMenu.patch
>
>
> add popmenu to panel
> before invok JPopMenu.show(),panel's preferred size is 0,0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.