|
|
On 9/10/21 6:35 PM imm wrote:
On Fri, 10 Sep 2021, 16:57
paveloom wrote:
Hello there!
I'm an fltk-rs user, but the
problem I've encountered is appearing in other FLTK
applications as well. Consider the following comparison
of focus boxes on my machine (left) and on a virtual
machine (right). Both are the same systems, Fedora 34.
There's a rendering bug in some X11 drivers that
can look like that, so I'd guess that's what you are hitting.
Yes, see issue #156: https://github.com/fltk/fltk/issues/156
It's not really a fltk thing and I don't think
we know how to work around it.
It's {very likely | definitely} an X11 driver thing (bug). There's a
possible workaround if you set the line width to 1 rather than 0
(the default). The drawback is that setting the width to 1 slows
things down and that's why it's not (yet?) done.
Maybe we should set the line width to 1 explicitly for the focus box
which shouldn't harm much (in terms of drawing speed) but there are
other visible effects (missing pixels in rectangles) as well.
I assume it's fine when you try your app on a
different machine?
Unless that other machine has the same driver bug. :-(
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/95e6a3b1-2217-531b-9696-ebccda948176%40online.de.
[ Direct Link to Message ] | |
|
| |