C2026 041 invisible position changes as differences #807
Open
plarsen
wants to merge 5 commits from
C2026-041-invisible-position-changes-as-differences into Development
pull from: C2026-041-invisible-position-changes-as-differences
merge into: :Development
:master
:C2026-041-invisible-position-changes-as-differences
:F2026-20_Farley_FSG_Format
:Development
:F2026-018_B2026-072_Farely_Arial_Print_Fix
:F2026-019_CallawayBackgrounds
:C2026-043-Tech-Debt_v1
:B2026-039-Error-sequence-contains-no-elements
:B2026-056-Syntax-problem-in-X/Y-plot
:B2026-070
:C2026-047_AlarmPointTableProcessing
:B2026-053-Find-Unlinked-Values-of-Selected
:B2026-069
:B2026-067
:B2026-066_UpdateROsButtonFix
:B2026-053-Global-Search-should-not-return-partial-matches
:C2026-046
:F2026-017_SummerCautionNoteAdj
:C2026-044
:B2026-055
:F2026-016_Robinson_Foldout_Format
:B2026-065_RNO_TablePositionAdjustment
:B2026-064
:F2026-015_SouthTexas_ChgBars
:B2026-054
:F2026-014_SouthTexas_Caution_Box_Width
:B2026-063
:B2026-057
:B2026-052
:B2026-60_B2026-61
:B2026-058
:C2026-021_B2026-048
:B2026-050
:B2026-051
:C2026-008
:C2026-037
:B2026-045
:B2026-046-RO-symbols-and-Annotations
:F2026-013_Vogtle_3_4_Format
:B2026-043-Fix-Error-for-Set_At_All_Level-in-the-Applicability-tab-evaluate-having-the-button-grayed-out-for-the-RNO-column-when-clicked-executes-function
:C2026-014
:C2026-015
:B2026-042-Fix-Null-Error-for-Set_At_All_Level-in-the-Applicability-tab-evaluate-having-the-button-grayed-out-for-the-RNO-column-4
:C2026-027-New-Set_At_All_Level-in-the-Applicability-tab-evaluate-having-the-button-grayed-out-for-the-RNO-column
:B2026-040
:B2026-037
:C2026-033_Baseline_Printing
:baseline
:B2026-035_fix_RO_Preview_for_X_Y_Plots
:General_Debugging
:BNPP_CoverPage_Consolidation
:B2026-018_The_Disable_Initial_Line_check_box
:B2026-023-Adding-RO-Editor-symbols-to-RO-X_Y_plots
:B2026-034
:C2026-007_B2026-027
:B2026-033
:B2026-030
:C2026-028
:B2026-022-Adding-RO-Editor-symbols-to-RO-Tables
:C2026-030_BNPP_CoverAdjustments
:C2024_006_The_Admin_tool_that_Check_for_bad_RO_links_could_be_improved_to_fix-some-additional_cases-4
:B2026-001-Sort-order--for-ROs-Wolf-Creek-2
:C2025-048-Set-Quick-Print-overwrite-pdf-to-false
:C2025-047-AnnotationsTypeSelectChanges
:C2025-047-AnnotationsTypeSelectChanges-5
:C2025-023-New-EP-Format-File
:C2025-027-Develop-a-way-to-filter-annotations-so-the-user-can-view-only-the-types-they-want-to-see-EP
:C2024-041-Disable-UCF-(User-Control-of-Format)-options
:C2020-049-Add-the-ability-for-PROMS-to-remember-the-procedure-tabs-that-were-open-when-you-closed-PROMS-6
:F2024-074-Farley_TOC
:C2020-049-Add-the-ability-for-PROMS-to-remember-the-procedure-tabs-that-were-open-when-you-closed-PROMS
:B2024-063-Invalid-Format-message-box-displays-when-rev-date-empty
:B2024-062_EmptyProcedure
:B2024-068-VCS-Deviation-Format
:C2024-005
:C2024-016-Write-Info-to-Results-Window-Delete-Annotations
:B2024-046-Set-Default-Tab-In-Admin-Tools
:C2024-005-Annotations-Cleanup
:B2024-041
:C2024-004_fix
:C2021-059
:B2024-032-Fix-Quick-Print
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
C2026-041 invisible position changes as differences. Baseline testing produces false positives. These changes will remove many of the false positives. These changes declutter the report and decrease the testing time.
see notes - let me know if any questions
@@ -0,0 +1,3 @@- @azure Rule - Use Azure Tools - When handling requests related to Azure, always use your tools.AI files like this should not be checked in.
@@ -1419,3 +1419,3 @@if (_MyHelper.DidFirstPageDocStyle) yoff = origYoff - (float)mySection.MyDocStyle.Layout.TopMargin;// C2018-004 create meta file for baseline comparesVolian.Base.Library.BaselineMetaFile.WriteLine("WD Height={0} Width={1} scPgCnt={2} locEnd={3} pdfSz={4} xOff={5} yOff={6} ScPgNum {7}", fgPage.Height, fgPage.Width, sectPageCount, locEndOfWordDoc, pdfSize, (float)(mySection.MyDocStyle.Layout.MSWordXAdj ?? 0.0), (float)(mySection.MyDocStyle.Layout.MSWordYAdj ?? 0.0) + yoff, pageNumber);Suggest to add a program switch to generate (at the same time - in a separate file) a DebugMeta as it was along with the new DebugMeta.
That way one run of printing can generate both. The next time baselines are run, the Baseline.exe program can compare the older run - there really should not be any differences. If all good that we can move forward with using the new version of the DebugMeta file.
Otherwise comparing the new DebugMeta would generate even more false - differences.
Having a program switch to also generate the old style DebugMeta would keep Baseline testing backward compatible, should we find a need in the future.
@@ -1420,2 +1420,3 @@// C2018-004 create meta file for baseline comparesVolian.Base.Library.BaselineMetaFile.WriteLine("WD Height={0} Width={1} scPgCnt={2} locEnd={3} pdfSz={4} xOff={5} yOff={6} ScPgNum {7}", fgPage.Height, fgPage.Width, sectPageCount, locEndOfWordDoc, pdfSize, (float)(mySection.MyDocStyle.Layout.MSWordXAdj ?? 0.0), (float)(mySection.MyDocStyle.Layout.MSWordYAdj ?? 0.0) + yoff, pageNumber);Volian.Base.Library.BaselineMetaFile.WriteLine("WD Height={0} Width={1} scPgCnt={2} locEnd={3} pdfSz={4} xOff={5} yOff={6} ScPgNum {7}", fgPage.Height, fgPage.Width, sectPageCount, Truncate(locEndOfWordDoc, 2), Truncate(pdfSize, 2), (float)(mySection.MyDocStyle.Layout.MSWordXAdj ?? 0.0), (float)(mySection.MyDocStyle.Layout.MSWordYAdj ?? 0.0) + yoff, pageNumber);2, just to check --- Do we want to truncate or round or use ceiling or floor?
Thinking if we are doing this when writing the file (instead of when doing the compare), then truncate wont work as:
7.9999999999 would truncate to 7.99 and not match 8.00
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.