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 - Very slow when selecting table in Text Document
Very slow when selecting table in Text Document
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
Lorinda
Captain Mifune


Joined: Jun 20, 2006
Posts: 2051
Location: Midwest, USA

PostPosted: Wed Jan 02, 2013 1:41 pm    Post subject: Very slow when selecting table in Text Document

Today, when working with documents that include a Table, I encountered a major slow-down when selecting a chunk of the document which included a table. Neo was very slow to highlight the selection, it would appear to freeze briefly. First the beginning of the selected area would be highlighted then, after a pause, the bottom part (but not the top) and then the area of focus of the window would shift.

Scrolling also doesn't work properly/lags considerably when the area is selected

I attached a sample document. To reproduce:

-Click next to the word Hymns (just as an example)
-Drag to select to the bottom of the page

I'm using Neo 3.3 Patch 3, test patch 9 on a Mac running OS 10.8.2

Lorinda
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Jan 02, 2013 6:19 pm    Post subject:

I can reproduce the slow-down that you see. I will investigate further to see if I can find the cause of the slowdown.

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Thu Jan 03, 2013 2:01 pm    Post subject:

I think that I have fixed this bug in the following test patch. I found that the slowdown was in our native highlighting code. Specifically, our code would try to detect and eliminate any overlapping rectangles in the list of highlighted rectangles to draw. Overlapping rectangles would cause our native highlighting to be cancelled out in such overlapping rectangles.

I have reimplemented code to prevent the "cancelled out" drawing where rectangles overlap that should be much faster than the previous code.

Can you install the following test patch and tell us if the slowdown when highlighting is fixed for you?:

Intel:
http://sally.neooffice.org/test/NeoOffice-3.3-Patch-3-Test-11-Intel.dmg

Patrick
Back to top
Lorinda
Captain Mifune


Joined: Jun 20, 2006
Posts: 2051
Location: Midwest, USA

PostPosted: Thu Jan 03, 2013 3:11 pm    Post subject:

That did it! Thanks, Patrick!!
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Mon Jan 21, 2013 10:54 pm    Post subject:

FYI. I have included the fix that was in the previous test patch in NeoOffice 3.3 Patch 4. The patch can be downloaded from the NeoOffice 3.3 patch download page.

Patrick
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases 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.