From the ArchLinux bugreport: Annotating in Xournal appears to be broken after the latest updates the 17th of January, when gtk2 was updates, by my estimation. It was working perfectly when I installed Arch Linux, not much over a week ago. There aren't any errors outputted when I open Xournal through the terminal except: [code] (xournal:30295): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated (xournal:30295): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated [/code] When I try to open a pdf, the page background does not change to reflect the pdf background image, and the Gtk WARNING error occurs again. However, when I try to save the file, the PDF file name does appear in the Save As menu, e.g. pdfname.pdf.xoj. Steps to Reproduce: 1. Open a PDF in Xournal (open Xournal by the terminal if you wish to see the errors), by clicking Annotate PDF (in the File menu). Choose any PDF file; I've tried PDF files that were one-paged versus multiple pages, and there doesn't seem to be a difference. 2. Notice the background image. If you experience the bug (like I did), then the background image is the default lined paper. However, if you try File Save As, you'll see the behavior I reported in the summary. Patch, and updated ebuild attached.
Created attachment 181215 [details, diff] Patch from upstream
Created attachment 181216 [details] Ebuild using the above patch
upstream bug: http://sourceforge.net/tracker/index.php?func=detail&aid=2545508&group_id=163434&atid=827733
+*xournal-0.4.2.1-r1 (11 Feb 2009) + + 11 Feb 2009; Robert Buchholz <rbu@gentoo.org> + +files/xournal-0.4.2.1-pdf-annotation.patch, +xournal-0.4.2.1-r1.ebuild: + Bug fix: PDF annotation broken with latest GTK+ (bug #257980)
http://bugzilla.gnome.org/show_bug.cgi?id=569671 has a patch to fix this in GTK+. If there are no objections and nobody beats me to it, I'll try to get this in tonight.
like gtk+ upstream dev said, patch looks acceptable, will be part of 2.14.7-r2
gtk+-2.14.7-r2 is in tree with this patch.
(In reply to comment #7) > gtk+-2.14.7-r2 is in tree with this patch. > In that case, could you make Xournal depend on >=gtk+-2.14.7-r2, and remove the attached patch? Thanks, GI
Sorry for letting this open for too long. I am still experiencing this bug using =x11-libs/gtk-2.14.7-r2 =app-text/xournal-0.4.2.1 The workaround in the latest unstable xournal still works, and thus I'll request stabilization for now. Doing amd64 myself. Gnome, do you want to handle this as a regression in GTK+ ? The upstream bug report also had a comment that the patch was incomplete.
Arches, please test and mark stable: =app-text/xournal-0.4.2.1-r1
x86 stable, all arches done.