Bug 68478 - BASIC: Numbers inserted with the BASIC Value property are not updated in the screen.
Summary: BASIC: Numbers inserted with the BASIC Value property are not updated in the ...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: Other Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-23 13:38 UTC by blargh
Modified: 2014-06-25 20:09 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Spreasheet with an example of this bug (includes a macro that writes a number in a cell, which is then not update on the screen) (10.07 KB, application/vnd.oasis.opendocument.spreadsheet)
2013-08-23 13:38 UTC, blargh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description blargh 2013-08-23 13:38:48 UTC
Created attachment 84517 [details]
Spreasheet with an example of this bug (includes a macro that writes a number in a cell, which is then not update on the screen)

Problem description: 

When numbers are inserted in a cell using the BASIC Value property, the cell content is not updated on the screen.
The number is effectively introduced in the cell (if you go to the cell with your mouse, you'll see the number in the input line), but it doesn't show up on the screen
This doesn't happen if there is another cell with a formula with a reference to the cell where the Value property writes . Also, 

---------

Steps to reproduce:

Try the attached spreadsheet, or the following code:
    Sub Main
        Dim Doc as Object
            Doc = ThisComponent
        Dim Sheet as Object
            Sheet = Doc.Sheets(0)
        Dim CellWrite as Object
            CellWrite = Sheet.getCellByPosition(0,0)
            CellWrite.value = 42
            CellWrite = Sheet.getCellByPosition(0,1)
            CellWrite.String = "Hello world!"
            CellWrite = Sheet.getCellByPosition(0,2)
            CellWrite.value = 41
    End Sub

---------

Current behavior:

The cell is not updated on the screen when you use BASIC Value property to write a number in that cell (although the number is effectively inserted in the cell)


---------

Expected behavior:

The cell should be updated on the screen..
Operating System: Windows 7
Version: 4.1.0.4 release
Comment 1 Joel Madero 2014-06-25 06:11:44 UTC
Cannot reproduce:
Ubuntu 14.04 x65
LibreOffice 4.3.0.1 rc

Setting to WFM.

If you can reproduce this with 4.3.0.1 rc or later (4.3.0 will be released soon) then set the bug back to UNCONFIRMED and we'll retest it. Thanks!
Comment 2 blargh 2014-06-25 20:06:12 UTC
I also cannot reproduce in:
Windows 7 x64
LibreOffice 4.2.5.2

It seems that the bug is gone..
Comment 3 Joel Madero 2014-06-25 20:09:36 UTC
Great news - thanks for the update