Shuhao> For the problem with file loading, I have that issue. I try to keep my
 Shuhao> notes in under 14 pages per file because of this.

 Shuhao> Can't we not have multiple files inside the tar file? This means that
 Shuhao> each page (or two pages, whatever the optimal number is) gets its own
 Shuhao> xml file. We would only load pages as they are necessary, and even
 Shuhao> freeing (on save, as an example).

The problem is that xournal instantiates every single widget needed for
the entire document, eating a lot of memory.

One solution is that, in single page mode, only the current page (and
perhaps the next and previous) are loaded. This will slow scrolling, but
if properly done it might work.

But this requires a lot of work.

--dmg



 Shuhao> Shuhao

 Shuhao> On 11/20/2013 10:24 PM, D M German wrote:
 >> 
 >> 
 >> 
 Wilson> I'm interested to hear the resolution of this resize lag! Because of 
the
 Wilson> limitations of my netbook the memory usage and lag were probably the 
two
 Wilson> issues that impacted my experience the most.
 >> 
 >> After the exercise to port to goocanvas, I can say that this problem is
 >> not trivial to solve.
 >> 
 >> The main problem is that xournal instantiates every single canvas item
 >> when they are created/loaded from the file. This means that if you are
 >> low in memory, and your document is large, your computer might start
 >> trashing.
 >> 
 >> The resize problem is not as difficult to solve (specially for one page
 >> viewing). This might be done by resizing the current page interactively
 >> and the rest of the pages in the background (something that is done
 >> already for PDF backgrounds).  Of course,  the programming is not
 >> trivial, but doable.
 >> 
 >> 
 >> --dmg
 >> 
 >> 
 >> --
 >> Daniel M. German
 >> http://turingmachine.org/
 >> http://silvernegative.com/
 >> dmg (at) uvic (dot) ca
 >> replace (at) with @ and (dot) with .
 >> 
 >> 
 >> 
 >> ------------------------------------------------------------------------------
 >> Shape the Mobile Experience: Free Subscription
 >> Software experts and developers: Be at the forefront of tech innovation.
 >> Intel(R) Software Adrenaline delivers strategic insight and game-changing 
 >> conversations that shape the rapidly evolving mobile landscape. Sign up 
 >> now. 
 >> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
 >> _______________________________________________
 >> Xournal-devel mailing list
 >> Xournal-devel@lists.sourceforge.net
 >> https://lists.sourceforge.net/lists/listinfo/xournal-devel
 >> 

 Shuhao> 
------------------------------------------------------------------------------
 Shuhao> Shape the Mobile Experience: Free Subscription
 Shuhao> Software experts and developers: Be at the forefront of tech 
innovation.
 Shuhao> Intel(R) Software Adrenaline delivers strategic insight and 
game-changing 
 Shuhao> conversations that shape the rapidly evolving mobile landscape. Sign 
up now. 
 Shuhao> 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
 Shuhao> _______________________________________________
 Shuhao> Xournal-devel mailing list
 Shuhao> Xournal-devel@lists.sourceforge.net
 Shuhao> https://lists.sourceforge.net/lists/listinfo/xournal-devel


--
Daniel M. German                  "One person will bear with 
                                   dissent in matters of church government,
   John Stuart Mill ->             but not of dogma"
http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .

 

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Xournal-devel mailing list
Xournal-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xournal-devel

Reply via email to