Bennett Helm wrote:
On Apr 9, 2007, at 3:57 PM, Abdelrazak Younes wrote:
Jürgen Spitzmüller wrote:
The problem is the following:
the "wide" property is always set for text insets if the inset is
alone on the given row, also if we are nested in another inset which
is itself not wide (such as in the test case in the bug report).
The solution is to check whether the inset is nested and whether the
parent inset is itself wide. The attached patch does this, however,
I'm not sure it is the most elegant solution (apart from ditching
the wide thing altogether).
Before making this decision, I would like to hear from Mac people
testing with Qt4.3 first. If the speed is acceptable we should ditch it.
I have Qt-4.2.3, and on Intel Mac, there's no speed problem. (I
wouldn't expect PPC Mac to be much different, but I haven't tried.)
Yes but if we ditch the wide() thing you will get a full redraw for each
key stroke within inset. If you tell me that in mathed for example,
there is no time lag when typing then we can ditch it, if not then we
must keep it.
Qt4.3 is supposed to bring more optimization WRT metrics calaculation
which is especially important on Mac. So, if you could grab the latest
snapshot and test with that if typing is OK within mathed when we can
ditch it.
Abdel.
Bennett