Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Status bar items not repainting

16 views
Skip to first unread message

Graham Dicker

unread,
Mar 26, 2012, 3:22:24 AM3/26/12
to
I am experiencing a problem with status bar items not repainting properly
when the contents are changed or when the user makes the window alternately
narrower and wider by dragging the right-hand edge of the window thus hiding
and revealing the status bar items. The words in the status bar become
fragmented as if the repaint process is being given duff info about what
needs repainting. This is with Dolphin 6.1 on XP SP3 and is occurring on
both my laptop and desktop machines.

Is there a fix for this please?

--
Graham Dicker

Graham Dicker

unread,
Mar 26, 2012, 9:32:58 AM3/26/12
to
I can even get the RegEdit application to demonstrate this.

Make sure you've got a window (e.g. class browser) open that covers most of
the desktop. Run RegEdit, drill down to a nice long key so the status bar
has a substantial string in it. Drag the right edge of the window so it
covers half the key in the status bar. Then Alt+Tab to the big window and
then Alt+Tab back to RegEdit and drag the right hand edge out again. When I
do this, bits of the status bar are not repainted.

--
Graham Dicker

Andy Bower

unread,
Mar 26, 2012, 10:25:05 AM3/26/12
to
Graham,
I can't see this issue when running under Windows 7 but I do see it with
XP. It looks like its a redraw problem to do with the timing of messages
while sizing the status view rather than it actually picking up
incorrect data. So I tried the following:

!StatusBar methodsFor!

onPositionChanged: aPositionEvent
"Private - Handle a window position change event (move or resize)."

aPositionEvent isResize ifTrue: [
self invalidate ].
^super onPositionChanged: aPositionEvent! !
!StatusBar categoriesFor: #onPositionChanged:!event handling!private! !

I haven't investigated whether this causes other issues and, given the
fact that Win7 seems okay, I don't think it should go into the base
image but it may get you over your specific problem.

Best regards

Andy Bower
0 new messages