Description: This bug is about an assertion so affects only developers and debug build, but might point out a bigger problem. When I push enter after the position of a form control LO crashes, because of an assertion. See reproducer steps, it happens only after selecting the form control in design mode. Steps to Reproduce: 1. Open attached test document 2. Enable design mode (Forms -> Design Mode) 3. Click on the label control (it becomes selected) 4. Click out of the control on the right side of it -> control becomes deselected and the cursor appears after the control 5. Push enter -> crash Actual Results: Assertion / crash Expected Results: Should not assert / crash Reproducible: Always User Profile Reset: No Additional Info:
Created attachment 149017 [details] Test document with a label form control
The assertion was added in this commit: https://cgit.freedesktop.org/libreoffice/core/commit/?id=c5abcfdf0c2e98c8f3445a92dd2d71eab23a7268
I cannot reproduce the bug. Version: 6.3.0.0.alpha0+ Build ID: b6b28931435e44aca92b8c0e1659f701e3ed1a87 CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; TinderBox: Win-x86@42, Branch:master, Time: 2019-01-30_06:57:04 Locale: en-US (en_US); UI-Language: en-US Calc: threaded
Could not repro. Was running a build from TB39, which is supposed to be a debug build.
I found the issue on linux (openSUSE). Maybe it's platform specific issue, that's why you can't repro it on Windows.
Created attachment 149690 [details] bt with debug symbols On pc Debian x86-64 with master sources updated today + enable-dbgutil, I had an assert.
fixed on master
Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/468ac1bdf1dcdc1f0d679ae2a7bf75102333c0af%5E%21 tdf#123259 sw_redlinehide: fix reanchoring of drawing objects It will be available in 6.3.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.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-6-2": https://git.libreoffice.org/core/+/214e6ed5286566e689a4ef13a9115e2ad38fff57%5E%21 tdf#123259 sw_redlinehide: fix reanchoring of drawing objects It will be available in 6.2.3. 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.