View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0017912 | Scribus | General | public | 2026-08-07 04:45 | 2026-09-05 02:23 |
| Reporter | buttar | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | new | Resolution | open | ||
| Platform | Linux | OS | Fedora Workstation | OS Version | 44 |
| Product Version | 1.7.4.svn | ||||
| Summary | 0017912: Crash when undoing deleting text-frames with Marks | ||||
| Description | CRASH - only when both text frames are selected with mouse drag - press Delete button, Ctrl+Z NO CRASH - delete one-by-one, press Delete button, Ctrl+Z - shift-select one-by-one, press Delete button, Ctrl+Z | ||||
| Steps To Reproduce | - open attached .sla - select both text-frames with mouse drag - press Delete button on keyboard - press Ctrl+Z (crash) | ||||
| Additional Information | Backtrace and SLA are attached. | ||||
| Tags | #please_test | ||||
| Attached Files | footnotes-crash.sla (24,002 bytes)
<?xml version="1.0" encoding="UTF-8"?>
<SCRIBUSUTF8NEW Version="1.7.4.svn">
<Document PageCount="1" PageWidth="576" PageHeight="828" BorderLeft="36" BorderRight="36" BorderTop="36" BorderBottom="36" MarginPreset="0" BleedTop="0" BleedLeft="0" BleedRight="0" BleedBottom="0" PageOrientation="0" PageSize="Custom" FirstPageNumber="1" PagePositioning="1" BindingDirection="0" IsRTL="0" AutomaticTextFrameColumnCount="1" AutomaticTextFrameColumnGap="11" UnitIndex="2" FontFace="EB Garamond Regular" FontSize="12" TextColumnCount="1" TextColumnGap="0" TabFillCharacter="" TabWidth="36" TextDistanceLeft="0" TextDistanceRight="0" TextDistanceBottom="0" TextDistanceTop="0" FirstLineOffset="1" DocumentInfoAuthor="" DocumentInfoComments="" DocumentInfoKeywords="" DocumentInfoPublisher="" DocumentInfoDate="" DocumentInfoType="" DocumentInfoFormat="" DocumentInfoIdentifier="" DocumentInfoSource="" DocumentInfoLanguage="" DocumentInfoRelation="" DocumentInfoCoverage="" DocumentInfoRights="" DocumentInfoContributors="" DocumentInfoTitle="" DocumentInfoSubject="" SuperScriptDisplacement="33" SuperScriptScaling="66" SubScriptDisplacement="33" SubScriptScaling="66" SmallCapsScaling="75" BaselineGridSpacing="15.6" BaselineGridOffset="0" AutoLineSpacingPct="100" UnderlinePosition="-1" UnderlineWidth="-1" StrikeThruPosition="-1" StrikeThruWidth="-1" GroupCounter="1" DocumentHasCMS="0" SoftProofOn="0" SoftProofFullOn="0" ColorManagementActive="0" GamutCheck="0" BlackPoint="1" DefaultPrinterProfile="ISO Coated v2 300% (basICColor)" DefaultImageRGBProfile="sRGB display profile (ICC v2.2)" DefaultImageCMYKProfile="ISO Coated v2 300% (basICColor)" DefaultSolidColorRGBProfile="sRGB display profile (ICC v2.2)" DefaultSolidColorCMYKProfile="ISO Coated v2 300% (basICColor)" DefaultIntentColors="1" DefaultIntentImages="0" ActiveLayer="0" Language="en_GB" AutomaticHyphenation="1" AutomaticHyphenationCheck="1" GuideLock="0" SnapToGuides="0" SnapToGrid="0" SnapToItems="0" MinorGridSpacing="18" MajorGridSpacing="72" ShowGrid="0" ShowGuides="1" ShowColumnBorders="1" ShowFrames="1" ShowControls="0" ShowTableCellFrames="0" ShowLayerMarkers="0" ShowMargins="1" ShowBaselineGrid="0" ShowImages="1" ShowLinks="0" RulerMode="1" ShowRulers="1" ShowBleed="1" RulerXOffset="0" RulerYOffset="0" GuideRadius="10" GrabRadius="4" PolygonCorners="4" PolygonFactor="0.502" PolygonRotation="0" PolygonInnerRotation="0" PolygonCurvature="0" PolygonOuterCurvature="0" PolygonUseFactor="0" ArcStartAngle="30" ArcSweepAngle="300" SpiralStartAngle="0" SpiralEndAngle="1080" SpiralFactor="1.2" AutoSave="1" AutoSaveTime="600000" AutoSaveCount="1" AutoSaveKeep="0" AutoSaveInDocumentDirectory="0" AutoSaveDirectory="/home/buttar/x/xdump" ScratchBottom="18" ScratchLeft="108" ScratchRight="108" ScratchTop="18" GapHorizontal="0" GapVertical="36" LineStartArrow="0" LineEndArrow="0" ShapeLineColor="None" ShapeFillColor="Cyan" LineColor="Black" TextColor="Black" TextStrokeColor="Black" TextBackgroundColor="None" TextLineColor="None" TextBackgroundColorShade="100" TextLineColorShade="100" TextColorShade="100" TextStrokeColorShade="100" ShapeLineStyle="1" LineStyle="1" ShapeLineWidth="1" LineWidth="1" ShapeLineColorShade="100" LineColorShade="100" ShapeFillColorShade="100" ImageFillColor="None" ImageFillColorShade="100" ImageStrokeColor="None" ImageStrokeColorShade="100" ImageScaleX="1" ImageScaleY="1" ImageScaleType="1" ImageAspectRatio="1" ImageUseEmbeddedPath="0" ImageLowResType="1" DisplayOffsetX="9" DisplayOffsetY="9" RotationConstrainAngle="15" MinorGridColor="#00ff00" MajorGridColor="#00ff00" GuidesColor="#000080" BaselineGridColor="#c0c0c0" RenderStack="2 1 4 3 0" GridType="0" PageColor="#ffffff" MarginColor="#813d9c" ShowMarginsFilled="0" CurrentProfile="PDF 1.6" CalligraphicPenFillColor="Black" CalligraphicPenLineColor="Black" CalligraphicPenFillColorShade="100" CalligraphicPenLineColorShade="100" CalligraphicPenLineWidth="1" CalligraphicPenAngle="0" CalligraphicPenWidth="10" CalligraphicPenStyle="1">
<CheckProfile Name="PDF 1.3" IgnoreErrors="0" AutoCheck="1" CheckGlyphs="1" CheckOrphans="1" CheckOverflow="1" CheckPictures="1" CheckPartFilledImageFrames="0" CheckResolution="1" CheckTransparency="0" MinimumResolution="299" MaximumResolution="600" CheckAnnotations="0" CheckRasterPDF="1" CheckForGIF="1" IgnoreOffLayers="0" CheckNotCMYKOrSpot="0" CheckDeviceColorsAndOutputIntent="0" CheckFontNotEmbedded="1" CheckFontIsOpenType="1" CheckAppliedMasterDifferentSide="1" CheckEmptyTextFrames="1" CheckImageHasProgressiveEncoding="0"/>
<CheckProfile Name="PDF 1.4" IgnoreErrors="0" AutoCheck="1" CheckGlyphs="1" CheckOrphans="1" CheckOverflow="1" CheckPictures="1" CheckPartFilledImageFrames="0" CheckResolution="1" CheckTransparency="0" MinimumResolution="299" MaximumResolution="600" CheckAnnotations="0" CheckRasterPDF="1" CheckForGIF="1" IgnoreOffLayers="0" CheckNotCMYKOrSpot="0" CheckDeviceColorsAndOutputIntent="0" CheckFontNotEmbedded="1" CheckFontIsOpenType="1" CheckAppliedMasterDifferentSide="1" CheckEmptyTextFrames="1" CheckImageHasProgressiveEncoding="1"/>
<CheckProfile Name="PDF 1.5" IgnoreErrors="0" AutoCheck="1" CheckGlyphs="1" CheckOrphans="1" CheckOverflow="1" CheckPictures="1" CheckPartFilledImageFrames="0" CheckResolution="1" CheckTransparency="0" MinimumResolution="299" MaximumResolution="600" CheckAnnotations="0" CheckRasterPDF="1" CheckForGIF="1" IgnoreOffLayers="0" CheckNotCMYKOrSpot="0" CheckDeviceColorsAndOutputIntent="0" CheckFontNotEmbedded="1" CheckFontIsOpenType="1" CheckAppliedMasterDifferentSide="1" CheckEmptyTextFrames="1" CheckImageHasProgressiveEncoding="1"/>
<CheckProfile Name="PDF 1.6" IgnoreErrors="0" AutoCheck="1" CheckGlyphs="1" CheckOrphans="1" CheckOverflow="1" CheckPictures="1" CheckPartFilledImageFrames="0" CheckResolution="1" CheckTransparency="0" MinimumResolution="299" MaximumResolution="600" CheckAnnotations="0" CheckRasterPDF="1" CheckForGIF="1" IgnoreOffLayers="0" CheckNotCMYKOrSpot="0" CheckDeviceColorsAndOutputIntent="0" CheckFontNotEmbedded="1" CheckFontIsOpenType="0" CheckAppliedMasterDifferentSide="1" CheckEmptyTextFrames="1" CheckImageHasProgressiveEncoding="1"/>
<CheckProfile Name="PDF/X-1a" IgnoreErrors="0" AutoCheck="1" CheckGlyphs="1" CheckOrphans="1" CheckOverflow="1" CheckPictures="1" CheckPartFilledImageFrames="0" CheckResolution="1" CheckTransparency="1" MinimumResolution="299" MaximumResolution="600" CheckAnnotations="1" CheckRasterPDF="1" CheckForGIF="1" IgnoreOffLayers="0" CheckNotCMYKOrSpot="1" CheckDeviceColorsAndOutputIntent="0" CheckFontNotEmbedded="1" CheckFontIsOpenType="1" CheckAppliedMasterDifferentSide="1" CheckEmptyTextFrames="1" CheckImageHasProgressiveEncoding="1"/>
<CheckProfile Name="PDF/X-3" IgnoreErrors="0" AutoCheck="1" CheckGlyphs="1" CheckOrphans="1" CheckOverflow="1" CheckPictures="1" CheckPartFilledImageFrames="0" CheckResolution="1" CheckTransparency="1" MinimumResolution="299" MaximumResolution="600" CheckAnnotations="1" CheckRasterPDF="1" CheckForGIF="1" IgnoreOffLayers="0" CheckNotCMYKOrSpot="0" CheckDeviceColorsAndOutputIntent="1" CheckFontNotEmbedded="1" CheckFontIsOpenType="1" CheckAppliedMasterDifferentSide="1" CheckEmptyTextFrames="1" CheckImageHasProgressiveEncoding="1"/>
<CheckProfile Name="PDF/X-4" IgnoreErrors="0" AutoCheck="1" CheckGlyphs="1" CheckOrphans="1" CheckOverflow="1" CheckPictures="1" CheckPartFilledImageFrames="0" CheckResolution="1" CheckTransparency="0" MinimumResolution="299" MaximumResolution="600" CheckAnnotations="1" CheckRasterPDF="1" CheckForGIF="1" IgnoreOffLayers="0" CheckNotCMYKOrSpot="0" CheckDeviceColorsAndOutputIntent="1" CheckFontNotEmbedded="1" CheckFontIsOpenType="0" CheckAppliedMasterDifferentSide="1" CheckEmptyTextFrames="1" CheckImageHasProgressiveEncoding="1"/>
<CheckProfile Name="PostScript" IgnoreErrors="0" AutoCheck="1" CheckGlyphs="1" CheckOrphans="1" CheckOverflow="1" CheckPictures="1" CheckPartFilledImageFrames="0" CheckResolution="1" CheckTransparency="1" MinimumResolution="144" MaximumResolution="2400" CheckAnnotations="0" CheckRasterPDF="1" CheckForGIF="1" IgnoreOffLayers="0" CheckNotCMYKOrSpot="0" CheckDeviceColorsAndOutputIntent="0" CheckFontNotEmbedded="0" CheckFontIsOpenType="0" CheckAppliedMasterDifferentSide="1" CheckEmptyTextFrames="1" CheckImageHasProgressiveEncoding="1"/>
<Color Name="Black" Space="CMYK" C="0" M="0" Y="0" K="100"/>
<Color Name="Blue" Space="RGB" R="0" G="0" B="255"/>
<Color Name="Cool Black" Space="CMYK" C="60" M="0" Y="0" K="100"/>
<Color Name="Cyan" Space="CMYK" C="100" M="0" Y="0" K="0"/>
<Color Name="Green" Space="RGB" R="0" G="255" B="0"/>
<Color Name="Magenta" Space="CMYK" C="0" M="100" Y="0" K="0"/>
<Color Name="Red" Space="RGB" R="255" G="0" B="0"/>
<Color Name="Registration" Space="CMYK" C="100" M="100" Y="100" K="100" Register="1"/>
<Color Name="Rich Black" Space="CMYK" C="60" M="40" Y="40" K="100"/>
<Color Name="Warm Black" Space="CMYK" C="0" M="60" Y="29.8039215686275" K="100"/>
<Color Name="White" Space="CMYK" C="0" M="0" Y="0" K="0"/>
<Color Name="Yellow" Space="CMYK" C="0" M="0" Y="100" K="0"/>
<Hyphenator/>
<CharacterStyle Name="Default Character Style" DefaultStyle="1" Font="EB Garamond Regular" FontSize="12" FontFeatures="" Features="inherit" FontColor="Black" FillShade="100" HyphenWordMinimum="3" StrokeColor="Black" BackgroundColor="None" BackgroundShade="100" StrokeShade="100" TextShadowXOffset="5" TextShadowYOffset="-5" TextOutlineWidth="1" TextUnderlineOffset="-0.1" TextUnderlineWidth="-0.1" TextStrikeThroughOffset="-0.1" TextStrikeThroughWidth="-0.1" ScaleHorizontal="100" ScaleVertical="100" BaselineOffset="0" Kerning="0" Language="en_GB"/>
<ParagraphStyle Name="Default Paragraph Style" DefaultStyle="1" Alignment="0" Direction="0" LineSpacingMode="0" LineSpacing="15" LeftMargin="0" RightMargin="0" FirstIndent="0" GapBefore="0" GapAfter="0" ParagraphEffectOffset="0" HasDropCap="0" DropCapLines="2" Bullet="0" Numeration="0" HyphenConsecutiveLines="2" ParagraphBackgroundColor="None" ParagraphBackgroundColorShade="100"/>
<TableStyle Name="Default Table Style" DefaultStyle="1" FillColor="None" FillShade="100">
<TableBorderLeft>
<TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/>
</TableBorderLeft>
<TableBorderRight>
<TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/>
</TableBorderRight>
<TableBorderTop>
<TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/>
</TableBorderTop>
<TableBorderBottom>
<TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/>
</TableBorderBottom>
</TableStyle>
<CellStyle Name="Default Cell Style" DefaultStyle="1" FillColor="None" FillShade="100" LeftPadding="1" RightPadding="1" TopPadding="1" BottomPadding="1">
<TableBorderLeft>
<TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/>
</TableBorderLeft>
<TableBorderRight>
<TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/>
</TableBorderRight>
<TableBorderTop>
<TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/>
</TableBorderTop>
<TableBorderBottom>
<TableBorderLine Width="1" PenStyle="1" Color="Black" Shade="100"/>
</TableBorderBottom>
</CellStyle>
<Layers Number="0" Level="0" Name="Background" IsViewable="1" IsPrintable="1" IsEditable="1" IsSelectable="0" FlowControl="1" Transparency="1" BlendMode="0" OutlineMode="0" LayerColor="#000000"/>
<Printer firstUse="1" toFile="0" useAltPrintCommand="0" outputSeparations="0" useSpotColors="1" useColor="1" mirrorH="0" mirrorV="0" useICC="0" doGCR="0" doClip="0" setDevParam="0" useDocBleeds="1" cropMarks="0" bleedMarks="0" registrationMarks="0" colorMarks="0" includePDFMarks="1" PSLevel="3" PrintEngine="3" markLength="20.0016" markOffset="0" BleedTop="0" BleedLeft="0" BleedRight="0" BleedBottom="0" printer="File" filename="" separationName="All" printerCommand=""/>
<PDF firstUse="1" Thumbnails="0" Articles="0" Bookmarks="0" Compress="1" CMethod="0" Quality="0" EmbedPDF="0" MirrorH="0" MirrorV="0" Clip="0" rangeSel="0" rangeTxt="" RotateDeg="0" PresentMode="0" RecalcPic="1" FontEmbedding="0" Grayscale="0" RGBMode="0" UseProfiles="0" UseProfiles2="0" Binding="0" PicRes="600" Resolution="300" Version="16" Intent="1" Intent2="0" SolidP="sRGB display profile (ICC v2.2)" ImageP="sRGB display profile (ICC v2.2)" PrintP="ISO Coated v2 300% (basICColor)" InfoString="" BTop="0" BLeft="0" BRight="0" BBottom="0" useDocBleeds="1" cropMarks="0" bleedMarks="0" registrationMarks="0" colorMarks="0" docInfoMarks="0" markLength="18" markOffset="0" ImagePr="0" PassOwner="" PassUser="" Permissions="-4" Encrypt="0" UseLayers="0" UseLpi="0" UseSpotColors="1" doMultiFile="0" displayBookmarks="0" displayFullscreen="0" displayLayers="0" displayThumbs="0" hideMenuBar="0" hideToolBar="0" fitWindow="0" openAfterExport="0" PageLayout="0" openAction="">
<LPI Color="" Frequency="0" Angle="0" SpotFunction="0"/>
<LPI Color="Black" Frequency="133" Angle="45" SpotFunction="3"/>
<LPI Color="Cyan" Frequency="133" Angle="105" SpotFunction="3"/>
<LPI Color="Magenta" Frequency="133" Angle="75" SpotFunction="3"/>
<LPI Color="Yellow" Frequency="133" Angle="90" SpotFunction="3"/>
</PDF>
<DocItemAttributes/>
<Indexes/>
<TablesOfContents/>
<Marks>
<Mark label="NoteMark_Default_2" type="4"/>
<Mark label="NoteMark_Default_1" type="4"/>
</Marks>
<NotesStyles>
<notesStyle Name="Default" Start="1" Endnotes="0" Type="Type_1_2_3" Range="0" Prefix="" Suffix=")" AutoHeight="0" AutoWidth="1" AutoRemove="1" AutoWeld="1" SuperNote="1" SuperMaster="1" MarksStyle="" NotesStyle=""/>
</NotesStyles>
<OpticalMarginSets>
<Set Id="preset_0" Type="preset" Name="Default">
<Rules>
<Rule Left="0" Right="0.5" Unit="7" Characters="U+003A,U+003B,U+2013,U+2033"/>
<Rule Left="0" Right="0.75" Unit="7" Characters="U+002C,U+002D,U+002E,U+2010,U+2032"/>
<Rule Left="0.25" Right="0.25" Unit="7" Characters="U+2014"/>
<Rule Left="0.5" Right="0" Unit="7" Characters="U+2036"/>
<Rule Left="0.5" Right="0.5" Unit="7" Characters="U+0022,U+0028,U+0029,U+005B,U+005D,U+00AB,U+00BB,U+201C,U+201D,U+201E,U+201F"/>
<Rule Left="0.75" Right="0" Unit="7" Characters="U+2035"/>
<Rule Left="0.75" Right="0.75" Unit="7" Characters="U+0027,U+002A,U+0060,U+007E,U+00B4,U+2018,U+2019,U+201A,U+201B,U+2039,U+203A"/>
</Rules>
</Set>
</OpticalMarginSets>
<NotesFrames>
<FootNoteFrame NoteStyleName="Default" myID="48470801" MasterID="1098051970"/>
<FootNoteFrame NoteStyleName="Default" myID="1128341012" MasterID="1122064982"/>
</NotesFrames>
<Notes>
<Note Master="NoteMark_Default_2" NoteStyle="Default" Text="<?xml version="1.0" encoding="UTF-8"?><SCRIBUSTEXT ><defaultstyle /><p ><style /><span ><charstyle Features="inherit " /> fgfg</span></p></SCRIBUSTEXT> "/>
<Note Master="NoteMark_Default_1" NoteStyle="Default" Text="<?xml version="1.0" encoding="UTF-8"?><SCRIBUSTEXT ><defaultstyle /><p ><style /><span ><charstyle Features="inherit " /> aaaa</span></p></SCRIBUSTEXT> "/>
</Notes>
<PageSets>
<Set Name="Single Page" FirstPage="0" Rows="1" Columns="1"/>
<Set Name="Facing Pages" FirstPage="1" Rows="1" Columns="2">
<PageNames Name="Left Page"/>
<PageNames Name="Right Page"/>
</Set>
<Set Name="3-Fold" FirstPage="0" Rows="1" Columns="3">
<PageNames Name="Left Page"/>
<PageNames Name="Middle"/>
<PageNames Name="Right Page"/>
</Set>
<Set Name="4-Fold" FirstPage="0" Rows="1" Columns="4">
<PageNames Name="Left Page"/>
<PageNames Name="Middle Left"/>
<PageNames Name="Middle Right"/>
<PageNames Name="Right Page"/>
</Set>
</PageSets>
<Sections>
<Section Number="0" Name="Section 1" From="0" To="0" Type="Type_1_2_3" Start="1" Reversed="0" Active="1" FillChar="0" FieldWidth="0"/>
</Sections>
<MasterPage PageXPosition="108" PageYPosition="18" PageWidth="576" PageHeight="828" BorderLeft="36" BorderRight="36" BorderTop="36" BorderBottom="36" PageNumber="0" PageName="Normal Left" MasterPageName="" Size="Custom" Orientation="0" LeftPage="1" Preset="0" VerticalGuides="" HorizontalGuides="" AutoGuideHorizontalGap="0" AutoGuideVerticalGap="0" AutoGuideHorizontalCount="0" AutoGuideVerticalCount="0" AutoGuideHorizontalReference="0" AutoGuideVerticalReference="0" AutoGuideSelection="0 0 0 0" PageEffectDuration="1" PageViewDuration="1" PageEffectType="0" PageEffectLineDirection="0" PageEffectInsideOutside="0" PageEffectDirection="0"/>
<MasterPage PageXPosition="108" PageYPosition="18" PageWidth="576" PageHeight="828" BorderLeft="36" BorderRight="36" BorderTop="36" BorderBottom="36" PageNumber="1" PageName="Normal Right" MasterPageName="" Size="Custom" Orientation="0" LeftPage="0" Preset="0" VerticalGuides="" HorizontalGuides="" AutoGuideHorizontalGap="0" AutoGuideVerticalGap="0" AutoGuideHorizontalCount="0" AutoGuideVerticalCount="0" AutoGuideHorizontalReference="0" AutoGuideVerticalReference="0" AutoGuideSelection="0 0 0 0" PageEffectDuration="1" PageViewDuration="1" PageEffectType="0" PageEffectLineDirection="0" PageEffectInsideOutside="0" PageEffectDirection="0"/>
<Page PageXPosition="684" PageYPosition="18" PageWidth="576" PageHeight="828" BorderLeft="36" BorderRight="36" BorderTop="36" BorderBottom="36" PageNumber="0" PageName="" MasterPageName="Normal Right" Size="Custom" Orientation="0" LeftPage="0" Preset="0" VerticalGuides="" HorizontalGuides="" AutoGuideHorizontalGap="0" AutoGuideVerticalGap="0" AutoGuideHorizontalCount="0" AutoGuideVerticalCount="0" AutoGuideHorizontalReference="0" AutoGuideVerticalReference="0" AutoGuideSelection="0 0 0 0" PageEffectDuration="1" PageViewDuration="1" PageEffectType="0" PageEffectLineDirection="0" PageEffectInsideOutside="0" PageEffectDirection="0"/>
<PageObject XPosition="720" YPosition="211.289719626168" OwnPage="0" ItemID="48470801" ItemType="4" Width="504" Height="20" FrameType="0" ClipEdited="0" LineWidth="1" FillShade="0" LineShade="0" LinePenStyle="1" IsWeldItem="1" WeldSource="48470801" AutoName="Footnote frame Default (2)" TextFlowMode="1" ImageScaleX="1" ImageScaleY="1" ImageOffsetX="0" ImageOffsetY="0" ImageRotation="0" ImageVisible="1" ImageScaleType="1" ImageRatio="1" Columns="1" ColumnGap="0" AutomaticTextFrame="0" TextToFrameDistanceLeft="0" TextToFrameDistanceTop="0" TextToFrameDistanceBottom="0" TextToFrameDistanceRight="0" VerticalAlignment="0" FirstLineOffset="1" PathTextShowPath="0" PathTextDistanceFromPath="0" TextPathType="0" TextPathFlipped="0" Path="" gXpos="720" gYpos="54" gWidth="0" gHeight="0" Layer="0" NextItem="-1" BackItem="-1" isNoteFrame="1">
<WeldEntry Target="1098051970" WX="0" WY="0"/>
</PageObject>
<PageObject XPosition="720" YPosition="54" OwnPage="0" ItemID="1098051970" ItemType="4" Width="504" Height="157.289719626168" FrameType="0" ClipEdited="0" LineWidth="1" LinePenStyle="1" ImageScaleX="1" ImageScaleY="1" ImageOffsetX="0" ImageOffsetY="0" ImageRotation="0" ImageVisible="1" ImageScaleType="1" ImageRatio="1" Columns="1" ColumnGap="0" AutomaticTextFrame="0" TextToFrameDistanceLeft="0" TextToFrameDistanceTop="0" TextToFrameDistanceBottom="0" TextToFrameDistanceRight="0" VerticalAlignment="0" FirstLineOffset="1" PathTextShowPath="0" PathTextDistanceFromPath="0" TextPathType="0" TextPathFlipped="0" Path="M0 0 L504 0 L504 157.29 L0 157.29 L0 0 Z" ContourLinePath="M0 0 L504 0 L504 157.29 L0 157.29 L0 0 Z" gXpos="720" gYpos="54" gWidth="0" gHeight="0" Layer="0" NextItem="-1" BackItem="-1">
<StoryText>
<DefaultStyle/>
<Content Chars="3 May. Bistritz.--Left Munich at 8:35 P.M., on 1st May, arriving at Vienna early next morning; should have arrived at 6:46, but train was an hour late"/>
<MARK label="NoteMark_Default_1" type="4" Features="inherit superscript"/>
<Content Chars=" Buda-Pesth seems a wonderful place, from the glimpse which I got of it from the train and the little I could walk through the streets. I feared to go very far from the station, as we had arrived late and would start as near the correct time as possible."/>
<trail/>
</StoryText>
</PageObject>
<PageObject XPosition="720" YPosition="452.18691588785" OwnPage="0" ItemID="1128341012" ItemType="4" Width="504" Height="20" FrameType="0" ClipEdited="0" LineWidth="1" FillShade="0" LineShade="0" LinePenStyle="1" IsWeldItem="1" WeldSource="1128341012" AutoName="Footnote frame Default" TextFlowMode="1" ImageScaleX="1" ImageScaleY="1" ImageOffsetX="0" ImageOffsetY="0" ImageRotation="0" ImageVisible="1" ImageScaleType="1" ImageRatio="1" Columns="1" ColumnGap="0" AutomaticTextFrame="0" TextToFrameDistanceLeft="0" TextToFrameDistanceTop="0" TextToFrameDistanceBottom="0" TextToFrameDistanceRight="0" VerticalAlignment="0" FirstLineOffset="1" PathTextShowPath="0" PathTextDistanceFromPath="0" TextPathType="0" TextPathFlipped="0" Path="" gXpos="720" gYpos="318.953271028037" gWidth="0" gHeight="0" Layer="0" NextItem="-1" BackItem="-1" isNoteFrame="1">
<WeldEntry Target="1122064982" WX="0" WY="0"/>
</PageObject>
<PageObject XPosition="720" YPosition="318.953271028037" OwnPage="0" ItemID="1122064982" ItemType="4" Width="504" Height="133.233644859813" FrameType="0" ClipEdited="0" LineWidth="1" LinePenStyle="1" ImageScaleX="1" ImageScaleY="1" ImageOffsetX="0" ImageOffsetY="0" ImageRotation="0" ImageVisible="1" ImageScaleType="1" ImageRatio="1" Columns="1" ColumnGap="0" AutomaticTextFrame="0" TextToFrameDistanceLeft="0" TextToFrameDistanceTop="0" TextToFrameDistanceBottom="0" TextToFrameDistanceRight="0" VerticalAlignment="0" FirstLineOffset="1" PathTextShowPath="0" PathTextDistanceFromPath="0" TextPathType="0" TextPathFlipped="0" Path="M0 0 L504 0 L504 133.234 L0 133.234 L0 0 Z" ContourLinePath="M0 0 L504 0 L504 133.234 L0 133.234 L0 0 Z" gXpos="720" gYpos="318.953271028037" gWidth="0" gHeight="0" Layer="0" NextItem="-1" BackItem="-1">
<StoryText>
<DefaultStyle/>
<Content Chars="3 May. Bistritz.--Left Munich at 8:35 P.M., on 1st May, arriving at Vienna early next morning; should have arrived at 6:46, but train was an hour late. Buda-Pesth seems a wonderful place, from the glimpse which I got of it from the train and the"/>
<MARK label="NoteMark_Default_2" type="4" Features="inherit superscript"/>
<Content Chars=" little I could walk through the streets. I feared to go very far from the station, as we had arrived late and would start as near the correct time as possible."/>
<trail/>
</StoryText>
</PageObject>
</Document>
</SCRIBUSUTF8NEW>
bt-textframe-with-marks-crash-on-undoing-delete.md (2,073 bytes)
(gdb) bt
#0 QtSharedPointer::ExternalRefCountData::getAndRef (obj=obj@entry=0x4ce38a0)
at /usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/tools/qsharedpointer.cpp:1476
#1 0x0000000000b9ba62 in QWeakPointer<QObject>::QWeakPointer<PageItem, true> (this=0x7fffffffcfd0, ptr=0x4ce38a0)
at /usr/include/qt6/QtCore/qsharedpointer_impl.h:782
#2 QPointer<PageItem>::QPointer<void> (this=0x7fffffffcfd0, p=0x4ce38a0) at /usr/include/qt6/QtCore/qpointer.h:38
#3 Selection::addItems (this=0x5c16830, items=...) at /home/buttar/x/off_src/scribus/selection.cpp:206
#4 0x0000000000a20c11 in ScPage::restorePageItemDeletion
(this=0x5a93670, state=<optimized out>, isUndo=<optimized out>) at /home/buttar/x/off_src/scribus/scpage.cpp:414
#5 0x0000000000be0d15 in TransactionState::undo (this=0x7150700)
at /home/buttar/x/off_src/scribus/undostate.cpp:335
#6 0x0000000000be0406 in UndoStack::undo (this=0x6846e88, steps=steps@entry=1, objectId=-1)
at /home/buttar/x/off_src/scribus/undostack.cpp:82
#7 0x0000000000bde29a in UndoManager::undo (this=0x1dbaf20, steps=1)
at /home/buttar/x/off_src/scribus/undomanager.cpp:395
#8 0x00007ffff418497c in doActivate<false>
(sender=<optimized out>, signal_index=<optimized out>, argv=argv@entry=0x7fffffffd2d0)
at /usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qobject.cpp:4384
#9 0x00007ffff417ab47 in QMetaObject::activate
(sender=sender@entry=0x2f4cfe0, m=m@entry=0x17e5120 <ScrAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffffffd2d0)
at /usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qobject.cpp:4432
#10 0x0000000000516955 in QMetaObject::activate<void, int>
(sender=sender@entry=0x2f4cfe0, mo=0x17e5120 <ScrAction::staticMetaObject>, local_signal_index=1, ret=0x0)
at /usr/include/qt6/QtCore/qobjectdefs.h:320
#11 ScrAction::triggeredData (this=this@entry=0x2f4cfe0, _t1=<optimized out>)
at /home/buttar/x/off_build/scribus/scribus-1.7.4.svn_autogen/EWIEGA46WW/moc_scraction.cpp:223
| ||||
| Patch | No | ||||
|
|
Here is the tiny patch that fixed it for me. ##Cause - Marquee deletion can include generated auto note frames together with normal text frames in the same `delItems` batch. - Auto note frames are removed through note handling and do not receive ordinary `DELETE_ITEM` undo states. - Their raw `PageItem-` pointers were nevertheless copied into the undo selection snapshot stored for normal deleted items. - On undo, `ScPage::restorePageItemDeletion()` passed that stale pointer list to `Selection::addItems()`, where constructing a `QPointer<PageItem>` from an already-destroyed auto note frame caused the crash. ##Fix - Separates the deletion working set from the undo selection snapshot in `ScribusDoc::itemSelection_DeleteItem()`. - Keeps generated auto note frames in normal deletion processing, but excludes them from the stored `DELETE_ITEM` selection snapshot. - Recomputes the saved item index against the filtered undo-selection list. - Leaves marquee selection behaviour, note/mark life-cycle handling, `Selection`, `ScPage`, and the general undo framework unchanged. - Keeps broader `QPointer`-based undo hardening out of scope for this focused fix. undo-delete-textframes-with-marks-v1.00.patch (1,315 bytes)
Index: scribus/scribusdoc.cpp
===================================================================
--- scribus/scribusdoc.cpp (revision 27814)
+++ scribus/scribusdoc.cpp (working copy)
@@ -12047,6 +12047,15 @@
return;
}
+ // Auto note frames are recreated by note undo and can be destroyed before item undo.
+ QList<PageItem*> undoItems;
+ undoItems.reserve(delItems.count());
+ for (PageItem* item : delItems)
+ {
+ if (!item->isAutoNoteFrame())
+ undoItems.append(item);
+ }
+
UndoTransaction activeTransaction;
if (UndoManager::undoEnabled()) //always create transaction or check if item is reference for any mark or contains any mark or is welded etc
activeTransaction = m_undoManager->beginTransaction(Um::SelectionGroup, Um::IGroup,
@@ -12108,10 +12117,10 @@
if (UndoManager::undoEnabled() && (selectedItemCount > 0) && !forceDeletion)
{
auto *is = new ScItemState< QList<PageItem*> >(Um::Delete + " " + currItem->getUName(), "", Um::IDelete);
- is->setItem(delItems);
+ is->setItem(undoItems);
is->set("DELETE_ITEM");
is->set("ITEMID", itemList->indexOf(currItem));
- is->set("ID", selectedItemCount - (i + 1));
+ is->set("ID", undoItems.indexOf(currItem));
m_undoManager->action(Pages->at(0), is, currItem->getUPixmap());
}
itemList->removeAll(currItem);
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-08-07 04:45 | buttar | New Issue | |
| 2026-08-07 04:45 | buttar | File Added: footnotes-crash.sla | |
| 2026-08-07 04:45 | buttar | File Added: bt-textframe-with-marks-crash-on-undoing-delete.md | |
| 2026-09-05 02:23 | buttar | Note Added: 0054419 | |
| 2026-09-05 02:23 | buttar | File Added: undo-delete-textframes-with-marks-v1.00.patch | |
| 2026-09-05 02:23 | buttar | Tag Attached: #please_test |