Bug 32062 - Selecting new formula element overwrites selected area.
Summary: Selecting new formula element overwrites selected area.
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86 (IA32) Linux (All)
: high enhancement
Assignee: Marcos Souza
URL: https://gerrit.libreoffice.org/#/c/3982/
Whiteboard: target:5.2.0
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-02 13:49 UTC by Rūdolfs
Modified: 2016-09-25 11:18 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rūdolfs 2010-12-02 13:49:17 UTC
When a fragment of formula has to be inserted in a formula element, it is intuitive to select the fragment and to select the formula element. It is expected that the selected fragment is written in the placeholder (if there are many placeholders, the first would be reasonable default).

For example, if there is formula "sqrt{x}" and we want to place +- sign before it, selecting the "sqrt{x}" and then selecting "+- Sign" in the formula elements should result in "+-sqrt{x}" but it results in "+-<?>"
Comment 1 Jeffrey 2011-06-14 01:59:35 UTC
Reproduced in LibreOffice 3.4  340m1(Build:12) on OpenSuse.

Seems like some other problems also occur when you call the fraction division button immediately and when you leave the accent marks in the formula elements (so far only this case has failed for my version of Formula: +-{<sqrt{<x>}>} which causes the program to terminate immediately.) First is a SIGSEV, second one I haven't looked yet.
Comment 2 Björn Michaelsen 2011-12-23 11:33:14 UTC Comment hidden (obsolete)
Comment 3 Florian Reisinger 2012-03-25 00:22:46 UTC
Changed version form 3.3.0beta2 to Master and changed importance...

Florian
Comment 4 Korrawit Pruegsanusak 2012-03-30 04:50:10 UTC
(In reply to comment #3)
> Changed version form 3.3.0beta2 to Master and changed importance...

Thanks, but I change the version back to 3.3.0beta2. The version field is the *earliest* version the bug is found.

See http://wiki.documentfoundation.org/BugReport_Details#Version for more details.
Comment 5 José Guilherme Vanz 2013-05-28 15:51:16 UTC
This bug has a patch that try fix it. I put the URL in the URL field
Comment 6 José Guilherme Vanz 2013-11-02 22:08:43 UTC
Can we close the bug?
Comment 7 QA Administrators 2014-10-23 17:31:39 UTC Comment hidden (obsolete)
Comment 8 Marcos Souza 2015-12-15 20:44:49 UTC
I sent a patch that fixes this problem: https://gerrit.libreoffice.org/#/c/20729/1

Can someone test it?
Comment 9 Commit Notification 2015-12-24 19:36:27 UTC
Marcos Paulo de Souza committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=fc47ee6fbf67781acd07549c40a75c9272572085

Fix tdf#32062: Math overwrites selected area when click on element

It will be available in 5.2.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 10 Commit Notification 2015-12-29 13:50:27 UTC
Marcos Paulo de Souza committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=79a1ba61e4753758f66ba25b128aeff96ea716c9

tdf#32062: Add test

It will be available in 5.2.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 11 Xisco Faulí 2016-09-15 20:48:25 UTC
Hi,
Is this bug fixed?
If so, could you please close it as RESOLVED FIXED?
Regards
Comment 12 Marcos Souza 2016-09-25 11:18:05 UTC
Yes, it's fixed. Tested in 5.3 (master branch) today.