Bad TrackBar flicker in 2.4.2.3

View: New views
3 Messages — Rating Filter:   Alert me  

Bad TrackBar flicker in 2.4.2.3

by LKeene :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm getting very bad visual behavior form the TrackBar control on Mono + Windows when the thumb is dragged back and forth. The thumb completely disappears and only reappears on mouse up. This behavior is in both 2.2 and 2.4, maybe others. I believe this behavior is present when running on OSX as well.

Is this a known issue? Any suggestions anyone? As always, thanks!

-L

Re: Bad TrackBar flicker in 2.4.2.3

by Jonathan Pobst :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

LKeene wrote:
> I'm getting very bad visual behavior form the TrackBar control on Mono +
> Windows when the thumb is dragged back and forth. The thumb completely
> disappears and only reappears on mouse up. This behavior is in both 2.2 and
> 2.4, maybe others. I believe this behavior is present when running on OSX as
> well.
>
> Is this a known issue? Any suggestions anyone? As always, thanks!
>
> -L

The default TrackBar seems to work fine for me:
Mono 2.4.2.3 on Win7 64-bit

I don't know if you are using a different setting on it that is causing
it to behave poorly.

You can try inheriting it to a custom TrackBar and set DoubleBuffered to
true and see if that helps.  If that helps, we may need to double buffer
it even though .Net reports that DoubleBuffered is false for TrackBar.

Jonathan
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list@...
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Re: Bad TrackBar flicker in 2.4.2.3

by Stifu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

LKeene wrote:
I'm getting very bad visual behavior form the TrackBar control on Mono + Windows when the thumb is dragged back and forth. The thumb completely disappears and only reappears on mouse up. This behavior is in both 2.2 and 2.4, maybe others. I believe this behavior is present when running on OSX as well.

Is this a known issue? Any suggestions anyone? As always, thanks!

-L
I haven't tried the TrackBar, but personally, I have a lot of flickering with simple scrollbars on Mono Windows, any version. Like when you resize the form, or keep Ctrl pressed... Stuff like that. Might be related issues.