[Geany-devel] msgwindow double click

Colomban Wendling lists.ban at xxxxx
Wed Aug 10 22:14:02 UTC 2011


Le 10/08/2011 12:02, Dimitar Zhekov a écrit :
> Hi,

Hi,

> It was requested in the mailing list, twice IIRC, for double-clicking
> into Compiler or Messages tab to not only open the file and seek into
> it, but also focus the editor window. That makes sense, IMHO, since
> pressing Space opens and seeks, while Enter opens, seeks and focuses.
> It's a small patch, and I think it also improves the code a bit - using
> a gboolean looks better to me than passing a fake key 0 and constantly
> checking for enter-or-return.

Looks good.  Though, why handling button-press rather than
button-release for getting double clicks?

> Seeking into the file 3 times (release, 2button press, release) is not
> very good, but the subsequent seeks are quick. At least I'm not able to
> click so fast as to cause any delay.

Well, I'm not sure what we could do to avoid at least release and
double-click, and I think it's not a real problem anyway.  It's not like
we're doing it in a loop.

Regards,
Colomban



More information about the Devel mailing list