maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Xournal for Fremantle (https://talk.maemo.org/showthread.php?t=31779)

real_per 2009-12-18 01:05

Re: Xournal for Fremantle
 
Looks good :)

Shouldn't I be getting an exclamation mark, to indicate that there's an update ready for my Extras installation ?

Laughing Man 2009-12-18 01:22

Re: Xournal for Fremantle
 
Yup (unless you have extras-testing or extras-devel repository enabled).

real_per 2009-12-18 01:42

Re: Xournal for Fremantle
 
Quote:

Originally Posted by Laughing Man (Post 432784)
Yup (unless you have extras-testing or extras-devel repository enabled).

I don't, and I'm still not getting any message ? :(

I have 0.4.2.1-1fremantle13 installed, so the other one should be newer.

Laughing Man 2009-12-18 01:58

Re: Xournal for Fremantle
 
It depends on when your device checks for updates, I don't think each one does it at the same time. If you want to force it, you can go into application manager and go to update. Or go to download and tap the middle top and hit refresh.

NvyUs 2009-12-18 02:20

Re: Xournal for Fremantle
 
i got the update earlier and i got no update notification also even after refreshing catalogues, I only knew i had it b/c it was in updates list, strange it never notified me considering it was sitting in app manager updates

Zelig87 2009-12-18 11:38

Re: Xournal for Fremantle
 
Not sure how this will apply to your NextGen UI, but in terms of the current version, why not have UP and DOWN arrow icons on your toolbar next to the hand. Clicking these would function the same as pressing the keyboard up and down arrows (better still, make it user configurable as to whether these icons mimic UP arrow (pixel pan) or the bigger CTRL-UP arrow pan).

At least then, if you need to pan down, you don't have to go out of whatever mode you are in by selecting the Hand, then pan, then re-select your previous mode - just click on the down arrow (or long press icon to continuously pan down).

(Apologies if this has already been discussed - I haven't read the entire thread).

RevdKathy 2009-12-18 12:06

Re: Xournal for Fremantle
 
Updates worked seamlessly for me - little yellow icon when I woke up, downloaded and applied.

Thanks!

Zelig87 2009-12-18 12:18

Re: Xournal for Fremantle
 
In Portrait mode, zoom out to the point where you can see the entire page on screen (with empty space around it).

If you then zoom in one level, the height of the background page fits the entire screen perfectly, but the width of the background page is wider than the screen, requiring you to pan left or right.

Can that zoom level in Portrait mode be set to be the max width of the screen. Presumably this will leave a little bit of blank space vertically, but at least this view you would give you the maximum zoom whilst still seeing the entire page.

jurop88 2009-12-23 08:43

Re: Xournal for Fremantle
 
Dumb question:

today I installed Xournal. Using Conky to track rootfs space because I enabled extras-testing, i noticed that free space dropped from 54 to 42 Mb.
I checked the non-opt space used with kwotsky's perl script, and as other used found, it reported 576k.
Is it perhaps some dependency that uses 12 megs of precious rootfs room???
Any clue?

anidel 2009-12-23 08:59

Re: Xournal for Fremantle
 
Yes, Xournal depends on some non-yet-optified libraries.

Next version will all be optified.

Alan_Peery 2009-12-23 13:33

Re: Xournal for Fremantle
 
Quote:

Originally Posted by anidel (Post 430243)
Because Xournal doesn't have "line" unit.
It's a drawing...

How do you know how much big you write or how high a "line" of handwritten text is?

But sometimes there is a line height, o developer of this code. ;-)

Your objections above make perfect sense for the ink of the hand-written notes, but the underlying stationary has a distance between the lines. Could the stationary selection also set a corresponding sensible scrolling size?

I was thinking that the person asking for this might have been using Xournal as I have sometimes, taking pages of TYPED notes, but clicking inside the text widget and using arrow keys.

jaem 2010-01-08 07:07

Re: Xournal for Fremantle
 
Quote:

Originally Posted by Alan_Peery (Post 439016)
But sometimes there is a line height, o developer of this code. ;-)
Your objections above make perfect sense for the ink of the hand-written notes, but the underlying stationary has a distance between the lines. Could the stationary selection also set a corresponding sensible scrolling size?

Thanks! That's exactly what I was trying to say. Scrolling by exactly one line wouldn't be optimal, but if you scrolled by, say, 2-1/2 lines (just an example), it would be better. The problem isn't so much a matter of how far the button/key/gesture/whatever scrolls it by, but the fact that until now it's been (as far as I can tell) arbitrary. If we assume the user writes more-or-less within the lines on the lined paper, then a reasonable step size based on the lines would be a lot more useful. Unless someone comes up with something brilliant, it's probably only practical to ignore the case of someone that disregards the lines completely, however.

Quote:

Originally Posted by Alan_Peery (Post 439016)
I was thinking that the person asking for this might have been using Xournal as I have sometimes, taking pages of TYPED notes, but clicking inside the text widget and using arrow keys.

Good thought, but actually no. I just have messy writing, and thus when taking written notes at the speed of the lecture, I spend almost more time panning (due to the zoom level) than I do writing. The current state kind of ruins my use-case. :P
...That does bring up another point, though. Xournal's capability for annotating PDFs is one of its best features, in my opinion - especially for filling out forms or the skeleton notes some profs distribute in advance. In these cases, there are often no visible line markings, but the concept of a "line" is actually more important than when writing freely. I don't know if it would make sense to allow adjustment of line spacing in general, but that would make a big difference for this sort of use. I'm mentioning this just so you can keep it in mind as you design this and then next-gen UI, but I'm not too concerned about it.
Anyhow, great work so far. :)

BruceL 2010-01-09 08:26

Re: Xournal for Fremantle
 
Is there a hidden menu somewhere? The Diablo version seemed to be much more complete. What am I missing?

TigertheGambler 2010-01-12 00:33

Re: Xournal for Fremantle
 
Quote:

Originally Posted by anidel (Post 438756)
Yes, Xournal depends on some non-yet-optified libraries.

Next version will all be optified.

Is the version available now in Maemo Extras optified yet? Thought all apps in Maemo Extras (now maemo.org) are optified?

jaem 2010-01-12 22:29

Re: Xournal for Fremantle
 
Quote:

Originally Posted by BruceL (Post 460773)
Is there a hidden menu somewhere? The Diablo version seemed to be much more complete. What am I missing?

I believe Anidel sort of gutted it at the beginning, to ease the port. He's been adding features back in along the way, but Maemo 5's HIG is substantially different, and I would guess that Xournal probably isn't the easiest app to redesign to fit that.

anidel 2010-01-12 22:30

Re: Xournal for Fremantle
 
Yep and sorry for the lack of updates !!

unkno 2010-01-18 05:05

Re: Xournal for Fremantle
 
Quote:

Originally Posted by anidel (Post 438756)
Yes, Xournal depends on some non-yet-optified libraries.

Next version will all be optified.

Any idea when the next version will be released?
Thanks

testerus 2010-01-21 00:34

Re: Xournal for Fremantle
 
Fabulous tool. Two questions:
1. is there a shortcut for zoom-in/out in small amounts?
2. can I map the volume keys to next and previous page?

BruceL 2010-02-06 18:06

Re: Xournal for Fremantle
 
Anidel,
I'm really excited about xournal for the N900. Currently, I could use the features in the chinook version. Is there a way to get that version to install? (It says it needs libhildonhelp0 and won't install it.) Also, any news about the N900 version? I keep checking here and on your blog. It's going to be awesome!

Thanks again!

Bruce

zehjotkah 2010-02-07 20:38

Re: Xournal for Fremantle
 
I've made a video about Xournal:
maemo Programs: Xournal for N900

http://www.youtube.com/watch?v=UwNjvJ_nsNU

Thanks for watching!

Thanks to Aniello Del Sorbo for this awesome program!

anidel 2010-02-07 20:58

Re: Xournal for Fremantle
 
Be a little more patient :)

sorry about that..

Cool video zehjotkah, you also discovered a known (to me at least :P) bug in Xournal (Save As uses / as default storage directory instead of Documents, when you hit Save, it tried to store in / and you can't.)

That's already been fixed 'internally'.

Aniello

mclarson 2010-02-07 22:06

Re: Xournal for Fremantle
 
I really loved this program on the n810 and I'm really glad it was updated for n900 so quickly. A couple features I *really* miss are:

1. PDF annotation.
2. Select rectangle, to move stuff around.

These 2 feature I used to use *alot*. Drawing seems smoother in this version though.

Are these features planned for inclusion?

anidel 2010-02-07 22:42

Re: Xournal for Fremantle
 
PDF annotation is there.. just open a PDF file.

About 2:

all that tools that were there, are still there.. just missing an UI element to activate it.
All are coming back with the next release....

Again.. a little patience...
Aniello

anidel 2010-02-08 16:09

Re: Xournal for Fremantle
 
As an update of what you'll see next (need to update first post).

Anyway.. I'll release a new version with what came up from Barcelona.
This will bring many old features that are absent from Xournal for Fremantle.

Once this is done, I'll update my code to Xournal 0.4.5 and try to get my patches integrated into the main Denis code and put the code into GIT so that people can contribute with patches and I can track versions easily (and fix version's specific bugs).

After that I'd like to integrate a few cool patches (like search and hrw).
Once this is done.. the Next Gen UI will be my main focus.

We'll see how it goes.. this is life in the open source world :) things change and even small events can significantly alter the roadmap.

Aniello

edanaher 2010-02-10 17:39

Re: Xournal for Fremantle
 
Wow... I was looking for a way to grade papers electronically, and this fits the bill - I can draw on student's papers and type comments. Unfortunately, when I try to save as a pdf after typing in text, it segfaults on saving and writes a truncated pdf... it looks just like the the bug reported here:

https://bugs.launchpad.net/ubuntu/+s...al/+bug/474468

However, the fix reported in comment #4 (changing a gsize to a guint32) doesn't seem to work here.

Am I the only one having this problem? It's very consistent: I can open up a pdf, draw on it and export it with no problem, but as soon as I add text, exporting it as a pdf crashes.

(To get the text tool, I tweaked the "HildonToolBar" section of /usr/share/xournal/xo-hildon-ui.xml to replace "Highlighter" with "Text")

anidel 2010-02-10 18:08

Re: Xournal for Fremantle
 
When you save it, do you save it in Documents or in "/" ?

edanaher 2010-02-10 18:31

Re: Xournal for Fremantle
 
Quote:

Originally Posted by anidel (Post 519845)
When you save it, do you save it in Documents or in "/" ?

I tried both, and both crash. Similarly, saving in either works if I didn't add any text to the document. (Where I'm interpreting "/" as {devicename}/, since I am unable to select "/" as the directory to save.

I'll poke around with it a bit more tonight and see if I can give you more useful information.

edanaher 2010-02-10 23:24

Re: Xournal for Fremantle
 
So, line 858 or so of xo-print.c (I may have messed up the line numbers very slightly with my debugging stuff) is

Code:

tmpfile = mkstemp(g_strdup(TMPDIR_TEMPLATE));
tmpfile is a char*, mkstemp returns a file handle. If, instead, you use mktemp, it gives you the file name, which is then what the later functions expect.

Kind of a silly mistake... not sure where it came from, but easy to fix. I can now export pdf files with text it them, and it'll get some good stress-testing over the next week with grading.

anidel 2010-02-10 23:30

Re: Xournal for Fremantle
 
Quote:

Originally Posted by edanaher (Post 520357)
So, line 858 or so of xo-print.c (I may have messed up the line numbers very slightly with my debugging stuff) is

Code:

tmpfile = mkstemp(g_strdup(TMPDIR_TEMPLATE));
tmpfile is a char*, mkstemp returns a file handle. If, instead, you use mktemp, it gives you the file name, which is then what the later functions expect.

Kind of a silly mistake... not sure where it came from, but easy to fix. I can now export pdf files with text it them, and it'll get some good stress-testing over the next week with grading.

Are you sure about that?
In my code here there is no mkstemp, but mktemp...

But anyway, I'm syncing my code with upstream 0.4.5 and Denis swtched to libpoppler and completely rewrote that function.

But weird you found this mkstemp call...

Aniello

anidel 2010-02-12 01:20

Re: Xournal for Fremantle
 
Just to let you guys know that I have "internally" ( :) ) updated Xournal to mainstream 0.4.5

This fixes above issue with text as well, removes libgnomeprint dependancy (depends now on poppler) and will be named 0.4.5-1fremantle1 (a fresh start).

Should also come with more translations.

Hope to be able to release it asap.

Aniello

anidel 2010-02-12 09:00

Re: Xournal for Fremantle
 
Actually I think I am going to release it as is now in extras-devel with a big warning :)

I will then release updates everytime I have a "devel-stable" release that for example won't crash at startup :)

Anidel

anidel 2010-02-13 17:30

Re: Xournal for Fremantle
 
I have uploaded version 0.4.5 Fremantle1 to Extras Devel, please, if you can, test it and report issues..

It's unstable and very work in progress.
I've synched the code to upstream 0.4.5 and using lib poppler and at the same time I'm redesigning a bit the UI.

So .. bear in mind while things change under your nose :)

I will update Know Issues here:

-> Color chooser doesn't change tool color yet

jaem 2010-02-14 04:11

Re: Xournal for Fremantle
 
Nice work on the new version, Anidel, and thanks for the update.
One question, though. I haven't used desktop Xournal much, so this may just be ignorance, but what does the new button with the arrows do? Or rather, what is its intended use-case? I can see what it does, but I didn't immediately understand what the point was. Please note that I'm not criticizing you or implying that it isn't useful, but rather that I'm just missing the point.
Thanks,

anidel 2010-02-14 10:21

Re: Xournal for Fremantle
 
Which button ? You mean the two arrow buttons for Undo/Redo ?

Note also that many icons are stock GTK ones and need to be re-designed.

Also this version introduces the concept of 'mode':

- Drawing mode
- PDF mode
- Notes mode

http://farm5.static.flickr.com/4069/...84d3be66_o.png

You can find this in the menu. They merely change the toolbar to show you the most useful tools you may need in that mode.

And there's a small issue that the default mode when you start up doesn't match the selected menu item.

Aniello

anidel 2010-02-14 11:34

Re: Xournal for Fremantle
 
Also you will see the toolbars will contain less items (per toolbar).
This is because there will be mode toolbars (three) and to have the same basic mode tools available in portrait mode as well (we'd loose undo/redo probably)...

Anyway throw in your ideas...
I am sorry if I didn't incorporate previous ideas yet, but they will find a way in...

debernardis 2010-02-14 11:35

Re: Xournal for Fremantle
 
I like the pdf, notes, drawing modes. Text input is quite uncomfortable as is now, but I'm sure you're going to get better results :)

anidel 2010-02-14 11:40

Re: Xournal for Fremantle
 
Yep, as soon as I'll sqeeze in Select and move, I will probably just pop-up a text dialog where you insert the text and it'll appear where you touched.
Instead of as it is now where you type straight into the note a la WYSIWYG.

debernardis 2010-02-14 17:51

Re: Xournal for Fremantle
 
[QUOTE=anidel;525856I I will probably just pop-up a text dialog where you insert the text and it'll appear where you touched.<br>
Instead of as it is now where you type straight into the note a la WYSIWYG.[/QUOTE]<br>
<br>Don't know if that's the best way though. Think of that guy who uses Xournal for correcting school papers... maybe some kind of wysiwyg is useful, and writing in a popup text box might be inconvenient. If the dynamic window where the text is entered can be made higher, one can see it better while keying it in.<br>

phedders 2010-02-17 08:35

Re: Xournal for Fremantle
 
Just wanted to say a huge thankyou for porting and extending xournal for the n900 - its fab! :O)

anidel 2010-02-17 13:52

Re: Xournal for Fremantle
 
Wow thank you !

That's much appreciated :)


All times are GMT. The time now is 07:01.

vBulletin® Version 3.8.8