Jean-Marc Lasgouttes <lasgouttes <at> lyx.org> writes:
> > What happens is, the above attribute resets to the left most cursor position > > of that row. And after few mouse movements, it gives the correct value. > > These mouse movements calls drawing method of TextMetrics.cpp. > > I think that mouse movement can trigger a DecorationUpdate. Do a > git grep Update::Decoration src > to know where it happens. > Thank you. It seems so. I can see many such updates in src/mathed/InsetMathNest.cpp. > Is the description pasted above clear enough to you? Yes I think I got what you have said. Also I remember you explained this to me earlier. But I was wandering why it would be hard to fix this, and if anyone has found a fix for this by any chance. It seems like to fix this, need to change the design of math insets. Thanks Hashini