which version are you using? gtk2 or gtk3? --dmg
On Mon, Dec 9, 2013 at 5:51 PM, Shuhao <shu...@shuhaowu.com> wrote: > So I'm currently studying and doing questions on Xournal. Up to 34 pages and > saving + load time is pretty painful. Also, when I initially load the > program it shows a blank screen, any scroll action will show the drawings. > > Shuhao > > > On 11/22/2013 09:08 PM, D M German wrote: >> >> >> >> 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 . >> >> >> > -- --dmg --- Daniel M. German http://turingmachine.org ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ Xournal-devel mailing list Xournal-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xournal-devel