In LibreOfficeDev Draw (7.5), the program crashes everytime I click on what looks like a cross between the horizontal and vertical rulers. There should be no event for left-clicking on this area, when the mouse pointer is not on the rulers. Rulers have to be displayed in View for this issue to be reproduced. It cannot be reproduced in LibreOffice 7.4.1.
This bug also occurs in LibreOffice Impress.
Created attachment 181888 [details] bt with debug symbols On pc Debian x86-64 with master sources updated today, I could reproduce this.
I confirm I don't reproduce this on LO Debian package 7.4.0.3
With this straightforward patch, I don't reproduce the crash: diff --git a/svx/source/sdr/overlay/overlaytools.cxx b/svx/source/sdr/overlay/overlaytools.cxx index d2f01adaa16c..3bb91506033b 100644 --- a/svx/source/sdr/overlay/overlaytools.cxx +++ b/svx/source/sdr/overlay/overlaytools.cxx @@ -236,7 +236,7 @@ sal_uInt32 OverlayStaticRectanglePrimitive::getPrimitive2DID() const rContainer.push_back( new PolygonMarkerPrimitive2D( - std::move(aPolygon), + aPolygon, getRGBColorA(), getRGBColorB(), getDiscreteDashLength())); Regression from: a447b5b6d1114111c92e5e3e3f3ae83d4c2f3bca loplugin:moveit Noel: any thoughts here? Does the one-line proposed patch seem ok to you?
Julien, that looks right
(In reply to Noel Grandin from comment #5) > Julien, that looks right Thank you for the quick feedback, I put you in cc of https://gerrit.libreoffice.org/c/core/+/138564 as you may have seen.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/3f1c90beafdfd5389e6e22eabca30f9429530ce0 tdf#150502: crash after clicking between the horizontal and vertical rulers It will be available in 7.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.