By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 1358 - glib main loop integration problems
Summary: glib main loop integration problems
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: qt3 (show other bugs)
Version: R14.0.0 [Trinity]
Hardware: All Linux
: P5 normal
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2012-12-07 15:06 CST by Timothy Pearson
Modified: 2012-12-09 16:35 CST (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Pearson 2012-12-07 15:06:31 CST
When glib main loop integration is enabled in Qt3/TQt3, several serious problems appear.  This bug tracks them all, as they likely have a common cause.

1.) tdm shows X11 mouse event loss; this manifests as an erratic inability to click dialog buttons and navigate through the session control popup menus.

2.) threading fails.  It seems that something in the glib event loop is serialising all event dispatch; this is very clearly demonstrated with the t15 threading tutorial in Qt3/TQt3.
Comment 1 Timothy Pearson 2012-12-07 20:09:59 CST
Threading issues showin in t15 threading tutorial should be resolved in GIT hashes a7865cf (Qt3) and 3289e9c (TQt3).

The cause of the KDM problems is under investigation; Serghei has reported that KDM works fine on Fedora with the glib patch on his KDE 3.5.10 fork, so something must be different on Ubuntu with the R14 nightly builds.
Comment 2 Timothy Pearson 2012-12-09 03:16:58 CST
Digging further, it appears that when g_main_context_iteration is called from within another g_main_context_iteration call (i.e. g_main_context_iteration recusion >= 1), the glib main loop does not return from select on X11 events.  However, the X11 events are queued; any other type of event (such as a timer firing) will cause the event loop to return from select and process all queued events normally.
Comment 3 Timothy Pearson 2012-12-09 15:16:19 CST
tdm_greet does not set tqt_is_gui_used for some reason.

Still under investigation...
Comment 4 Timothy Pearson 2012-12-09 16:35:19 CST
Resolved in GIT hashes 72eba91 (Qt3) and e863a01 (TQt3).