Public bug reported:

When I did doble-click on top of a font the font viewer is not open.

When I run from the console the command `gnome-font-viewer in-mono.otf` it 
shows this error:
⇒  gnome-font-viewer in-mono.otf 

(gnome-font-viewer:3639): GLib-GObject-WARNING **: invalid (NULL)
pointer instance

(gnome-font-viewer:3639): GLib-GObject-CRITICAL **:
g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)'
failed

(gnome-font-viewer:3639): Gtk-CRITICAL **: gtk_widget_get_scale_factor: 
assertion 'GTK_IS_WIDGET (widget)' failed
[1]    3639 segmentation fault (core dumped)  gnome-font-viewer in-mono.otf

If I try with sudo throws this other error:
⇒  sudo gnome-font-viewer in-mono.otf
No protocol specified
Unable to init server: Could not connect: Connection refused

(gnome-font-viewer:3609): Gtk-WARNING **: cannot open display: :0

I tried with different kind of fonts (ttf, otf ...)

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-font-viewer 3.24.0-0ubuntu1
ProcVersionSignature: Ubuntu 4.11.0-10.15-generic 4.11.8
Uname: Linux 4.11.0-10-generic x86_64
ApportVersion: 2.20.6-0ubuntu4
Architecture: amd64
CurrentDesktop: GNOME
Date: Tue Jul 25 23:19:53 2017
InstallationDate: Installed on 2017-07-25 (0 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170723)
SourcePackage: gnome-font-viewer
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gnome-font-viewer (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug artful wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1706452

Title:
  Gtk error when I try to open and isntall a new font

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-font-viewer/+bug/1706452/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to