Dear Andreas,

Life's a bit busy at the moment, but a couple of quick comments:

>> 1) When I switch to portrait mode, the stylus doesn't draw in the correct 
>> place
>> (orientation is correct but drawing is offset)
> This is a problem, for me a really big problem, but this is also with
> the old Xournal...
>
> In the FAQ of the original Xournal is written you have to restart Xournal...
> I tried it out now, GIMP has the same Problem! So I don't know if there
> is a solution at the moment...:-(
> (I will see, because I often rotate the screen I for sure won't forgot
> this problem!)

Correct. It's a GTK+ bug (GTK+ doesn't update its information when the 
screen gets rotated) that's really hard to overcome.

Xournal should do very slightly better at it than GIMP and other 
programs, because it bypasses GTK+'s event coordinate conversion and 
does its own, assuming the aspect ratio of the digitizer matches that of 
the screen and the upper-left corner never moves (which of course are 
not quite correct, hence the frequent loss of calibration upon rotation).

I have ideas on how to do much better by trying to match core events 
with extension events and auto-correcting when things become too far 
off, but it's a bit of a hack and will have to wait for now.

For now, perhaps cleanest to just not try to deal with it, and let users 
restart after display rotation. I'll be happy to try hacking
at it later.

> *I know this Bug, but I don't have an idea how to fix this... Maybe
> somebody else has an Idea?*
>
> Also another Bug, GTK has a List of devices, if you unplug e.g. your
> mouse this list is not updated, if I access this device Xournal will
> crash. (I think there is a Bug report on SF, the old Xournal has the
> same problem...)

This has been fixed in xournal's CVS code base. The patch adds an X 
error trap around the functions to enable/disable Xinput devices. This 
is in xo-callbacks.c, more precisely in on_canvas_enter_notify_event() 
and on_canvas_leave_notify_event().  (see how these have changed between 
stock 0.4.5 and the CVS).

This is a small enough fix, and given how annoying the crashes are, I 
suggest you include it too.

Good luck with everything!

Denis

-- 
Denis Auroux
MIT Department of Mathematics           aur...@math.mit.edu
    (on leave) and
University of California, Berkeley      aur...@math.berkeley.edu
Department of Mathematics               Tel: 510-642-4367
817 Evans Hall # 3840                   Fax: 510-642-8204
Berkeley, CA 94720-3840

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Xournal-devel mailing list
Xournal-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xournal-devel

Reply via email to