Linked by Eugenia Loli on Fri 10th Aug 2007 02:53 UTC, submitted by J. M.
Qt A Trolltech employee explains how Qt 4.4 will eliminate current problems with redrawing artifacts and poor resizing performance, using windowless child widgets.
Thread beginning with comment 262424
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Cool, now what about GTK+?
by butters on Fri 10th Aug 2007 17:37 UTC in reply to "Cool, now what about GTK+?"
butters
Member since:
2005-07-08

Not to devalue Trolltech's excellent work on Qt, but it seems like this should have been fixed in Xorg rather than worked-around in Qt. A major part of an X server's job is to manage the stacking, moving, and resizing of client regions. Apparently Xorg is good enough to manage windows but doesn't scale well to the widgets they contain.

So the question is: what is the underlying cause of this limitation? Is there something different about managing widgets that isn't merely an extension of managing windows? Is there a shortcoming in the X11 protocol that prevents the efficient decoupling of managing regions from managing their content?

This is functionality that should be common to all GUI toolkits. As the parent noted, it should be implementing in GTK+ and, I'll add, countless other toolkits. So in the interest of good design and smart abstractions, it makes sense to consider how Xorg can better accommodate widget management.

However, I should also note that Qt targets non-X11 environments. On other platforms, the present approach may make sense. On the other hand, certain platforms may already address these problems in their windowing systems. So there are portability issues here that complicate attempts to exploit commonality.

Reply Parent Score: 5

ggeldenhuys Member since:
2006-11-13

Not to devalue Trolltech's excellent work on Qt, but it seems like this should have been fixed in Xorg rather than worked-around in Qt


butters: I fully agree with you. Being a toolkit author myself, I agree. This is something that needs to be fixed in X11 (Xorg) and not in every toolkit out there via work-arounds.

Reply Parent Score: 2

anda_skoa Member since:
2005-07-07

However, I should also note that Qt targets non-X11 environments.


Not only non-X11 platforms. While it would be nice if every Unix/X11 platform would be using the latest and greatest x.org X server, a lot are either using older releases (e.g. "enterprise" Linux distributions) or other implementations (e.g. XiGraphics, which doesn't even have proper XRender)

Reply Parent Score: 2