Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avoid non-standard b3dm data format problems #60258

Closed
wants to merge 1 commit into from

Conversation

yz271544
Copy link

Description

print 3d layout bug:
1 crash

2 gdb

Fixes #60256

@github-actions github-actions bot added this to the 3.42.0 milestone Jan 24, 2025
@yz271544
Copy link
Author

After the modification is completed, it runs normally

3 test-success

@@ -185,6 +185,10 @@ void QgsTextDocumentMetrics::finalizeBlock( QgsTextDocumentMetrics &res, const Q
else
{
// html vertical margins between blocks collapse and take the size of the highest margin:
if (documentMetrics.verticalMarginsBetweenBlocks.isEmpty()) {
qWarning() << "verticalMarginsBetweenBlocks is empty!";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, replace this with the QgsDebugMsgLevel()

Copy link
Collaborator

@nyalldawson nyalldawson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also see #60256 (comment) -- this should not be merged before a reproducible test case is available.

@nyalldawson
Copy link
Collaborator

The correct fix is probably #60423 -- can you test and confirm?

@yz271544
Copy link
Author

yz271544 commented Feb 4, 2025

Yes, there is no problem testing with #60423 scheme. I turned off #60258

@yz271544 yz271544 closed this Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cresh on QgsTextDocumentMetrics::calculateMetrics for save 3d layout
3 participants