|
|
On 9/10/21 9:35 AM, 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.
Yep, confirmed that a few times, it's a buggy default X11
driver.
The proper fix is to install the right drivers for the graphics
card
so it doesn't use the default driver. I remember solving that
one by
installing the intel graphics drivers from the distro, as I
think intel
no longer supplies the drivers directly, you have to go through
the
distro packaging.
It's not really a fltk thing and I don't think
we know how to work around it.
The workaround is to set the line width to 1 instead of 0 for
drawing the focus box.
While 0 is the right thing, it has a buggy driver
implementation.
(This can be proven by running the X11 line drawing test code,
which is pure X11,
and seeing the same issue, i.e. ruling out FLTK)
--
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/093add3b-31b1-cb9c-d2ae-2fc866901660%40seriss.com.
[ Direct Link to Message ] | |
|
| |