hildon banner cannot be shown correctly

Bug #146109 reported by yanglei
4
Affects Status Importance Assigned to Milestone
Moblin UI Framework
Fix Released
High
Horace

Bug Description

Bug detailed description:
--------------------------
1. the hildon banner cannot be shown correctly, no image loaded in banner, no animation shown.
The API used is:
hildon_banner_show_information
hildon_banner_show_animation
hildon_banner_show_progress
2. When show animation banner with long string, the banner will be blink continously

Reproduce steps:
----------------
write some application with hildon banner API

Current result:
----------------
the banner image and animation cannot shown correctly

Expected result:
----------------
show normal banner with image and animation

Basic root-causing log:
----------------------

Revision history for this message
Horace (horace-li) wrote :

To use hildon_banner_show_information/hildon_banner_show_animation, developers need to give out the image filename/animation filename as the 2nd parameter, with NULL, hildon banner will show only default still image and no animation if hildon_banner_show_animation is called.

To use hildon_banner_show_progress, developers need to call hildon_banner_set_fraction to set the progressbar fraction.

Three functions are tested in lastest hildon framework, and they all work well.

Changed in moblin-ui-framework:
status: Triaged → Invalid
Revision history for this message
yanglei (lei-a-yang) wrote :

For the 1st symptom, the default image can be shown if use NULL as input parameter.

For the 2nd symptom, it is still existed.

I change the bug status to "New" and change the owner to Horace.

Changed in moblin-ui-framework:
assignee: bob-spencer → horace-li
status: Invalid → New
Horace (horace-li)
Changed in moblin-ui-framework:
status: New → Triaged
Revision history for this message
yanglei (lei-a-yang) wrote :

assign milestone - M9

Changed in moblin-ui-framework:
milestone: none → m9
Revision history for this message
Horace (horace-li) wrote :

I have updated hildon banner to support maximum 80 characters displayed on the screen, when message is longer than 80 characters, it will automatically truncate 80 characters from the start, followed by a ",,,".

This is integrated in latest hildon library 1.0.5-4.

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

Horace,
I found the symptoms are still existed.
Please have a check.

Revision history for this message
Horace (horace-li) wrote : RE: [Bug 146109] Re: hildon banner cannot be shown correctly

Ahoh, I will check it now. :-P

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
yanglei
Sent: Monday, January 28, 2008 4:10 PM
To: Li, Horace
Subject: [Bug 146109] Re: hildon banner cannot be shown correctly

Horace,
I found the symptoms are still existed.
Please have a check.

--
hildon banner cannot be shown correctly
https://bugs.launchpad.net/bugs/146109
You received this bug notification because you are a direct subscriber
of the bug.

Revision history for this message
Horace (horace-li) wrote :

Lei,

Is it possible you share your test code with me? I have tried string
longer than 80 characters, and it has no problem.

Thanks,
Horace

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
yanglei
Sent: Monday, January 28, 2008 4:10 PM
To: Li, Horace
Subject: [Bug 146109] Re: hildon banner cannot be shown correctly

Horace,
I found the symptoms are still existed.
Please have a check.

--
hildon banner cannot be shown correctly
https://bugs.launchpad.net/bugs/146109
You received this bug notification because you are a direct subscriber
of the bug.

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

I found in my codes, that an animation banner with more than 26
characters can lead to blinking.

Lei Y

Revision history for this message
Horace (horace-li) wrote :

Lei, please keep the bug status as fix-commited, I have checked in the fix into hildon-1, and released it as 1.0.5-5, after talking to you. Hildon banner now can support line wrap based on both work boundary and character boundary, and I have tested it by your code, it works well.

Please try again in next release. Thanks.

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

verified in M9 BAT test

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.