[Bug 1946794] Re: unity-tweak-tool: GLib-GIO-ERROR

Ubuntu Foundations Team Bug Bot 1946794 at bugs.launchpad.net
Sat Dec 4 20:23:10 UTC 2021


The attachment "more new font schemas changes" seems to be a debdiff.
The ubuntu-sponsors team has been subscribed to the bug report so that
they can review and hopefully sponsor the debdiff.  If the attachment
isn't a patch, please remove the "patch" flag from the attachment,
remove the "patch" tag, and if you are member of the ~ubuntu-sponsors,
unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1946794

Title:
  unity-tweak-tool:  GLib-GIO-ERROR

Status in unity-tweak-tool package in Ubuntu:
  Confirmed

Bug description:
  unity-tweak-tool_0.0.7+-0ubuntu9 is giving an GLib-GIO-ERROR:

  (unity-tweak-tool:8927): GLib-GIO-ERROR **: 15:26:30.421: Settings schema 'org.gnome.desktop.interface' does not contain a key named 'antialiasing'
  Trace/breakpoint trap (core dumped)

  This is probably coming from /usr/lib/python3/dist-packages/UnityTweakTool/section/spaghetti/theme.py which is still referencing "antialiasing" and "hinting" instead of "font-aliasing"
  and "font-hinting" as in the new schema in desktop.interface:

  diff theme.py theme.py.fixed 
  166c166
  <         if gsettings.antialiasing.get_string('antialiasing') == 'none':
  ---
  >         if gsettings.antialiasing.get_string('font-antialiasing') == 'none':
  168c168
  <         elif gsettings.antialiasing.get_string('antialiasing') == 'grayscale':
  ---
  >         elif gsettings.antialiasing.get_string('font-antialiasing') == 'grayscale':
  170c170
  <         elif gsettings.antialiasing.get_string('antialiasing') == 'rgba':
  ---
  >         elif gsettings.antialiasing.get_string('font-antialiasing') == 'rgba':
  174c174
  <         if gsettings.antialiasing.get_string('hinting') == 'none':
  ---
  >         if gsettings.antialiasing.get_string('font-hinting') == 'none':
  176c176
  <         elif gsettings.antialiasing.get_string('hinting') == 'slight':
  ---
  >         elif gsettings.antialiasing.get_string('font-hinting') == 'slight':
  178c178
  <         elif gsettings.antialiasing.get_string('hinting') == 'medium':
  ---
  >         elif gsettings.antialiasing.get_string('font-hinting') == 'medium':
  180c180
  <         elif gsettings.antialiasing.get_string('hinting') == 'full':
  ---
  >         elif gsettings.antialiasing.get_string('font-hinting') == 'full':

  Sorry for the late bug report but got tied up working on gtk3-nocsd
  for GTK4.

  If you don't have a Unity desktop to test on and want to test your changes
  before commit I have a 21.10 machine setup with Unity for testing purposes
  and will be glad to test it for you if needed.

  Thanks,
  Brett "WolfMan" Bogert
  bbogert24 at gmail.com

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-tweak-tool/+bug/1946794/+subscriptions




More information about the Ubuntu-sponsors mailing list