Bug 1081 - Fix GLJPanel Regression: Honor pre-init reshape-size at initializeBackendImpl()
Summary: Fix GLJPanel Regression: Honor pre-init reshape-size at initializeBackendImpl()
Status: RESOLVED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 2
Hardware: All all
: --- major
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2014-10-01 00:34 CEST by Sven Gothel
Modified: 2014-10-01 00:36 CEST (History)
1 user (show)

See Also:
Type: ---
SCM Refs:
ce969bd565b0a6e72632630c88c4135d0410bf0f
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2014-10-01 00:34:27 CEST
GLJPanel Regression: Honor pre-init reshape-size at initializeBackendImpl()

Commit 84f367a73c5b16dcebfd877e82e1c2cb90ae74ce introduced a regression
to reshape behavior in between addNotify and paintComponent.

Commit 84f367a73c5b16dcebfd877e82e1c2cb90ae74ce removed utilization of reshape-size
in case panel-size is valid, even if a reshape event happened in between:
  - addNotify
  - paintComponent

initializeBackendImpl() includes now uses reshape-size IFF handleReshape is set.
Before it was using reshape-size only if panel-size was invalid.
Comment 1 Sven Gothel 2014-10-01 00:36:42 CEST
Commit ce969bd565b0a6e72632630c88c4135d0410bf0f
  - Fixes as described 
  - estAWT03GLJPanelRecreate01 covers this issue.