GtkLayout with Moko enabled cannot show indicator

Bug #186956 reported by yanglei
2
Affects Status Importance Assigned to Milestone
Moblin UI Framework
Fix Released
Medium
yanglei

Bug Description

Symptoms:
The indicator cannot diplayed.

codes:
---------------------------
    gtk_widget_show(moko);
    g_object_set(G_OBJECT(moko), "hindicator_mode", MOKO_FINGER_SCROLL_INDICATOR_MODE_ALPHA);
    g_object_set(G_OBJECT(moko), "vindicator_mode", MOKO_FINGER_SCROLL_INDICATOR_MODE_ALPHA);

    g_object_set(G_OBJECT(moko), "spring_color", 0xFF0000);
    GtkWidget * layout = gtk_layout_new(NULL, NULL);
    gtk_layout_set_size(layout, 1600, 1200);

    gtk_widget_show(layout);

    GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file("sample.jpg", NULL);
    GtkWidget * image = gtk_image_new_from_pixbuf(pixbuf);
    gtk_widget_show(image);

    gtk_layout_put(GTK_LAYOUT(layout), image, 0, 0);
    moko_finger_scroll_add_with_viewport(moko, layout);
---------------------------

Revision history for this message
yanglei (lei-a-yang) wrote :

Frank, as we know, the indicator in GtkLayout with Moko cannot be show.
I file a bug to track it.

Changed in moblin-ui-framework:
assignee: nobody → frank-li
importance: Undecided → Low
Revision history for this message
yanglei (lei-a-yang) wrote :

Frank, as you know, the indicator in GtkLayout with Moko cannot be show.
I file a bug to track it.

Revision history for this message
Li, Frank (frank-li) wrote :

indicator show problem fixed at v0.1.19

Changed in moblin-ui-framework:
importance: Low → Medium
milestone: none → m9
status: New → Triaged
Revision history for this message
Li, Frank (frank-li) wrote : RE: [Bug 186956] Re: GtkLayout with Moko enabled cannot show indicator

I remember this bug have been fixed

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
Bob Spencer
Sent: Tuesday, February 05, 2008 11:35 AM
To: Li, Frank
Subject: [Bug 186956] Re: GtkLayout with Moko enabled cannot show
indicator

** Changed in: moblin-ui-framework
   Importance: Low => Medium
       Status: New => Triaged
       Target: None => m9

--
GtkLayout with Moko enabled cannot show indicator
https://bugs.launchpad.net/bugs/186956
You received this bug notification because you are a bug assignee.

Revision history for this message
Li, Frank (frank-li) wrote :

Use adjustment to check if child widget scrollable.

Changed in moblin-ui-framework:
assignee: frank-li → lei-a-yang
status: Triaged → Fix Committed
Revision history for this message
yanglei (lei-a-yang) wrote :

verified in M9 BAT test

yanglei (lei-a-yang)
Changed in moblin-ui-framework:
status: Fix Committed → 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.