Unassigned buffer_ member in Inset::dispatch()
Scott Kostyshak
skostysh at lyx.org
Sun Jan 29 02:44:26 UTC 2023
On Fri, Jan 13, 2023 at 12:06:38PM -0500, Scott Kostyshak wrote:
> On Fri, Jan 13, 2023 at 05:52:47PM +0100, Jean-Marc Lasgouttes wrote:
> > Le 13/01/2023 à 17:18, Scott Kostyshak a écrit :
> > > I didn't have devel mode on.
> > >
> > > Would it make sense to add an assert? That will be helpful to figure out
> > > how to reproduce. I can add it locally, but is there a reason we don't
> > > have it added in the code? i.e., see attached patch.
> >
> > I would rather advise to have devel-mode on. It will show you (in red) that
> > the issue is related to macro template insets and also completion in text. I
> > have unfinished patches to handle these things, but we do have asserts in
> > places where buffer insets are actually used.
>
> Makes sense, thanks!
Attached is an example file to reproduce with the following steps:
1. Select one of the fractions.
2. Type \omeqcolorC<space>.
3. Press <Right>, <Right>.
I get the following:
Unassigned buffer_ member in Inset::dispatch()
LyX Code: 78 name: mathnest
Unassigned buffer_ member in Inset::dispatch()
LyX Code: 78 name: mathnest
Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unassigned-buffer.lyx
Type: application/x-lyx
Size: 2202 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230128/bd311d24/attachment.lyx>
More information about the lyx-devel
mailing list