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 698867 - missing font styles in properties dialog
missing font styles in properties dialog
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Charting
git master
Other Linux
: Normal minor
: ---
Assigned To: Jean Bréfort
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2013-04-25 16:47 UTC by Andreas J. Guelzow
Modified: 2013-04-26 06:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Same file with Oink (342.00 KB, application/vnd.oasis.opendocument.spreadsheet)
2013-04-25 19:10 UTC, Morten Welinder
  Details
Makes things work (454 bytes, patch)
2013-04-25 19:30 UTC, Jean Bréfort
committed Details | Review

Description Andreas J. Guelzow 2013-04-25 16:47:41 UTC
Open the file attached to bug #698388.
Open the properties dialog of the chart on the 'desktops' tab.
Select the legend.
Choose the font tab.

Note that there is no font style given. In fact chossing the Font style combo reveals that no styles are available for this font.

Now trigger the font name selector and choose the same font that is currently chosen (Sans). Note that font styles are suddenly available.
Comment 1 Morten Welinder 2013-04-25 18:12:13 UTC
I see font Arial with style Regular there.
Comment 2 Jean Bréfort 2013-04-25 18:43:11 UTC
I'm seeing the same thing than Andreas. I don't have any MS font installed.
Comment 3 Andreas J. Guelzow 2013-04-25 18:45:56 UTC
So the input is likely setting a font that does not exist on the system, and the font selector gets confused...
Comment 4 Morten Welinder 2013-04-25 18:59:10 UTC
I guess I can hand edit the file to use font "Oink" or something like that.
Comment 5 Morten Welinder 2013-04-25 19:10:32 UTC
Created attachment 242457 [details]
Same file with Oink

With "Oink" I see the same thing as you see.

(Note: not really a valid ods file, just a valid zip file.  We don't care.)
Comment 6 Jean Bréfort 2013-04-25 19:30:05 UTC
Created attachment 242459 [details] [review]
Makes things work

Looks like the widget content is not properly initialized.
Comment 7 Morten Welinder 2013-04-26 00:02:36 UTC
Patch certainly looks harmless.
Comment 8 Jean Bréfort 2013-04-26 06:30:44 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.