Zim

Comment 6 for bug 1157289

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 1157289] Re: Mouse cursor disappears on edit

On Fri, Mar 22, 2013 at 12:22 PM, Evan Edwards <email address hidden> wrote:
> I can confirm this is happening with a pretty stock Kubuntu setup. I
> can also give a work-around:
>
> Close all zim processes (including the trayicon if you have that
> enabled), and run:
>
> GDK_NATIVE_WINDOWS=1 zim
>
> As a really goofy quick fix, you can also right click to bring up the
> context menu, which will also make the pointer reappear.
>
> As a pure guess, the text widget is turning off the mouse pointer when
> somebody starts typing (a common editor practice), but not turning it
> back on when the mouse is moved. As a result, this is a very reliable
> bug: move the mouse into the text space, type a character to make the
> pointer disappear, then it works *outside* the text space, but is
> invisible over the text. To make reappear, right click in the text
> space and it reappears until another key is pressed.
>
> Using the GDK_NATIVE_WINDOWS work-around, the expected behavior occurs:
> the mouse pointer disappears when a key is pressed, but then reappears
> as soon as the mouse is moved.

Thanks for this information - would not have easily found that myself.

Have to investigate where the problems lies, but sounds like it might
be a problem in the Gtk library itself as it only seems to happen on
Kbuntu.

Regards,

Jaap