-{"Data":{"Sdk":{"Events":[{"Id":"5757078448","Type":"IssuesEvent","CreatedAt":"2026-01-12T17:45:08","Actor":"mkaszewiak","Repository":"dotnet/Open-XML-SDK","Organization":"dotnet","RawContent":null,"RelatedAction":"closed","RelatedUrl":"https://github.com/dotnet/Open-XML-SDK/issues/1970","RelatedDescription":"Closed issue \"With .NET 10, when opening an document with PNG images and close it, some images have zero size in media folder\" (#1970) at dotnet/Open-XML-SDK","RelatedBody":"I'm using version 3.3\n\nWith .NET 10, when opening an document already formed with PNG images (2 or 3) and close it, some images have zero size in media folder after disposing. The first one is generally untouched, but the other ones are all empty.\n\nThe same document in .NET 9 behave correctly (images are not empty).\n\n\n"},{"Id":"5749767537","Type":"IssuesEvent","CreatedAt":"2026-01-12T12:54:53","Actor":"mkaszewiak","Repository":"dotnet/Open-XML-SDK","Organization":"dotnet","RawContent":null,"RelatedAction":"labeled","RelatedUrl":"https://github.com/dotnet/Open-XML-SDK/issues/1970","RelatedDescription":null,"RelatedBody":"I'm using version 3.3\n\nWith .NET 10, when opening an document already formed with PNG images (2 or 3) and close it, some images have zero size in media folder after disposing. The first one is generally untouched, but the other ones are all empty.\n\nThe same document in .NET 9 behave correctly (images are not empty).\n\n\n"},{"Id":"5715167816","Type":"IssuesEvent","CreatedAt":"2026-01-09T19:54:58","Actor":"mikeebowen","Repository":"dotnet/Open-XML-SDK","Organization":"dotnet","RawContent":null,"RelatedAction":"labeled","RelatedUrl":"https://github.com/dotnet/Open-XML-SDK/issues/1226","RelatedDescription":null,"RelatedBody":"**Describe the bug**\r\nThe customer generated PPTX documents by using OpenXML SDK, but PowerPoint would prompt Repair dialog while opening the document, and part of slide layout would be missed. This issue was not there when using OpenXML SDK 2.7.2 until upgraded OpenXML SDK to version 2.11~2.18.\r\n\r\n**Screenshots**\r\n\r\n\r\n\r\n**To Reproduce**\r\n\r\nSteps to reproduce the behavior:\r\n1. Use following code, to generate a new pptx file.\r\n\r\n```csharp\r\npublic static SlideLayoutPart CreateSlideLayout(PackEngineContext packEngineContext, SlideLayoutPart sourceLayoutPart, PresentationDocument targetDoc, SlideMasterPart targetMasterPart, List<ImageCacheItem> imageCacheItems, PPTIdCounter pptIdCounter)\r\n{\r\n SlideLayoutPart targetLayoutPart = targetMasterPart.AddNewPart<SlideLayoutPart>();\r\n targetLayoutPart.FeedData(sourceLayoutPart);\r\n\r\n if (targetMasterPart.IsRepeatNameOfSlideLayout(targetLayoutPart))\r\n {\r\n targetLayoutPart.SetNameofSlideLayout();\r\n }\r\n\r\n targetLayoutPart.AddPart(targetMasterPart, targetDoc.PresentationPart.GetIdOfPart(targetMasterPart));\r\n\r\n bool needCloneDiagramParts = (sourceLayoutPart.DiagramColorsParts != null && sourceLayoutPart.DiagramColorsParts.Count() > 0) ||\r\n (sourceLayoutPart.DiagramDataParts != null && sourceLayoutPart.DiagramDataParts.Count() > 0);\r\n bool needCloneChartParts = sourceLayoutPart.HasChart();\r\n AddImageRelatedParts(sourceLayoutPart, sourceLayoutPart.SlideLayout.CommonSlideData, sourceLayoutPart.VmlDrawingParts,\r\n targetLayoutPart, imageCacheItems, needCloneDiagramParts, needCloneChartParts);\r\n HandleOtherParts(packEngineContext, sourceLayoutPart, sourceLayoutPart.SlideLayout.CommonSlideData,\r\n targetDoc, targetLayoutPart, targetLayoutPart.SlideLayout.CommonSlideData);\r\n\r\n SlideLayoutId newLayoutId = new SlideLayoutId();\r\n newLayoutId.Id = pptIdCounter.GetNextSlideMasterLayoutId();\r\n newLayoutId.RelationshipId = targetMasterPart.GetIdOfPart(targetLayoutPart);\r\n targetMasterPart.SlideMaster.SlideLayoutIdList.Append(newLayoutId);\r\n targetLayoutPart.SlideLayout.Save();\r\n\r\n return targetLayoutPart;\r\n}\r\n```\r\n\r\n**Observed behavior**\r\nPowerPoint will pop up repair error message when opening the error.pptx.\r\n\r\n**Expected behavior**\r\nNo repair prompt and slide layout would not be broken.\r\n\r\n**Desktop (please complete the following information):**\r\n - OS: Windows\r\n - Office version 16.0.15726.20202\r\n - .NET Target: .NET Core\r\n - DocumentFormat.OpenXml Version: 2.18.0\r\n\r\n**Additional context**\r\n1. We compared the normal.pptx and error.pptx, then found the element order is different, if we manually change the element order, then PowerPoint can open the file successfully.\r\n3. The following code came from the directory &\\ppt\\slideMasters\\slideMaster1.xml, XML node in PPTX generated by openxml2.7.2 is as follows, the element AlternateContent was behind sldLayoutIdLst, and the document can be opened normally.\r\n\r\n\r\n4. In version 2.11~2.18 of OpenXML, the generated XML document changed to such that the \"AlternateContent\" and \"p:sldLayoutIdLst\" were reversed, causing this problem.\r\n\r\n\r\n"},{"Id":"5714730583","Type":"IssuesEvent","CreatedAt":"2026-01-09T19:30:55","Actor":"mikeebowen","Repository":"dotnet/Open-XML-SDK","Organization":"dotnet","RawContent":null,"RelatedAction":"labeled","RelatedUrl":"https://github.com/dotnet/Open-XML-SDK/issues/1694","RelatedDescription":null,"RelatedBody":"**Description**\r\n\r\nThe `DocumentFormat.OpenXml.Office.SpreadSheetML` namespace should be changed to `DocumentFormat.OpenXml.Office.SpreadsheetML` (with lowercase s)\r\n\r\n**Information**\r\n\r\n- .NET Target: any\r\n- DocumentFormat.OpenXml Version: 2.15.0+\r\n\r\n**Expected**\r\n\r\nSpreadsheet should be one word.\r\n"},{"Id":"5713838571","Type":"PullRequestEvent","CreatedAt":"2026-01-09T18:44:14","Actor":"mikeebowen","Repository":"dotnet/Open-XML-SDK","Organization":"dotnet","RawContent":null,"RelatedAction":"merged","RelatedUrl":null,"RelatedDescription":null,"RelatedBody":null},{"Id":"5662396142","Type":"PullRequestEvent","CreatedAt":"2026-01-07T18:40:53","Actor":"mikeebowen","Repository":"dotnet/Open-XML-SDK","Organization":"dotnet","RawContent":null,"RelatedAction":"closed","RelatedUrl":null,"RelatedDescription":null,"RelatedBody":null},{"Id":"5661902524","Type":"PullRequestEvent","CreatedAt":"2026-01-07T18:20:30","Actor":"dependabot[bot]","Repository":"dotnet/Open-XML-SDK","Organization":"dotnet","RawContent":null,"RelatedAction":"labeled","RelatedUrl":null,"RelatedDescription":null,"RelatedBody":null}],"ResultType":"GitHubEvent"}},"RunOn":"2026-01-13T03:30:24.3959844Z","RunDurationInMilliseconds":686}
0 commit comments