DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2709
Version: 1.3.0


Posting this on Chao Han's behalf, who reported black pixels in lower/right
corner of pressed buttons.

See thread in fltk.general entitled "Black dot on the bottom right
corner".

I investigated a bit, found I could replicate with VS2010 on Win7/x64.
Attaching two images here showing problem. (bad1.png, bad2.png) I found
the problem moved around, sometimes lower right, sometimes upper right.
Could see problems with other widgets too.

Interestingly, other test programs did NOT have the problem (button.exe,
unittests.exe). Seemed specific to buttons.exe.

The 'buttons' app demonstrates several different button widgets, so going
on a hunch that one of the widgets was affecting the problem, I commented
out one at a time until the problem went away.

Fl_Round_Button seemed to be the cause.

I commented out all other widgets except a regular button and
Fl_Round_Button and could still replicate. Then reversed the commenting so
only Fl_Round_Button was commented out, and problem was gone.

I imagine it has to do with the Win32 circle drawing code, or some such..?


Link: http://www.fltk.org/str.php?L2709
Version: 1.3.0

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to