Menu

#21 multiple page view and lasso selection

Unstable_(example)
closed
nobody
None
5
2014-06-30
2009-03-10
Ian-Woo Kim
No

I added functionalities of multiple page view and lasso selection.
For lasso, one can easily notice there is a new tool besides rectangular selection and by circling around an item, one can see how it selects an item.

For multiple page view, one can check a checkbox Multiple page view below Options menu. Then, Multiple pages menu below Multiple page view check box will be activated and there one can choose how many pages will be shown in one row (horizontally)
This functionality is quite useful for reviewing a document fast. Currently, I put menus up to 7 pages.

Discussion

  • Ian-Woo Kim

    Ian-Woo Kim - 2009-03-10
     
  • Anonymous

    Anonymous - 2009-03-10

    Very nice.
    The first time i used the lasso xournal froze but im not able to reproduce that and it seems to work great now.
    Thanks alot for the patch.

     
  • Ian-Woo Kim

    Ian-Woo Kim - 2009-03-13

    new version 03/12/09: with page highlight and fit for page width

     
  • Ian-Woo Kim

    Ian-Woo Kim - 2009-03-13

    File Added: xournal_lasso_multipage_zoom.patch

     
  • Ian-Woo Kim

    Ian-Woo Kim - 2009-03-13

    Updated : Date 03/12/2009

    I fixed a minor glitch so that the same page remained as current page when changing multiple page view to single page view and vice versa. I also made a new checkbox "Page Highlight" in Options menu. When it is checked, xournal shows thin black lined box around current page. This is convenient when one use multipage view. I also modified "Page Width" zoom behavior when one use multiple page view so that all the page in a single row can be shown when it is clicked.
    apply xournal_lasso_multipage_zoom.patch to the original 0.4.2.1 source code.

     
  • Da Ke

    Da Ke - 2009-03-14

    This patch is so useful..Thank you very much for sharing..

     
  • Ian-Woo Kim

    Ian-Woo Kim - 2009-03-14

    File Added: xournal_lasso_multipage_zoom_button.patch

     
  • Ian-Woo Kim

    Ian-Woo Kim - 2009-03-14

    new version 03/14/2009 : stylus button can be assigned to lasso now

     
  • Ian-Woo Kim

    Ian-Woo Kim - 2009-03-14

    Updated : 03-14-2009

    Now one can assign lasso selection to the side button of stylus. In the Options menu, "Button 2 mapping" and "Button 3 mapping" now have "Select Region" which is lasso selection.
    For this to be a permanent option, in the ~/.xournal/config, one can change btn2_tool or btn3_tool item like
    btn2_tool = selectregion

    Then, next time, you start xournal with side button assigned to the lasso selection. (This is the default setting in Microsoft Windows Journal. )

     
  • Ian-Woo Kim

    Ian-Woo Kim - 2009-03-14

    The last patch "xournal_lasso_multipage_zoom_button.patch" must be applied to the original xournal distribution!

    Any comment is welcome, especially on the unstability related to the lasso selection. I noticed sometimes the selected item disappears, but it is quite randomly happening, so I couldn't fix it. If anyone can always reproduce this problem in a certain situation, please let me know.

     
  • Da Ke

    Da Ke - 2009-03-18

    I just found out the program will crash if vertical space is used after patch is applied. The original 0.4.2.1 works just fine. It'll be nice if you can fix this. Thanks. I love this patch.

     
  • Ian-Woo Kim

    Ian-Woo Kim - 2009-03-18

    Updated : 03-17-2009

    I debugged the crash bug when using vertical space moving. Thank you for the feedback, keda1987. The file is xournal_lasso_multipage_zoom_button_20090317.patch

    Please report any reproducible bug. That helps me a lot.
    File Added: xournal_lasso_multipage_zoom_button_20090317.patch

     
  • Bob McElrath

    Bob McElrath - 2009-04-10

    I tried your patch.

    This is a good start but it still has a lot of problems.

    1) I experienced a segfault: gnome_canvas_path_def_new_from_foreign_bpath: assertion `sp_bpath_good (bpath)' failed

    2) I really don't like the fact that after selecting a region, your tool
    changes it to a rectangle. It would be much nicer if it kept the
    region drawn. I've also always wished the select tools would change the
    color of selected strokes, or animate them, or something, to make it
    obvious which strokes were selected. (In some sense, this is what your
    rectangle is doing)

    3) When there are multiple overlapping strokes, the tool sometimes
    doesn't select all strokes within the defined region.

    4) Would it be possible to draw the line that closes the region in a
    different color, to make it visually obvious that I didn't draw it?

    5) Sometimes after you select a region, if you tap on it again (to move
    it), the selection and its contents disappears. This bug is also
    infecting the rectangular select tool.

    6) Sometimes after I've selected a region, it becomes blank, and when I
    try to move the region, the selection vanishes until I lift the stylus,
    and cannot be moved.

    7) #3, #5 and #6 seem to have bad interactions with cut, paste, and
    undo.

    8) The multiple page view doesn't seem to work at all.

    9) Multiple page view doesn't save its config setting.

    Finally, these two patches are logically distinct and shouldn't really
    be combined. Can you separate them and add new tracker items for
    "multiple page view" and "lasso selection" separately, so we can
    evaluate them separately?

    Thanks! And I look forward to future updates!

     
  • Ian-Woo Kim

    Ian-Woo Kim - 2009-06-21

    I stabilized the code a little bit more. Now crash problems when using lasso selection become
    resolved.
    I also change the default behavior when you choose multiple page view option.
    Now when you check multiple page view or change the number of pages shown
    in one row, it automatically rescale the document to fit the window width.

    Try xournal_lasso_multipage_zoom_button_20090620.patch

     
  • Denis Auroux

    Denis Auroux - 2009-10-03

    I am planning to include this patch into the official release fairly soon.
    I'm sorry it couldn't make it into 0.4.5, but there's a lot of code to
    review... Please be patient.
    Denis

     
  • ptrcao

    ptrcao - 2010-08-10

    Is it me or does the patch just fail for Xournal 4.5-2 Lucid Ubuntu?

    Can you please tell me what is the command to patch? This forum assumes too much knowledge. I'm just a regular end user. How do I use these patches?

     
  • Denis Auroux

    Denis Auroux - 2010-08-11

    This is probably a patch against version 0.4.2.1. The easiest is probably to download that version on the sourceforge server and apply the patch to it.

    Denis

     
  • ptrcao

    ptrcao - 2010-08-11

    Thanks for the the timely reply aurox. Suggestion impractical for me. I am a regular end user and any departure from synaptic or apt-get install methods are beyond me. I can't compile. Dependency nightmare, etc.

    When is the next version coming out? It's been a year or more since some of these patches - some of which implement very basic in-demand features.

    Xournal was that good that I converted to Linux from Windows. I use it daily for uni, especially math and chem.

    I envision a more refined feature rich Xournal in the very near future. Can you give some indication of how realistic my vision is auroux? How much longer to the next version release? Multi-page (e.g. dual page view) and lasso are must-haves!

     
  • Denis Auroux

    Denis Auroux - 2014-06-30

    Version 0.4.7 had the lasso feature; and version 0.4.8 has a "horizontal" view mode where successive pages are lined up horizontally. In my opinion this is more natural than "dual page" view where it is just not practical to have to move down and left to go from page 2 to page 3. I am closing this patch.

     
  • Denis Auroux

    Denis Auroux - 2014-06-30
    • status: open --> closed
    • Group: --> Unstable_(example)
     

Log in to post a comment.