Sorry to reopen this bug but it still exists in precise. I've attached a simplified patch that has sorted out the issue for me. It's not for inclusion but it's probably good for a quick lead on what a good solution would be. Also this handles both the initial geometry calculation when the panel is instantiated and also the situation when either screen sees a resolution change. I had not mentioned the second part of the problem before.
All,
Sorry to reopen this bug but it still exists in precise. I've attached a simplified patch that has sorted out the issue for me. It's not for inclusion but it's probably good for a quick lead on what a good solution would be. Also this handles both the initial geometry calculation when the panel is instantiated and also the situation when either screen sees a resolution change. I had not mentioned the second part of the problem before.