Re: GtkText bug (GTK 1.0.6)




"Damon Chaplin" <DAChaplin@email.msn.com> writes:

> Hi,
> 
> There seems to be a rather nasty bug still in GtkText (GTK 1.0.6).
> 
> This can cause Glade (GUI builder) to hang as users edit properties using
> a GtkText. The bug report is below. I've tried it and I get the same problem
> (though not with GTK 1.1.2).
> 
> Glade uses very small GtkText widgets - 2 lines high, and fairly narrow,
> so text wraps around quite a bit. I resized the GtkText widget in testgtk
> and after a bit of messing about that froze as well. It happens after
> pressing Return to split the first line in two and then moving the cursor up.

I tried really hard to make sure that the Text widget worked with very
small windows before the 1.0.6 release - and it did, as far as I could
tell. But I'm terribly not suprised that there could still be
bugs. (The code in 1.0.6 should, however, be identical to that in
1.1.2 in that respect - though there are other major differences.  If
it isn't than that would be the problem.)

[ The Text widget code was not written with that case taken into
  account properly, and the code is full of hacks to make them work
  sort of right. ]

I don't have the time or energy to look into this. If somebody wants
to investigate (warning: not a fun task), I'll sanity check any
patches that are submitted. Otherwise, it will just have to wait until
we get something better than the current Text widget.

People should consider themselves warned that there may be problems
with little tiny Text widgets with lots of wrapping, and avoid them
where possible.

Regards,
                                        Owen



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