Skip to content

Window not re-painting correctly #21

@sjlongland

Description

@sjlongland

Hi,

Firstly, thank-you for putting the effort into a Qt-based port of gvim… I was getting fed up with gvim's quirks, specifically the way it was tickling gtk+ which caused gtk+ to barf crap all over stdout/stderr. Switching to vim-qt cured that instantly.

I used it for quite a while, Qt4 it works great, early Qt5 releases it was fine. I think around 5.9.2, I was using vim-qt without issues.

However, one problem has arisen in recent versions of Qt (5.9.4 and later, reproduce-able in 5.11.1): when scrolling text or editing, the window isn't re-painted. If I move the cursor around, it'll re-paint the character where the cursor is. Editing is similarly affected, if I hit O to open a new line, it does so, but the view does not reflect this.

I'll post a video (tried several times to post it to Github here, but no go) to show what I'm getting, but it seems some re-paint event is getting missed in the newer versions of Qt. I'm not beyond fixing it myself but I'm not overly familiar with the workings of vim and its graphical interface, so some guidance on where to look would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions