Rusty:
I guess X more. But I can't make sure that is X problem.
Downgrade xorg from hardy and upgrade xorg from gusty will make launch X
fail.
Do you know who is X expert?
Best regards
Frank Li
-----Original Message-----
From: Rusty Lynch [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2008 1:35 PM
To: Li, Frank
Cc: Lynch, Rusty; Moblin Devel; Ubuntu Mobile
Subject: Re: [Moblin Dev] RE: Moko finger scroll widget is broken in
Hardy PPA
On Wed, Mar 12, 2008 at 12:43 AM, Li, Frank <[EMAIL PROTECTED]> wrote:
> 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.
Instead of making a work around that negatively effects performance, I
would rather fix the root cause.
Have you chatted with the X guys about this? Does the bug showup with
newer cairo bits?
--rusty
--
Ubuntu-mobile mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile