https://bugs.documentfoundation.org/show_bug.cgi?id=97180
--- Comment #10 from ady <[email protected]> --- Still repro: Version: 7.4.5.1 (x64) / LibreOffice Community Build ID: 9c0871452b3918c1019dde9bfac75448afc4b57f CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: default; VCL: win Locale: en-US (es_AR); UI: en-US Calc: CL Steps (case A): 1. New Calc 2. A1: -(foobar) [ENTER] > parentheses are bold; this boldness is displayed immediately after the second parentheses is typed-in, not before. 3. A1: Click on the formula bar at the right-side of the closing parentheses (do _not_ use F2). 4 You might notice that the "B" icon is not indicating that the parentheses is bold. Move around the characters, back and forth if you need to. Press [ESC] without editing anything. 5. Click again on the formula bar at the right-side of the closing parentheses (do _not_ use F2). After a split second, note that the "B" icon shows that the ")" is bold. Move the cursor around and it is clear that both parentheses are bold whereas the rest of the text is not. Don't press [ENTER] yet. 6. Edit the text from "foobar" to "foo". Don't press [ENTER] yet. 7. Move the cursor to the end of the inputwin, to the right-side of the closing parentheses. Note the "B" icon is still "on". Now press [ENTER]. Note that the bold attribute remains for both parentheses. 8. You can now edit the cell, whether by clicking on the formula bar or by F2; the parentheses are left as bold. The only remedy is to either select each and make them regular (i.e. _select_ one parentheses, click on the "B" icon twice or press [CTRL]+[B] twice, repeat for the other parentheses), or alternatively delete both parentheses, press [ENTER] and add them again. Please note that in step 3 above, I do not use F2. Now you can repeat the whole procedure, except that in step 3 use F2 to enter into edit mode, instead of using the mouse – lets call this case B. Use then only the arrows in your keyboard to edit the text from "foobar" to "foo" and press [ENTER]. In case B, the parentheses are no longer bold. They were bold initially, as if you were typing a possible formula. This is OK, until the first [ENTER], when the cell is no longer considered a potential formula but an established text. Unless the user sets the bold attribute to a character, it should not remain bold after pressing [ENTER]. In case A, the parentheses, as text/characters, have the bold attribute fixed, so it is as if you have manually already set this attribute to that characters. But this attribute seems to be assigned to the parentheses at the moment when clicking on the formula bar, which is the difference between case A and case B, because before that moment, case B shows that the bold attribute was not still assigned (or, alternatively, it gets unassigned). There are 2 more tests, and that is with: Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 0484a9a3f5e2ecb678f6fb41bbb251529e89c00d CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: en-US (es_AR); UI: en-US Calc: CL threaded Built 2023.03.07 ...in which the apostrophe plays a role. With the mouse (as in case A above), all is the same. With F2, an apostrophe is eventually shown in the formula bar. You have to edit the cell and press [ENTER] in order for the apostrophe to be displayed in the inputwin. Although I have not tested with LO 7.5, I guess this will happen in that version too, because the modified behavior was introduced for that version. -- You are receiving this mail because: You are the assignee for the bug.
