On Wed, Feb 03, 2016 at 11:10:22PM +0900, Kazunobu Kuriyama wrote:
> Marius,
> 
> Just to make sure.
> 
> Do you use the gvim on an X11 with a compositor or on a VM?

I run gnome-shell, which is a compositor.  I run on native hardware
(Intel video on a ThinkPad X220).

> Looking at the pictures you kindly uploaded, I can see what is cleared by
> vim still remains on the screen.  It's just like as if clear window/block
> clear operations were intentionally skipped

But not all of them -- just some character cells!  And only when
scrolling forwards -- hitting PageUp redraws the screen correctly!

It's as if clearing works, but outputting "text with spaces" skips
clearing the background behind each space character.

> Actually, if I comment out drawing functions for clearing the window or a
> block, I get a similar phenomenon in you reports.
> 
> To deepen our understanding on the issue, I'd like to hear your thoughts on
> possible causes of the failure of the clear operation.

Could it be that vim computes the width of a space incorrectly (e.g. 0
pixels) because it has no visible pixels?  Or maybe the glyph is missing
in a font (because it's empty) and so it doesn't get drawn?

Perhaps I'll find some time to debug this, as it seems like an
interesting problem -- I'm a bit daunted since I've no familiarity with
gvim's GUI drawing code, and also almost no familiarity with GTK+/Cairo
text drawing APIs.

Regards,
Marius Gedminas
-- 
Life begins when you can spend your spare time programming instead of
watching television.
                -- Cal Keegan

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui