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 126.96.36.199
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
@@ -236,7 +236,7 @@ sal_uInt32 OverlayStaticRectanglePrimitive::getPrimitive2DID() const
Regression from: a447b5b6d1114111c92e5e3e3f3ae83d4c2f3bca
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":
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:
Affected users are encouraged to test the fix and report feedback.