You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/05/22 18:54:17 UTC

[Bug 119402] New: css.awt.SpinningProgressControlModel do not work well

https://issues.apache.org/ooo/show_bug.cgi?id=119402

          Priority: P3
            Bug ID: 119402
          Assignee: ooo-issues@incubator.apache.org
           Summary: css.awt.SpinningProgressControlModel do not work well
          Severity: normal
        Issue Type: DEFECT
    Classification: Code
                OS: All
          Reporter: hanya.runo@gmail.com
          Hardware: PC
            Status: CONFIRMED
           Version: AOO 3.4.0
         Component: code
           Product: api

Created attachment 77579
  --> https://issues.apache.org/ooo/attachment.cgi?id=77579&action=edit
Example code to use SpinningProgressControlModel

css.awt.SpinningProgressControlModel is introduced to replace
css.awt.UnoControlThrobber and its model on 3.4. 
But it seems not work well, nothing shown for the position of the control. 
When I use css.awt.AnimatedImagesControl and css.awt.AnimatedImagesControlModel 
to show animated images, it works well. But I replace
AnimatedImagesControlModel 
with SpinningProgressControlModel, nothing shown.

The attached document includes the macro to use SpinningProgressControlModel. 
- Open the attached document.
- Push "push" button on the document. -> dialog shown.
- spinning control should be shown at the left top corner of the dialog ->
nothing
- spinning animation created with AnimatedImagesControlModel is shown in the
dialog.
- Push "Animated" button -> shown one works well.

It seems this problem is caused by lacking of spinning images from images.zip.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119402] Throbber animation is never displayed

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119402

--- Comment #8 from Ariel Constenla-Haile <ar...@apache.org> ---
Created attachment 77599
  --> https://issues.apache.org/ooo/attachment.cgi?id=77599&action=edit
Zipped folder with document and images to test the Throbber with custom image
sets

Unzip the folder. It contains:

- i119402_XAnimation.odt - a Writer document with macros and dialogs
- spinner - a folder with images
- butterfly - a folder with images

Do not move the images folders, because the macros rely on the folders being
relative to the document in order to work.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 119402] Throbber animation is never displayed

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119402

Ariel Constenla-Haile <ar...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |AOO 4.0

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 119402] Throbber animation is never displayed

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119402

--- Comment #5 from Ariel Constenla-Haile <ar...@apache.org> ---
Created attachment 77584
  --> https://issues.apache.org/ooo/attachment.cgi?id=77584&action=edit
Writer document with macros and dialogs to test the Throbber control

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 119402] Throbber animation is never displayed

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119402

Ariel Constenla-Haile <ar...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ACCEPTED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |AOO 3.5.0

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 119402] Throbber animation is never displayed

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119402

--- Comment #6 from Ariel Constenla-Haile <ar...@apache.org> ---
Committed revision 1342557 and revision 1342560

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 119402] Throbber animation is never displayed

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119402

Ariel Constenla-Haile <ar...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ooo-issues@incubator.apache
                   |                            |.org

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 119402] css.awt.SpinningProgressControlModel do not work well

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119402

Ariel Constenla-Haile <ar...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |ACCEPTED
           Assignee|ooo-issues@incubator.apache |arielch@apache.org
                   |.org                        |

--- Comment #2 from Ariel Constenla-Haile <ar...@apache.org> ---
Accepted.
Started.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 119402] Throbber animation is never displayed

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119402

Ariel Constenla-Haile <ar...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #77584|0                           |1
        is obsolete|                            |

--- Comment #7 from Ariel Constenla-Haile <ar...@apache.org> ---
Created attachment 77597
  --> https://issues.apache.org/ooo/attachment.cgi?id=77597&action=edit
Writer document with macros and dialogs to test the Throbber control with the
deafult image sets

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 119402] css.awt.SpinningProgressControlModel do not work well

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119402

Ariel Constenla-Haile <ar...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arielch@apache.org

--- Comment #1 from Ariel Constenla-Haile <ar...@apache.org> ---
(In reply to comment #0)
> It seems this problem is caused by lacking of spinning images from
> images.zip.

You are right: those images are not on the zip file, and the GraphicProvider
(used in the toolkit code to retrieve the images, fails):

Sub Main
    Dim oGraphicProvider as Object
    oGraphicProvider = CreateUnoService("com.sun.star.graphic.GraphicProvider")

    oGraphic = GetGraphic(oGraphicProvider,
"private:graphicrepository/toolkit/tk/spinner03-grey_11.png")
    oGraphic = GetGraphic(oGraphicProvider,
"private:graphicrepository/shared/spinner-32-01.png")
End Sub

Function GetGraphic(oProvider as Object, sURL$)
    Dim aMediaProps(0) as new com.sun.star.beans.PropertyValue
    aMediaProps(0).Name  = "URL"
    aMediaProps(0).Value = sURL
    GetGraphic = oProvider.queryGraphic(aMediaProps)
End Function

-- 
You are receiving this mail because:
You are the assignee for the bug.