Thanks to Basilio's suggestion and Adrian's test with a new user profile I was spurred into investigating this some more.
In System > Preferences > Advanced Desktop Effects Settings
In the Utility section, disabling "Resize Info" disables the effect.
With "Resize Info" enabled I played with the settings and discovered that what is happening is that the size info is beinf drawn as black text on a black background.
As soon as I altered the 'Text Color' setting to a colour that contrasts with black, the characters are visible, although the inverted display looks 'kludgy' and not like it used to be.
I've trawled through the changes just prior to the first time I noticed the issue for compiz-fusion-plugins-main and pango1.0-0, and been investigating cairo & pango since the crux of the issue is in
It could be that font description or something related to the drawing mode used is causing the background of the glyphs to be drawn in pango_cairo_show_layout(). It is possible this may end up being caused by a change in Pango or Cairo that somehow upsets Compiz.
Thanks to Basilio's suggestion and Adrian's test with a new user profile I was spurred into investigating this some more.
In System > Preferences > Advanced Desktop Effects Settings
In the Utility section, disabling "Resize Info" disables the effect.
With "Resize Info" enabled I played with the settings and discovered that what is happening is that the size info is beinf drawn as black text on a black background.
As soon as I altered the 'Text Color' setting to a colour that contrasts with black, the characters are visible, although the inverted display looks 'kludgy' and not like it used to be.
I've trawled through the changes just prior to the first time I noticed the issue for compiz- fusion- plugins- main and pango1.0-0, and been investigating cairo & pango since the crux of the issue is in
compiz- fusion- plugins- main/src/ resizeinfo. c::updateTextLa yer ()
where it does:
cr = is->textLayer.cr;
/* Clear the context. */ set_operator (cr, CAIRO_OPERATOR_ CLEAR); set_operator (cr, CAIRO_OPERATOR_ OVER);
cairo_save (cr);
cairo_
cairo_paint (cr);
cairo_restore (cr);
cairo_
asprintf (&info, "%d x %d", xv, yv);
font = pango_font_ description_ new (); create_ layout (is->textLayer.cr);
layout = pango_cairo_
pango_ font_descriptio n_set_family (font,"Sans"); font_descriptio n_set_absolute_ size (font, 12 * PANGO_SCALE); font_descriptio n_set_style (font, PANGO_STYLE_ NORMAL) ; font_descriptio n_set_weight (font, PANGO_WEIGHT_BOLD);
pango_
pango_
pango_
pango_ layout_ set_font_ description (layout, font); layout_ set_ellipsize (layout, PANGO_ELLIPSIZE _END); layout_ set_text (layout, info, -1);
pango_
pango_
pango_ layout_ get_pixel_ size (layout, &w, &h);
cairo_move_to (cr, POPUP_WIDTH / 2.0f - w / 2.0f, POPUP_HEIGHT / 2.0f - h / 2.0f);
RESIZE_
RESIZE_
pango_ layout_ set_width (layout, RESIZE_POPUP_WIDTH * PANGO_SCALE); cairo_update_ layout (cr, layout);
pango_
cairo_ set_source_ rgba (cr,
*(color) / (float)0xffff,
*(color + 1) / (float)0xffff,
*(color + 2) / (float)0xffff,
*(color + 3) / (float)0xffff);
pango_ cairo_show_ layout (cr, layout);
pango_ font_descriptio n_free (font);
g_object_unref (layout);
It could be that font description or something related to the drawing mode used is causing the background of the glyphs to be drawn in pango_cairo_ show_layout( ). It is possible this may end up being caused by a change in Pango or Cairo that somehow upsets Compiz.