Switching screens causes flicker and (sometimes) crash

Bug #176262 reported by wolfger
4
Affects Status Importance Assigned to Milestone
MeMaker
Fix Released
Undecided
encompass

Bug Description

Steps to reproduce:
1) run memaker from cli
2) create an avatar
3) use mouse scroll wheel over KDE's pager to switch to a different desktop, then repeat process to go back to memaker's desktop
4) See avatar flicker in and out of existence. In the end it doesn't show again until you change something.
5) the first time I experience this, memaker crashed with the following command line output:

memaker.py:188: PangoWarning: Unable to open font file /usr/share/fonts/truetype/arphic/uming.ttf for font 文鼎PL細上海宋Uni 148.203125, falling back to /var/lib/defoma/fontconfig.d/D/DejaVu-Sans.ttf

  self.svgHandle.render_cairo(self.finalUpdate)
memaker.py:188: PangoWarning: Unable to open font file /var/lib/defoma/fontconfig.d/K/KochiGothic-Regular.ttf for font Kochi Gothic 148.203125, falling back to /var/lib/defoma/fontconfig.d/D/DejaVu-Sans.ttf

  self.svgHandle.render_cairo(self.finalUpdate)
memaker.py:188: PangoWarning: Unable to open font file /var/lib/defoma/fontconfig.d/D/Dotum-Regular.ttf for font Baekmuk Dotum 148.203125, falling back to /var/lib/defoma/fontconfig.d/D/DejaVu-Sans.ttf

  self.svgHandle.render_cairo(self.finalUpdate)

Pango-ERROR **: Unable to open font file /var/lib/defoma/fontconfig.d/D/DejaVu-Sans.ttf for font 文鼎PL細上海宋Uni 148.203125, exiting

aborting...
Aborted (core dumped)

Revision history for this message
encompass (encompass) wrote :

Very interesting.
Can you tell me if you are using any no engish fonts on your system?
And I presumer your running Kubuntu 7.10?

Revision history for this message
wolfger (wolfger) wrote :

Only English fonts. I am running Kubuntu 7.10
I have found that I can also reproduce the flicker simply by minimizing memaker or by switching focus to a different window which overlaps the memaker window. Flicker does not occur if the windows aren't overlapping. The duration of the flicker seems to be directly related to the number of features that have been drawn. The flicker itself produces no messages in the command window, and I have not been able to recreate the crash.

Revision history for this message
wolfger (wolfger) wrote :

Immediately after saying I couldn't recreate the crash, I switched desktops again and it crashed. The error output is different this time:

memaker.py:188: PangoWarning: Unable to open font file /usr/share/fonts/truetype/arphic/uming.ttf for font 文鼎PL細上海宋Uni 148.203125, falling back to /var/lib/defoma/fontconfig.d/D/DejaVu-Sans.ttf

  self.svgHandle.render_cairo(self.finalUpdate)
memaker.py:188: PangoWarning: Unable to open font file /var/lib/defoma/fontconfig.d/K/KochiGothic-Regular.ttf for font Kochi Gothic 148.203125, falling back to /var/lib/defoma/fontconfig.d/D/DejaVu-Sans.ttf

  self.svgHandle.render_cairo(self.finalUpdate)
memaker.py:188: PangoWarning: Unable to open font file /var/lib/defoma/fontconfig.d/D/Dotum-Regular.ttf for font Baekmuk Dotum 148.203125, falling back to /var/lib/defoma/fontconfig.d/D/DejaVu-Sans.ttf

  self.svgHandle.render_cairo(self.finalUpdate)
memaker.py:188: PangoWarning: Error loading GPOS table 64
  self.svgHandle.render_cairo(self.finalUpdate)
No fonts found; this probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on http://fontconfig.org

Revision history for this message
encompass (encompass) wrote :

Hmm.. I think this is a bug that only happens in KDE. As I have tried and can't get this problem on my computer, ubuntu, with no chance.
I would presume that this is an error on the side of pango, or closer, cairo.

Revision history for this message
Christopher Denter (dennda) wrote :

@ encompass: No.
That bug has happened to me too. I am on GNOME with Compiz and/or Metacity.
Sometimes at random, sometimes when I drag the window. It doesn't redraw properly, I take it.

Changed in memaker:
assignee: nobody → encompass
status: New → Confirmed
Revision history for this message
wolfger (wolfger) wrote :

@dennda: Sounds like we have different (although possibly related) issues. I will see if I can get a movie file of what I am seeing, since it is hard to explain. Tonight or this weekend. (can somebody recommend a good screen capture program?)

Revision history for this message
Andrew (and471) wrote :

yep I can confirm it happens on Gnome with metacity (gtk-recordmydesktop is a good screencapture app)

Revision history for this message
Pete Savage (petesavage) wrote :

This is all linked to the cairo redraw problem. Trying to figure that out as we speak. It seems the redrawing isn't happening even after the expose-event. I'd fudged it......wrongly.

Revision history for this message
wolfger (wolfger) wrote :

video of the issue

Revision history for this message
encompass (encompass) wrote :

Is it fixed now? Hopefully I can close this bug. :/

Revision history for this message
wolfger (wolfger) wrote :

Close away.

Andrew (and471)
Changed in memaker:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.