Hi Denis,

This is a bug that appears when you have a xoj file created in Windows,
that then you try to load in Linux, but it does not happen the other way
around.

Usecase: annotate a PDF in Windows. Save it. Move both files (PDF and
XOJ) to a linux system, try to open it. You get the message "Could not
open background file".

What happens is that Linux g_path_get_basename is not symmetrical: it
works well in Windows (splits both Windows and Linux paths) but in linux
it only splits 

This patch fixes that:

https://github.com/dmgerman/xournal/tree/fix-windows-paths

--dmg


--
Daniel M. German                  "Nothing is worse than to see ignorance
   Goethe ->                       in action."
http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .

 

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Xournal-devel mailing list
Xournal-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xournal-devel

Reply via email to