[Usability] GTK+ applications on slow machines: HIG note, gtk-dilatory utility


I wanted to make reproducible "Detaching tabs is too sensitive" bug in
GTK+: http://bugzilla.gnome.org/show_bug.cgi?id=529908

That is why I got an idea to make a simple tool for "slow machine
experience": http://pack.suse.cz/sbrabec/gtk-dilatory

With this tool, I was able to found at least 4 bugs in the GTK+ library

That is why I guess, that it is a very common bug.

When processing a mouse button press/release event to perform an action:

gdk_window_get_position (my_event_window, &x, &y);
... work with x and y

x = event->x; y=event->y;
... work with x and y
(The fix may need adjusting of x,y coordinate origin.)

If you use the incorrect way, application proceeds with place where the
callback took control instead of position where the event happened. As a
result, users of slow computers get annoying "sticky" experience.

Best Regards / S pozdravem,

Stanislav Brabec
software developer
SUSE LINUX, s. r. o.                          e-mail: sbrabec suse cz
Lihovarská 1060/12           tel: +420 284 028 966, +49 911 740538747
190 00 Praha 9                                  fax: +420 284 028 951
Czech Republic                                    http://www.suse.cz/

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]