[Libreoffice-bugs] [Bug 111861] New: Bad behaviour of status indicator used from basic macros.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Aug 16 11:57:59 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=111861

            Bug ID: 111861
           Summary: Bad behaviour of status indicator used from basic
                    macros.
           Product: LibreOffice
           Version: 5.4.0.3 release
          Hardware: x86 (IA32)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: luismiguel.lacosta at gmail.com

Created attachment 135587
  --> https://bugs.documentfoundation.org/attachment.cgi?id=135587&action=edit
Test file.

I am using the status indicator to show progress in basic macros.

Behaviour has changed after version 5 (tested up to 5.4.1.0):

1) When you set text with SetText property after set value no progress bar is
show.

2) When you call SetValue property the first time after initialization no
progress bar is show.

3) When you call SetValue property the next times position of progress bar is
the position of the last call to SetValue.

This behaviour is not present in version 4.7.7.2
In old version behaviour is the most logic:

1) When you set text with SetText property after set value the position of the
progress bar is NOT changed

2) When you call SetValue property progress bar is always show in the position
of the current call to SetValue.

I have made a test calc file with some macros.

To test issue 1 open the attached test file, press button "Start" (Initialises
progress bar to max value of 100), 
press "Set value 50" (no progress bar is show), press "Set value 25" (progress
bar is show to 50%), press "Set text" (no progress bar is show).

To test issue 2 and 3 open the attached test file, press button "Start", press
an arbitrary "Set value" button (no progress bar is show), 
press another "Set value" button (progress bar is show in the position
indicated by previous button), 
press another "Set value" button (progress bar is show again in then position
indicated by previous button).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170816/5925b989/attachment.html>


More information about the Libreoffice-bugs mailing list