Rusty:
I found a work around about this. Moko use composite window to
draw alpha indicator bar. Moko call cairo_paint_with_alpha(cr, 1.0) to
draw original child window context. But at Hardy+ppa version, this
function doesn't work rightly. So we can't see children widget.
But when change to cairo_paint_with_alpha(cr, 0.99), everything
is okay except performance has been dropped.
Scrollable GtkWidget(such as gtkiconview and gtktreeview) use
two gdkwindow(window and bin_window). Bin_window like large back window,
at which all contexts will paint. "window" like a viewport and is parent
window of bin_window. By moving bin_window position, scrolled is
implemented.
When set "window" composite, cairo_pain_with_alpha(1.0) will no
get context of bin_window that is child of "window". So paint nothing.
I have verified cairo_pain_with_alpha(1.0) can paint composited
window that has not children. But fail paint composited window that has
children.
Best regards
Frank Li
-----Original Message-----
From: Li, Frank
Sent: Thursday, March 06, 2008 9:13 AM
To: Lynch, Rusty; Moblin Devel; Ubuntu Mobile
Subject: RE: Moko finger scroll widget is broken in Hardy PPA
I will investigate this problem.
Best regards
Frank Li
-----Original Message-----
From: Lynch, Rusty
Sent: Thursday, March 06, 2008 8:40 AM
To: Moblin Devel; Ubuntu Mobile
Cc: Li, Frank
Subject: Moko finger scroll widget is broken in Hardy PPA
The moko finger scroll widget that is used in many different places
(moblin-media in various views, moblin-applets in various applets, etc)
has some nasty runtime quirks when used with a hardy-snapshot + ppa
built image.
For example, pick any instance of a scroll widget (like if you import a
bunch of photos, and then click on the 'Photo' icon from the
homescreen), and then try to scroll to the end of the list (such that
the list would normally bounce). Sometimes I see the application
segfault, and other times i just see all the content inside the
scrollable widget disappear.
Has anyone already noticed this? Is there already a debugging effort
happening to root cause the issue? The exact same moko code on gutsy
works just fine.
--rusty
--
Ubuntu-mobile mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile