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.
So please comment.
Considering that wide() is going to be ditch sooner or later,
elegantlyness should not be a diving factor, so your solution is OK with me.
BTW repainting is very sluggish especially when using the mouse. If I put the
cursor from a widen inset to the position just before the inset, LyX needs
_seconds_ until the inset is repainted.
With an optimized build? Looks strange... What is given by -dbg debug,any ?
Abdel.