Page 1 of 1

List rendering problem

Posted: Tue Oct 03, 2017 11:45 am
by Robert
I have had a problem rendering a List Control reported to me; has anyone else observed this?
An example image is below.

This problem was observed using Wine v2.4 on Linux.

Re: List rendering problem

Posted: Tue Oct 03, 2017 2:49 pm
by Josef Templ
can it be reproduced?

- Josef

Re: List rendering problem

Posted: Tue Oct 03, 2017 4:08 pm
by Ivan Denisov
increase number of elements and scroll list
bug_list.png

Re: List rendering problem

Posted: Tue Oct 03, 2017 8:34 pm
by Robert
Ivan Denisov wrote:increase number of elements and scroll list
Sorry Ivan, I don't understand. Is your comment how to repeat the problem, or how to avoid it?

And, do you know if the problem only occurs using Wine/Linux, or can it also occur with Windows?

Re: List rendering problem

Posted: Tue Oct 03, 2017 10:24 pm
by Ivan Denisov
Robert wrote:
Ivan Denisov wrote:increase number of elements and scroll list
Sorry Ivan, I don't understand. Is your comment how to repeat the problem, or how to avoid it?

And, do you know if the problem only occurs using Wine/Linux, or can it also occur with Windows?
How to repeat. There is no problem in Windows.

Re: List rendering problem

Posted: Wed Oct 04, 2017 9:54 pm
by Josef Templ
With wine 1.4.1 I have no such problem,
with wine 1.8.7 I can reproduce it.

It looks like the list box is shrunken and pixels below remain as garbage.

When testing other operations under wine I noticed another wine problem (under both versions):
If after startup of BlackBox the "Edit->Preferences" dialog is opened and the
"Default font..." button is pressed followed by "Cancel" then there is a TRAP.
This is clearly a bug in wine but in this case a work around would be easy.

<<EDITED>>
The bug only appears when there is no printer installed in Linux.
The error code indicates that there is no printer and that error code is not cleared in some of the
common dialog functions when the Cancel button is pressed.
The bug also appears in the Attributes-> Color..., Attributes->Font..., and Attributes->Typeface... dialogs.

- Josef