Bug 403599

Summary: StatusBar: Second and later panels do not refresh on change
Product: [Mono] Mono: Class Libraries Reporter: Andy Hume <andyhume32>
Component: Windows.FormsAssignee: Jonathan Pobst <jpobst>
Status: RESOLVED FIXED QA Contact: Mono Bugs <mono-bugs>
Severity: Normal    
Priority: P5 - None    
Version: 1.9   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard: StatusBar
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andy Hume 2008-06-25 08:19:47 UTC
See the repro app on bug 402165.

Repro #1:
1. Hit the 'Long Text' button.
Note that the first panel alone changes!
2. Force a refresh (hide, unhide the window)
All panels have refreshed.


Repro #2:
1. Hit the 'Start clock' buttton
Should see the third panel display a constantly updating clock.  Does in MSFT.
Comment 1 Jonathan Pobst 2008-06-25 17:33:27 UTC
Fixed in r106585.  Thanks for the testing!

2008-06-25  Jonathan Pobst  <monkey@jpobst.com>

	* ThemeWin32Classic.cs: Fix from Andy for panel text for panels
	that are not the first panel.
	* StatusBar.cs: Ensure that the X coordinate of panels is always
	stored.  Fix IList implementation of StatusBarPanelCollection to
	call the regular methods.
	[Fixes bug #403599, #402165]