|
From: Christian H. (JIRA) <no...@at...> - 2007-11-23 15:07:16
|
OverlayHelper missing validate() in OverlayUpdater causes painting problem (overlay not shown)
----------------------------------------------------------------------------------------------
Key: RCP-497
URL: http://opensource.atlassian.com/projects/spring/browse/RCP-497
Project: Spring Framework Rich Client Project
Issue Type: Bug
Components: Application Framework
Affects Versions: 0.3.0
Environment: Mac OS Leopard
Reporter: Christian Heilmann
Overlay is not shown.
Please add validate() in OverlayUpdater
...
if (layeredPane.isVisible() && layeredPane.isShowing()) {
putOverlay(layeredPane);
positionOverlay(layeredPane);
//ADDED
layeredPane.validate();
}
...
Please call updateOverlay() in attachOverlay(..)-Method the first time, so that i can use the OverlayHelper standalone.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Peter De B. (JIRA) <no...@at...> - 2007-11-29 15:01:16
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter De Bruycker resolved RCP-497.
-----------------------------------
Resolution: Cannot Reproduce
When I try the following in the ContactForm of the simple sample:
<code>
firstNameField = formBuilder.add("firstName")[1];
OverlayHelper.attachOverlay(new JButton("..."), firstNameField, OverlayHelper.NORTH_EAST, 0, 0);
...
</code>
everything works as expected (see screenshot)
> OverlayHelper missing validate() in OverlayUpdater causes painting problem (overlay not shown)
> ----------------------------------------------------------------------------------------------
>
> Key: RCP-497
> URL: http://opensource.atlassian.com/projects/spring/browse/RCP-497
> Project: Spring Framework Rich Client Project
> Issue Type: Bug
> Components: Application Framework
> Affects Versions: 0.3.0
> Environment: Mac OS Leopard
> Reporter: Christian Heilmann
> Assignee: Peter De Bruycker
>
> Overlay is not shown.
> Please add validate() in OverlayUpdater
> ...
> if (layeredPane.isVisible() && layeredPane.isShowing()) {
> putOverlay(layeredPane);
> positionOverlay(layeredPane);
> //ADDED
> layeredPane.validate();
> }
> ...
> Please call updateOverlay() in attachOverlay(..)-Method the first time, so that i can use the OverlayHelper standalone.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Peter De B. (JIRA) <no...@at...> - 2007-11-29 15:07:15
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter De Bruycker updated RCP-497:
----------------------------------
Attachment: screenshot with custom overlay.jpg
> OverlayHelper missing validate() in OverlayUpdater causes painting problem (overlay not shown)
> ----------------------------------------------------------------------------------------------
>
> Key: RCP-497
> URL: http://opensource.atlassian.com/projects/spring/browse/RCP-497
> Project: Spring Framework Rich Client Project
> Issue Type: Bug
> Components: Application Framework
> Affects Versions: 0.3.0
> Environment: Mac OS Leopard
> Reporter: Christian Heilmann
> Assignee: Peter De Bruycker
> Attachments: screenshot with custom overlay.jpg
>
>
> Overlay is not shown.
> Please add validate() in OverlayUpdater
> ...
> if (layeredPane.isVisible() && layeredPane.isShowing()) {
> putOverlay(layeredPane);
> positionOverlay(layeredPane);
> //ADDED
> layeredPane.validate();
> }
> ...
> Please call updateOverlay() in attachOverlay(..)-Method the first time, so that i can use the OverlayHelper standalone.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|