Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Flickering icons in Base report
Flickering icons in Base report
 
   NeoOffice Forum Index -> NeoOffice Testing
View previous topic :: View next topic  
Author Message
amayze
The Merovingian


Joined: Oct 24, 2005
Posts: 561
Location: Edinburgh, Scotland

PostPosted: Sat Jul 20, 2013 7:39 am    Post subject: Flickering icons in Base report

I'm using NeoOffice 3.3 Patch 7 Test 12.

After running a report in Base a writer window opens containing the report. The drawing icons in the bottom left of the window are available (ie dark blue, not greyed out).
I then preview the report by printing and then selecting PDF - Open in Preview.
Clicking back on the report window, the icons in the bottom left are now flickering about once a second. Oddly, only the line, rectangle, ellipse, text and callout icons flicker. The Freeform line tool does not. All other icons are greyed out all the time.

While I was previewing the report NeoOffice crashed when it was in the background. I haven't managed to reproduce the crash, but the flickering happens every time.

Andy.
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sat Jul 20, 2013 9:46 am    Post subject:

I am unable to reproduce what you see. Below are the steps I used. Do you see any steps of mine that are different from yours?:

1. I created a new Base .odb file on my Desktop and created a simple table with a couple of varchar columns and an ID column

2. I added a couple of rows to the table and then created a simple report for the table using the "Use Wizard to Create Report" option. I added all but the ID column to the report and used the default wizard settings everywhere else.

3. The report appeared in a Writer window, enabled display of the Draw toolbar by selecting the View :: Toolbars :: Drawing menu, and pressed the Print icon to print to Preview.

I saw no flickering of the Drawing toolbar buttons after the above steps and NeoOffice's CPU usage was near zero and showed no spikes.

amayze wrote:
While I was previewing the report NeoOffice crashed when it was in the background. I haven't managed to reproduce the crash, but the flickering happens every time.


The crash log indicates that the crash is occurring in NeoOffice's underlying OpenOffice.org code's "dbaui::ODataView::initialize" function. I set a breakpoint on that function in a debugger but I could not trigger that function to be called either by editing a table or running a report so some other action must have triggered that function. Do you have any recollection of what specific actions you did immediately before the crash?

Patrick
Back to top
amayze
The Merovingian


Joined: Oct 24, 2005
Posts: 561
Location: Edinburgh, Scotland

PostPosted: Tue Jul 23, 2013 5:48 am    Post subject:

I've managed to re-create the flickering icons using the following steps.

1. Create a spreadsheet with some columns of data (see Catalogue_Test.ods)
2. Create a new database using the .ods file as the data source.
3. Create a report using Design View. This uses Sun's Report Builder.
4. Add fields and grouping as appropriate
5. Add a page number to the footer using Insert->Page Numbers
6. Save and Run the report
7. Observe flickering of icons in Drawing toolbar.

I attach both the spreadsheet and database I created to test this. My original data set is for a product catalogue which runs to 16 pages, but the test seems to display the same behaviour, though it flickers even without trying to Print the report.

The significant step seems to be adding the page numbers to the report's footer. Indeed I have confirmed that removing the page numbers from my original document stops the flickering icons occurring.

I have not experienced any further crashes while testing the above.

Hope this helps.

Andy
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Jul 23, 2013 9:35 am    Post subject:

amayze wrote:
The significant step seems to be adding the page numbers to the report's footer. Indeed I have confirmed that removing the page numbers from my original document stops the flickering icons occurring.


Thank you for the sample documents. I can now reproduce what you see. It appears to be triggered by the PageCount() function in the "Data" tab in your page number footer field. If I edit that field and remove the PageCount() function so that the field contains the following, the flickering stops:

Code:
"Page " & PageNumber()


What you are seeing is NeoOffice's underlying OpenOffice.org code update the Drawing toolbar. This normally happens when you change the selected text in the report: the OpenOffice.org code determines which toolbar buttons should be enabled and then repaints the toolbar.

I suspect that the OpenOffice.org's PageCount() function is creating a repeating timer and one of the side effects of that timer is that the Drawing toolbar is told to update itself. While annoying, this OpenOffice.org bug should not cause any harm so I am going to put a very low priority on fixing this OpenOffice.org bug. Realistically, I need to work through any Mac OS X 10.9 issues and our replacement of Apple's HITheme functions as well as any crashing or hanging bugs that get reported before I will be able to looko at this particular OpenOffice.org bug.

amayze wrote:
I have not experienced any further crashes while testing the above.


If the crashing occurs again, please let us know and I will push the crashing issue back to the top of my priority list.

Patrick
Back to top
amayze
The Merovingian


Joined: Oct 24, 2005
Posts: 561
Location: Edinburgh, Scotland

PostPosted: Tue Jul 23, 2013 2:31 pm    Post subject:

Thanks. I'll keep an eye out for it crashing again and let you know.

Andy
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Testing All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.