On Thu, Nov 03, 2016 at 11:14:42AM +0000, Eric Engestrom
<[email protected]> wrote:
> I've noticed a bug I think is in urxvt (but I could be wrong): some
> characters (all Asian from what I've noticed so far) randomly flicker
> when displayed in this terminal, but not when displayed in konsole for
> instance.
Can you describe under what circumstances it flickers? If it flickers when
there is non activity nearby (no text changes anywhere nearby') then this has
nothing to do with urxvt, as urxvt only draws characters when something
changes.
If it only happens when there is activity nearby, I can only imnagine that
your system is so extremely slow that you can actually see the erasing
and drawing of the characters (which is a two-step process for xft fonts,
first the background is drawn, then the characters on top).
> To reproduce, simply open a new urxvt{,c} instance and paste this
> character that I know triggers the bug: 统 (U+7EDF)
Can't see any flickering.
> I also just noticed while writing this mail that the flickering seems to
> be more frequent when I move the cursor, so it might be tied to the
> surface swap.
Only if the cursor movement is in the line with that character, or
adjacent to it?
> The flickering seems to stop when the window goes out of focus (but is
> still fully visible), so the window manager/compositor might be
> involved: I'm using i3.
IF it happens while urxvt is idle but in focus, then the bug must be
outside of urxvt.
> Details that could be relevant:
> - .Xdefaults contains `URxvt*font: xft:DejaVu Sans Mono-9`
> The bug doesn't seems to happen when I remove this line?
> It does happen for any other xfreetype font I tried though.
It's possible that a different main font causes the selecdtion of another
font for this character - you cna find out which font is used by clicking on
it whilke holding ctrl-shit.
> I'm a linux driver dev myself, so I'm happy to test anything or do some
> debugging if someone points me in the right direction :)
At the momernt, it looks as if something else in your system flickers, as
from your description I assume it happens even when urxvt is idle or draws
something else. As urxvt doesn't even do anything while idle and only
generally touches the area where text changes, it cannot cause flickering.
If it only heppsn when urxvt actually redraws that character, then the only
explanation I have would be that your system is extremely (and I mean
extremely :) slow for some reason, in which case you could experiment by
usinfg a bounce buffer ("urxvt -buffered") for drawing, or masking sure
everything uses core fonts of matching heights.
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / [email protected]
-=====/_/_//_/\_,_/ /_/\_\
_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/mailman/listinfo/rxvt-unicode