After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 163410 - Bold button should make the whole cell bold
Bold button should make the whole cell bold
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
git master
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
: 365698 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-01-09 03:24 UTC by j.gnome
Modified: 2010-07-19 05:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test file (1.79 KB, application/octet-stream)
2005-01-09 03:28 UTC, j.gnome
Details

Description j.gnome 2005-01-09 03:24:56 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
Comment 1 j.gnome 2005-01-09 03:28:39 UTC
Created attachment 35702 [details]
test file

See attached test file. I think these might all be symptoms of the same bug.
Comment 2 Morten Welinder 2005-01-10 15:50:28 UTC
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?
Comment 3 Andreas J. Guelzow 2005-03-25 03:27:21 UTC
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. 
Comment 4 Morten Welinder 2005-03-25 19:18:48 UTC
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...
Comment 5 Andreas J. Guelzow 2005-03-25 20:49:41 UTC
Hmm, interesting. I have to have a look at the code. I would have expected this
to simplify the code.
Comment 6 Andreas J. Guelzow 2009-05-07 22:53:18 UTC
*** Bug 365698 has been marked as a duplicate of this bug. ***
Comment 7 Andreas J. Guelzow 2010-07-19 05:06:41 UTC
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.