GNOME Bugzilla – Bug 163410
Bold button should make the whole cell bold
Last modified: 2010-07-19 05:06:41 UTC
1. Type "abaaa" in cell A1 2. Make "b" bold 3. Select A1, make it bold What happens: Only "ab" is bold Expected: The whole cell should be bold
Created attachment 35702 [details] test file See attached test file. I think these might all be symptoms of the same bug.
I am not so sure this is a bug at all, at least not in the function of applying the cell-level format. For A1 what we have is: * "a" with no attributes. * "b" with bold=1. * "aaaaa" with bold=0. The external format applies to the part of the cell that does not specify bold- ness itself, i.e., only to the first "a". There are two ways of entering this: A: Enter "abaaaaa", then select "b" and press bold. B: Enter "a" Ctrl-B "b" Ctrl-B "aaaaa". Method B given the layout you have. Using method "A", the final "aaaaa" does not have any boldness set and thus changes to bold if you set the cell to bold. Jody: that's a mess. What do we want?
In my opinion setting a cell to bold should bolden all characters in the cell. SO in effect we should only have a single level of styling.
Jody and I agreed earlier that doing just that was the right thing to do. Then we looked at the ramifications in the undo code and put it on the back burner...
Hmm, interesting. I have to have a look at the code. I would have expected this to simplify the code.
*** Bug 365698 has been marked as a duplicate of this bug. ***
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report. Note that the problem as described in this report disappeared on its own. (I suspect due to a slightly changed behaviour in pango). What was fixed now is that when removing the bold attribute part of the cell stayed bold.