Code Monkey home page Code Monkey logo

atril's Introduction

mate-desktop
=============

mate-desktop contains the libmate-desktop library, the mate-about
program as well as some desktop-wide documents.

The libmate-desktop library provides API shared by several applications
on the desktop, but that cannot live in the platform for various
reasons. There is no API or ABI guarantee, although we are doing our
best to provide stability. Documentation for the API is available with
gtk-doc.

The mate-about program helps find which version of MATE is installed.

You may download updates to the package from:

   http://pub.mate-desktop.org/releases/


Installation
============

If you are not using a released version of mate-desktop (for example,
if you checked out the code from git), you first need to run
'./autogen.sh'.


How to report bugs
==================

Bugs should be reported to the MATE bug tracking system:

   https://github.com/mate-desktop/mate-desktop/issues

atril's People

Contributors

antiapuentes avatar bl0ckeduser avatar clefebvre avatar cosimoc avatar flexiondotorg avatar gisellemnr avatar gpoo avatar hiberis avatar infapi00 avatar infirit avatar joanmarie avatar lukefromdc avatar mbkma avatar monsta avatar mpetroff avatar muelli avatar nbenitez avatar owtaylor avatar oz123 avatar perberos avatar raveit65 avatar rbuj avatar rootavish avatar sbalneav avatar sc0w avatar stefano-k avatar szesch avatar tamplan avatar vkareh avatar yetist avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

atril's Issues

Fit window to content

I know we already "Best Fit" and "Fit Page Width" but I'd really love to be able to do the opposite: set zoom to say 100% or 50% and expect the window to resize appropriately.

Add back/forward navigation feature

While navigating PDF documents with Hyperlinks, it'd be useful to get back to where I was after I clicked a hyperlink. However there's no feature to go back/forward in the navigation history. I think it'd be very handy to have this implemented.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/11340855-add-back-forward-navigation-feature?utm_campaign=plugin&utm_content=tracker%2F1323318&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1323318&utm_medium=issues&utm_source=github).

Graphics section in the menu or Office section?

Atril now shows up in the Graphics section in the menu. I know this comes as heritage from evince, it was (and probably still is) the same with it. I'm not sure it is the best choice though, maybe it would fit better in the Office section in the menu instead? According to freedesktop.org, a Viewer can be either in Graphics of Office.

I know atril can also show some image files (tiff/comic book archives), but I think it is mostly used for document viewing, not graphics viewing.

So, I'm proposing to change this in the .data/atril.desktop.in.in file:

Categories=GTK;Graphics;VectorGraphics;Viewer;

to this:

Categories=GTK;Office;Viewer;

Just a thought.

.desktop file lacks Keyword key

I: atril: desktop-entry-lacks-keywords-entry usr/share/applications/atril.desktop
N:
N: This .desktop file does either not contain a "Keywords" entry or it does
N: not contain any keywords not already present in the "Name" or
N: "GenericName" entries.
N:
N: .desktop files are organized in key/value pairs (similar to .ini files).
N: "Keywords" is the name of the entry/key in the .desktop file containing
N: keywords relevant for this .desktop file.
N:
N: The desktop-file-validate tool in the desktop-file-utils package is
N: useful for checking the syntax of desktop entries.
N:
N: Refer to
N: http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html,
N: http://bugs.debian.org/693918, and
N: https://wiki.gnome.org/Initiatives/GnomeGoals/DesktopFileKeywords for
N: details.
N:
N: Severity: wishlist, Certainty: certain
N:
N: Check: menu-format, Type: binary
N:

pdf files do not open unless org.mate.lockdown.gschema.xml is installed

The problem is that org.mate.lockdown.gschema.xml is part of mate-desktop and this creates an (artificial) dependency on mate-desktop, while atril could very well be a standalone doc viewer that doesn't need any other part of MATE installed. This is just a settings file, it could either be packaged with atril or ignored if not found.

The error is:
(atril:884): Glib-GIO-ERROR **: Settings schema 'org.mate.lockdown' is not installed

Trace/breakpoint trap

You can reproduce it if you remove mate-desktop and unregister all its schemas.

case-sensitive search impossible, DjVu search broken

Orginal report at fedora bugzilla.
https://bugzilla.redhat.com/show_bug.cgi?id=999912

Frantisek Hanzlik 2013-08-22 07:13:01 EDT

Description of problem:
Any text document viewer should be capable do (optional) case-sensitive search,
but it seems as Atril lacks this functionality, and searching is implemented somehow badly. Concretely:

  • button/checkbox for specifying case-significant/caseless searching missing (tested on PDF and DjVu documents)
  • entering text with upper-case character in "Find:" results to not finding
    text in document, although this text is there! (tested with DjVu document)

Version-Release number of selected component (if applicable):
mate-document-viewer-1.6.1-5.fc19

Expected results:
Searching function should be able do at least optional case-sensitive/nonsensitive search, eventualy more advanced search options as searching text on word boundary, searching by regexp etc.

Broken searching in DJVU documents should be corrected (e.g. djview4 DjVu viewer search docoments without problems)

warning: converting to non-pointer type 'gboolean {aka int}' from NULL [-Wconversion-null]

 * QA Notice: Package triggers severe warnings which indicate that it
 *            may exhibit random runtime failures.
 * ev-poppler.cc:2072:2: warning: converting to non-pointer type 'gboolean {aka int}' from NULL [-Wconversion-null]

Per discussion with @stefano-k here is a bug report on the QA warning in Gentoo. Below is the standard output of my gentoo enviroment which should have all you need.

$ emerge --info
Portage 2.1.12.2 (default/linux/amd64/13.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.10.3-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.10.3-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    14810356 total,   2421120 free
KiB Swap:    8388604 total,   8372292 free
Timestamp of tree: Tue, 30 Jul 2013 15:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5, 3.1.5-r1, 3.2.5-r1
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.14
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo bitcoin x11 sunrise mate-overlay infirit
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="nl_NL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/bitcoin /var/lib/layman/x11 /var/lib/layman/sunrise /home/sander/repos/mate-overlay /home/sander/repos/infirit"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth bluray branding bzip2 cairo caja cdda cddb cdr cjk cli consolekit cracklib crypt cue cups curl cxx dbus device-mapper dri dts dv dvd dvdr egl emboss encode exif faac faad fam ffmpeg firefox flac fontconfig fontforge fortran gdbm gif gles gles2 gmp gnome-keyring gpm gstreamer gtk hires-icons iconv icu idn ipv6 jpeg kerberos lame lcms ldap libnotify lm_sensors lzma lzo mad mate mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib musepack musicbrainz ncurses networkmanager nls nptl nsplugin offensive ogg openal opengl openldap openmp opus osmesa pam pango pch pcre pdf png policykit ppds ppp pulseaudio python qt3support qt4 readline rle samba sasl scanner schroedinger sdl session sndfile speex spell sse sse2 sse3 sse4_1 ssl ssse3 startup-notification svg tcpd telepathy theora threads tiff truetype udev udisks unicode upower usb usbredir v4l vaapi vdpau vorbis vpx wavpack webp wxwidgets x264 xcb xml xmp xscreensaver xv xvid xvmc zeroconf zlib" ABI_X86="32 64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias auth_digest dav_fs authn_file dav authz_groupfile" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" ENLIGHTENMENT_MODULES="backlight battery clock comp conf-applications conf-dialogs conf-display conf-edgebindings conf-interaction conf-intl conf-keybindings conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers connman cpufreq dropshadow everything fileman fileman-opinfo gadman ibar ibox illume2 mixer msgbus notification pager quickaccess start syscon systray tasks temperature tiling winlist wizard xkbswitch access shot mate-keyring" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="efi-64 efi-32 pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB nl" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_1 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel radeon fbdev vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.1 3.2"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

impress (odp) backend is broken

I don't see any thumbnails for PDF anymore ( I removed my cache in .thumbnails).

Is there a way to control the number of "preview workers" atril-thumbnailer are strated in my session?

Crash or freeze when open some specific files

ATRIL crashes or freezes some seconds after open some specific files. ATRIL open most of my PDF files, but some of them crashes or freezes ATRIL. I scroll down/up with the sidebar or select some bookmark, then it crashes or freezes (it freeze most of times, sometimes crash).

I tested to open this file in:

  • Atril 1.6.0 - open, but crashes/freezes when scroll down/up or select bookmark
  • Evince 3.4.0-3.1 - open, but crashes/freezes when scroll down/up or select bookmark
  • Acrobat Reader 8.1.7 - OK, file open, scroll down/up and bookmarks ok, no crash/freeze
  • Okular 0.14.3 - OK, file open, scroll down/up and bookmarks ok, no crash/freeze

I did a: "sudo aptitude reinstall atril atril-common", but it still happens.

This is the file:
https://www.dropbox.com/s/jikokn6s4o0cpab/D%26D%201st.ed.%20%281974%29%20-%20All%20in%20One.pdf

Wrong directory for icons

With 1.6.1 version, icons are installed in usr/share/mate-document-viewer/icons instead of standard usr/share/icons . Please fix it

Atril doesn't remember window size

Orginal report at fedora bugzilla.
https://bugzilla.redhat.com/show_bug.cgi?id=1026576

D. Wagner 2013-11-04 20:34:02 EST

Description of problem:

Atril doesn't remember the size of the window that I last used to view the last document. It always opens a window of the same size, and that default size is very small (possibly related to the fact that I have a large, 2560x1600 pixel display).

This is annoying. It means that the first thing I have to do after opening a document in atril is grab the lower-right corner of the window and resize it to be larger. That shouldn't be necessary. I have to do this, for every single atril window I ever open. It's darn annoying!

Evince didn't have this problem for me: I think it must have been remembering the previous window size from the last invocation of evince, so I only had to resize evince once and then it would remember that for me, or something. However it worked, I got large-sized windows when using evince and didn't have to constantly resize every single evince window I ever opened. So, atril is a step backwards for me, compared to evince.

(Yes, I have been using Edit >> Save Current Settings as Default in the atril menus, but this does not cause atril to remember the size of the window when opening a new PDF document.)

For discussion of this in evince, see e.g.

https://mail.gnome.org/archives/evince-list/2005-August/msg00025.html

as well as

https://bugzilla.gnome.org/show_bug.cgi?id=606090
https://bugzilla.redhat.com/show_bug.cgi?id=626410

I don't get any errors on stderr when running atril on the command line.

Version-Release number of selected component (if applicable):

mate-document-viewer-1.6.1-6.fc19.x86_64
mate-desktop-1.6.2-0.5.git81c245b.fc19.x86_64
dbus-1.6.12-1.fc19.x86_64
dbus-glib-0.100-5.fc19.x86_64
gvfs-1.16.3-2.fc19.x86_64

confirmed by raveit65

Ctrl-A in search field

Pressing Ctrl-A (Select all) while typing in search field will select document text and not text in search field. This makes it hard to quickly replace the current text in search field

Textfields improperly highlighted

Atril 1.6.2
Fedora 20

Text fields are blacked out: background is same color as foreground. Printed object presents the same way. Selecting field disables highlighting for editing.
Saving copy after editing causes form to be incorrectly presented in Adobe Reader 9.

The fresh form presents correctly in Linux Adobe Reader 9. Text fields are correctly highlighted and highlighting is removed when text field is selected. There is a banner with button that disables highlighting when clicked. Printing object correctly presents text fields as highlighted, not blacked out as with Atril.

If the form is first edited with Atril, saved, then opened with Adobe Reader 9, Adobe Reader then presents form and print object similar to Atril: Text fields are blacked out.

In Atril, the banner with the "Disable Highlighting" button is not displayed. Highlighting cannot be disabled as with Adobe Reader.

The form can be downloaded from: http://www.dol.wa.gov/forms/420073.pdf

Info that might be relevant:
Properties of file;
PDF producer: Adobe PDF library 10.0.1
PDF version 1.7 Adobe extension level 3 (Acrobat 9.x)
Application: Adobe InDesign CS6 (Windows)

Ernie D

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29762472-textfields-improperly-highlighted?utm_campaign=plugin&utm_content=tracker%2F1323318&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1323318&utm_medium=issues&utm_source=github).

[Arch Linux] Cannot open libmate-keyring.so.0

$ atril some.pdf
atril: error while loading shared libraries: libmate-keyring.so.0: cannot open shared object file: No such file or directory

$ pacman -Ql libmatekeyring | grep .so
libmatekeyring /usr/lib/libmate-keyring.so
libmatekeyring /usr/lib/libmate-keyring.so.1
libmatekeyring /usr/lib/libmate-keyring.so.1.0.1

$ pacman -Q mate-document-viewer libmatekeyring
mate-document-viewer 1.1.1-1
libmatekeyring 1.1.0-1

Creating the symlink solves the problem.

add ePub backend

Hi; first of all thanks a lot for MATE, it's just awesome.

I was wondering if it's possible to make Atril read ePub files. It's an open format after all...

I imagine that this won't probably be a priority, but I guess that everything improving the original forked software is good right?

test cases fail on debian wheezy

Here is the output:

[31] :~/mate-build/mate-document-viewer  [private]  $ make check
Making check in cut-n-paste
make[1]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/cut-n-paste'
Making check in zoom-control
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/cut-n-paste/zoom-control'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/cut-n-paste/zoom-control'
Making check in toolbar-editor
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/cut-n-paste/toolbar-editor'
make  check-am
make[3]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/cut-n-paste/toolbar-editor'
make[3]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/cut-n-paste/toolbar-editor'
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/cut-n-paste/toolbar-editor'
Making check in totem-screensaver
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/cut-n-paste/totem-screensaver'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/cut-n-paste/totem-screensaver'
Making check in smclient
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/cut-n-paste/smclient'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/cut-n-paste/smclient'
Making check in gimpcellrenderertoggle
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/cut-n-paste/gimpcellrenderertoggle'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/cut-n-paste/gimpcellrenderertoggle'
Making check in synctex
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/cut-n-paste/synctex'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/cut-n-paste/synctex'
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/cut-n-paste'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/cut-n-paste'
make[1]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/cut-n-paste'
Making check in data
make[1]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data'
Making check in icons
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons'
Making check in 16x16
make[3]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/16x16'
Making check in actions
make[4]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/16x16/actions'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/16x16/actions'
Making check in apps
make[4]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/16x16/apps'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/16x16/apps'
Making check in mimetypes
make[4]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/16x16/mimetypes'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/16x16/mimetypes'
make[4]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/16x16'
make[4]: Nothing to be done for `check-am'.
make[4]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/16x16'
make[3]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/16x16'
Making check in 22x22
make[3]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/22x22'
Making check in actions
make[4]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/22x22/actions'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/22x22/actions'
Making check in apps
make[4]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/22x22/apps'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/22x22/apps'
Making check in mimetypes
make[4]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/22x22/mimetypes'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/22x22/mimetypes'
make[4]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/22x22'
make[4]: Nothing to be done for `check-am'.
make[4]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/22x22'
make[3]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/22x22'
Making check in 24x24
make[3]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/24x24'
Making check in actions
make[4]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/24x24/actions'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/24x24/actions'
Making check in apps
make[4]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/24x24/apps'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/24x24/apps'
Making check in mimetypes
make[4]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/24x24/mimetypes'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/24x24/mimetypes'
make[4]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/24x24'
make[4]: Nothing to be done for `check-am'.
make[4]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/24x24'
make[3]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/24x24'
Making check in 32x32
make[3]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/32x32'
Making check in actions
make[4]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/32x32/actions'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/32x32/actions'
Making check in mimetypes
make[4]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/32x32/mimetypes'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/32x32/mimetypes'
make[4]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/32x32'
make[4]: Nothing to be done for `check-am'.
make[4]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/32x32'
make[3]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/32x32'
Making check in 48x48
make[3]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/48x48'
Making check in actions
make[4]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/48x48/actions'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/48x48/actions'
Making check in apps
make[4]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/48x48/apps'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/48x48/apps'
make[4]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/48x48'
make[4]: Nothing to be done for `check-am'.
make[4]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/48x48'
make[3]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/48x48'
Making check in scalable
make[3]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/scalable'
Making check in actions
make[4]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/scalable/actions'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/scalable/actions'
Making check in apps
make[4]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/scalable/apps'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/scalable/apps'
Making check in mimetypes
make[4]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/scalable/mimetypes'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/scalable/mimetypes'
make[4]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/scalable'
make[4]: Nothing to be done for `check-am'.
make[4]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/scalable'
make[3]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons/scalable'
make[3]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons'
make[3]: Nothing to be done for `check-am'.
make[3]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons'
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data/icons'
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/data'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data'
make[1]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/data'
Making check in libdocument
make[1]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/libdocument'
make  check-am
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/libdocument'
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/libdocument'
make[1]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/libdocument'
Making check in backend
make[1]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/backend'
Making check in pdf
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/backend/pdf'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/backend/pdf'
Making check in ps
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/backend/ps'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/backend/ps'
Making check in djvu
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/backend/djvu'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/backend/djvu'
Making check in tiff
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/backend/tiff'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/backend/tiff'
Making check in dvi
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/backend/dvi'
Making check in mdvi-lib
make[3]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/backend/dvi/mdvi-lib'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/backend/dvi/mdvi-lib'
make[3]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/backend/dvi'
make[3]: Nothing to be done for `check-am'.
make[3]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/backend/dvi'
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/backend/dvi'
Making check in comics
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/backend/comics'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/backend/comics'
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/backend'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/backend'
make[1]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/backend'
Making check in libview
make[1]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/libview'
make  check-am
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/libview'
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/libview'
make[1]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/libview'
Making check in libmisc
make[1]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/libmisc'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/libmisc'
Making check in properties
make[1]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/properties'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/properties'
Making check in shell
make[1]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/shell'
make  check-am
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/shell'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/shell'
make[1]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/shell'
Making check in po
make[1]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/po'
rm -f missing notexist
srcdir=. /usr/bin/intltool-update -m
if [ -r missing -o -r notexist ]; then \
      exit 1; \
    fi
make[1]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/po'
Making check in help
make[1]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/help'
Making check in reference
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/help/reference'
Making check in libdocument
make[3]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/help/reference/libdocument'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/help/reference/libdocument'
Making check in libview
make[3]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/help/reference/libview'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/help/reference/libview'
Making check in shell
make[3]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/help/reference/shell'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/help/reference/shell'
make[3]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/help/reference'
make[3]: Nothing to be done for `check-am'.
make[3]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/help/reference'
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/help/reference'
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/help'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/help'
for lc in C bg ca cs de el en_GB es eu fi fr it ja nl oc pt_BR ru sl sr sv uk vi zh_CN; do \
      if test -d "$lc"; \
        then d=; \
        xmlpath="$lc"; \
      else \
        d="./"; \
        xmlpath="$lc:./$lc"; \
      fi; \
      for page in index.docbook legal.xml; do \
        echo "xmllint --noout --noent --path $xmlpath --xinclude $d$lc/$page"; \
        xmllint --noout --noent --path "$xmlpath" --xinclude "$d$lc/$page"; \
      done; \
    done
xmllint --noout --noent --path C --xinclude C/index.docbook
xmllint --noout --noent --path C --xinclude C/legal.xml
xmllint --noout --noent --path bg --xinclude bg/index.docbook
xmllint --noout --noent --path bg --xinclude bg/legal.xml
xmllint --noout --noent --path ca --xinclude ca/index.docbook
xmllint --noout --noent --path ca --xinclude ca/legal.xml
xmllint --noout --noent --path cs --xinclude cs/index.docbook
xmllint --noout --noent --path cs --xinclude cs/legal.xml
xmllint --noout --noent --path de --xinclude de/index.docbook
xmllint --noout --noent --path de --xinclude de/legal.xml
xmllint --noout --noent --path el --xinclude el/index.docbook
xmllint --noout --noent --path el --xinclude el/legal.xml
xmllint --noout --noent --path en_GB --xinclude en_GB/index.docbook
xmllint --noout --noent --path en_GB --xinclude en_GB/legal.xml
xmllint --noout --noent --path es --xinclude es/index.docbook
xmllint --noout --noent --path es --xinclude es/legal.xml
xmllint --noout --noent --path eu --xinclude eu/index.docbook
xmllint --noout --noent --path eu --xinclude eu/legal.xml
xmllint --noout --noent --path fi --xinclude fi/index.docbook
xmllint --noout --noent --path fi --xinclude fi/legal.xml
xmllint --noout --noent --path fr --xinclude fr/index.docbook
xmllint --noout --noent --path fr --xinclude fr/legal.xml
xmllint --noout --noent --path it --xinclude it/index.docbook
xmllint --noout --noent --path it --xinclude it/legal.xml
xmllint --noout --noent --path ja --xinclude ja/index.docbook
xmllint --noout --noent --path ja --xinclude ja/legal.xml
xmllint --noout --noent --path nl --xinclude nl/index.docbook
xmllint --noout --noent --path nl --xinclude nl/legal.xml
xmllint --noout --noent --path oc --xinclude oc/index.docbook
xmllint --noout --noent --path oc --xinclude oc/legal.xml
xmllint --noout --noent --path pt_BR --xinclude pt_BR/index.docbook
xmllint --noout --noent --path pt_BR --xinclude pt_BR/legal.xml
xmllint --noout --noent --path ru --xinclude ru/index.docbook
xmllint --noout --noent --path ru --xinclude ru/legal.xml
xmllint --noout --noent --path sl --xinclude sl/index.docbook
xmllint --noout --noent --path sl --xinclude sl/legal.xml
xmllint --noout --noent --path sr --xinclude sr/index.docbook
xmllint --noout --noent --path sr --xinclude sr/legal.xml
xmllint --noout --noent --path sv --xinclude sv/index.docbook
xmllint --noout --noent --path sv --xinclude sv/legal.xml
xmllint --noout --noent --path uk --xinclude uk/index.docbook
xmllint --noout --noent --path uk --xinclude uk/legal.xml
xmllint --noout --noent --path vi --xinclude vi/index.docbook
xmllint --noout --noent --path vi --xinclude vi/legal.xml
xmllint --noout --noent --path zh_CN --xinclude zh_CN/index.docbook
xmllint --noout --noent --path zh_CN --xinclude zh_CN/legal.xml
make[1]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/help'
Making check in test
make[1]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/test'
make  test1.py test2.py test3.py test4.py test5.py
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/test'
make[2]: Nothing to be done for `test1.py'.
make[2]: Nothing to be done for `test2.py'.
make[2]: Nothing to be done for `test3.py'.
make[2]: Nothing to be done for `test4.py'.
make[2]: Nothing to be done for `test5.py'.
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/test'
make  check-TESTS
make[2]: Entering directory `/home/ozdeb/mate-build/mate-document-viewer/test'
Creating logfile at /tmp/dogtail-ozdeb/logs/test1_20130927-011918_debug ...
Mouse button 1 click at (22,80)
Warning: ./test1.py:14: The requested widget could not be focused: child with name="Open..." roleName='menu item':
  click('Open...', roleName='menu item')

Traceback (most recent call last):
  File "./test1.py", line 14, in <module>
    click('Open...', roleName='menu item')
  File "/usr/lib/python2.7/dist-packages/dogtail/procedural.py", line 327, in __call__
    Click.node.click(button)
AttributeError: 'NoneType' object has no attribute 'click'

FAIL: test1.py
Command Line Error: Incorrect password
Creating logfile at /tmp/dogtail-ozdeb/logs/test2_20130927-011920_debug ...
searching for child of [application | atril]: "Enter password" dialog (attempt 3)
searching for child of [application | atril]: "Enter password" dialog (attempt 4)
searching for child of [application | atril]: "Enter password" dialog (attempt 5)
searching for child of [application | atril]: "Enter password" dialog (attempt 6)
searching for child of [application | atril]: "Enter password" dialog (attempt 7)
searching for child of [application | atril]: "Enter password" dialog (attempt 8)
Command Line Error: Incorrect password
searching for child of [application | atril]: "Enter password" dialog (attempt 9)
searching for child of [application | atril]: "Enter password" dialog (attempt 10)
searching for child of [application | atril]: "Enter password" dialog (attempt 11)
searching for child of [application | atril]: "Enter password" dialog (attempt 12)
searching for child of [application | atril]: "Enter password" dialog (attempt 13)
searching for child of [application | atril]: "Enter password" dialog (attempt 14)
Command Line Error: Incorrect password
searching for child of [application | atril]: "Enter password" dialog (attempt 15)
searching for child of [application | atril]: "Enter password" dialog (attempt 16)
searching for child of [application | atril]: "Enter password" dialog (attempt 17)
searching for child of [application | atril]: "Enter password" dialog (attempt 18)
searching for child of [application | atril]: "Enter password" dialog (attempt 19)
Warning: ./test2.py:14: The requested widget could not be focused: "Enter password" dialog:
  focus.dialog('Enter password')

Warning: ./test2.py:15: The requested widget could not be focused: child with name="Password Entry" roleName='password text':
  focus.widget('Password Entry', roleName='password text')


(atril:25453): Gtk-CRITICAL **: IA__gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(atril:25453): Gtk-CRITICAL **: IA__gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(atril:25453): Gtk-CRITICAL **: IA__gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(atril:25453): Gtk-CRITICAL **: IA__gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(atril:25453): Gtk-CRITICAL **: IA__gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(atril:25453): Gtk-CRITICAL **: IA__gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(atril:25453): Gtk-CRITICAL **: IA__gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
Warning: ./test2.py:17: The requested widget could not be focused: child with name="Unlock Document" roleName='push button':
  click('Unlock Document', roleName='push button')

Traceback (most recent call last):
  File "./test2.py", line 17, in <module>
    click('Unlock Document', roleName='push button')
  File "/usr/lib/python2.7/dist-packages/dogtail/procedural.py", line 327, in __call__
    Click.node.click(button)
AttributeError: 'NoneType' object has no attribute 'click'

FAIL: test2.py
Creating logfile at /tmp/dogtail-ozdeb/logs/test3_20130927-011932_debug ...
Mouse button 1 click at (22,80)
Mouse button 1 click at (197,340)
PASS: test3.py
Creating logfile at /tmp/dogtail-ozdeb/logs/test4_20130927-011935_debug ...
Mouse button 1 click at (98,80)
Mouse button 1 click at (-2147483648,-2147483648)
Mouse button 1 click at (98,80)
Mouse button 1 click at (-2147483648,-2147483648)
Mouse button 1 click at (98,80)
Mouse button 1 click at (-2147483648,-2147483648)
Mouse button 1 click at (98,80)
Mouse button 1 click at (-2147483648,-2147483648)
Mouse button 1 click at (98,80)
Mouse button 1 click at (-2147483648,-2147483648)
Mouse button 1 click at (22,80)
Mouse button 1 click at (197,340)
PASS: test4.py
Creating logfile at /tmp/dogtail-ozdeb/logs/test5_20130927-011948_debug ...
activate on [text | page-label-entry]
Warning: Cannot activate [text | page-label-entry]. It is not sensitive.

(atril:25437): AtrilDocument-CRITICAL **: ev_document_get_n_pages: assertion `EV_IS_DOCUMENT (document)' failed

(atril:25437): AtrilDocument-CRITICAL **: ev_document_get_n_pages: assertion `EV_IS_DOCUMENT (document)' failed

(atril:25437): AtrilDocument-CRITICAL **: ev_document_has_text_page_labels: assertion `EV_IS_DOCUMENT (document)' failed
Mouse button 1 click at (22,80)
Mouse button 1 click at (197,340)
FAIL: test5.py
=============================================
3 of 5 tests failed
Please report to http://www.mate-desktop.org/
=============================================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/test'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/ozdeb/mate-build/mate-document-viewer/test'
make: *** [check-recursive] Error 1

1.5.0 - Build from source broken

I've runned against a build issue with Atril/Mate Document Viewer, build from source is broken if parallel builds are enabled (ex: make -j4).

If parallel builds are disabled, then the software builds fine. We need a fix :)

Duplex option ignored when printing from atril

When I'm printing a pdf from atril, the printer always does what the default duplex option says, not what I set in the print job. Example: Default printer option duplex is set to "two sided, long edge binding", but in the print job I choose "one sided", the printer will do two sided anyway. It's the same vice versa.

I first thought it's a problem in the printer installation, but I figured that it seems to be atril: I installed evince and xpdf, and in both it is not a problem at all, the printer does what the job option for duplex says.

Using Atril 1.6.0 on debian 7.2

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38277982-duplex-option-ignored-when-printing-from-atril?utm_campaign=plugin&utm_content=tracker%2F1323318&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1323318&utm_medium=issues&utm_source=github).

1.7.2-2 Error opening file: No such file or directory

After opening one .pdf file, I cannot open another .pdf file from within atril and it returns "Error opening file: No such file or directory".

However, if I have a .pdf file open, I can open another one from the file manager.

Find behaviour in presentation mode

I am using atril 1.6.0.

When using the find bar in presentation mode, and the entered text is not found on the current page but another, it indicates that "x found on this page" nevertheless. One has to click on the current page content area to switch to the page where the text was actually found.

Also, if there is no highlighting of found occurrences in presentation mode, the "find previous" and "find next" buttons make little sense when there are at least 2 occurrences. So, there should either be highlighting or buttons that switch to the previous or next page with occurrences.

Unable to build on Archlinux, libICE troubles

/usr/bin/ld: ../cut-n-paste/smclient/.libs/libsmclient.a(libsmclient_la-eggsmclient-xsmp.o): undefined reference to symbol 'IceConnectionNumber'
/usr/bin/ld: note: 'IceConnectionNumber' is defined in DSO /usr/lib/libICE.so.6 so try adding it to the linker command line
/usr/lib/libICE.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

mate-document-viewer: create_thumbnail_frame(): atril killed by SIGABRT

fedora bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1046379

 Eswara Arun Kishore 2013-12-24 21:26:59 EST

Description of problem:
I tried to open a DJVU file with atril. The action was right-click - open

Version-Release number of selected component:
mate-document-viewer-1.6.1-7.fc19

Additional info:
reporter:       libreport-2.1.10
backtrace_rating: 4
crash_function: create_thumbnail_frame
executable:     /usr/bin/atril
kernel:         3.12.5-200.fc19.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #4 create_thumbnail_frame at ev-document-misc.c:59
 #5 ev_document_misc_get_loading_thumbnail at ev-document-misc.c:110
 #6 ev_sidebar_thumbnails_get_loading_icon at ev-sidebar-thumbnails.c:345
 #7 ev_sidebar_thumbnails_fill_model at ev-sidebar-thumbnails.c:577
 #8 ev_sidebar_thumbnails_document_changed_cb at ev-sidebar-thumbnails.c:867
 #14 g_object_notify_by_spec_internal at gobject.c:1136
 #15 g_object_notify at gobject.c:1178
 #16 ev_document_model_set_document at ev-document-model.c:306
 #17 ev_window_load_job_cb at ev-window.c:1529
 #18 _g_closure_invoke_va at gclosure.c:840

backtrace:
https://bugzilla.redhat.com/attachment.cgi?id=841373
core_backtrace:
https://bugzilla.redhat.com/attachment.cgi?id=841375

print-preview tries to execute evince

When running atril from a terminal and attempting a print-preview, the following gets output: "Gtk-WARNING **: Error launching preview Failed to execute child process "evince" (No such file or directory)". Oddly enough, there are no references to evince or gnome-document-viewer, so I'm not sure what's causing this error.

[OBS-build] Build failure due to depreciations

These depreciations break build for OpenSuse >= 12.2

 ephy-zoom-control.c: In function 'ephy_zoom_control_class_init':
ephy-zoom-control.c:276:20: warning: variable 'tool_item_class' set but not used [-Wunused-but-set-variable]

 egg-toolbars-model.c: In function 'egg_toolbars_model_class_init':
egg-toolbars-model.c:678:18: warning: variable 'flags_type' set but not used [-Wunused-but-set-variable]
volatile GType flags_type; /* work around gcc's optimiser */

synctex_parser.c: In function 'synctex_updater_new_with_output_file':
synctex_parser.c:4098:2: warning: passing argument 4 of '_synctex_open' from incompatible pointer type [enabled by default]
if(_synctex_open(output,build_directory,&synctex,&SYNCTEX_FILE,synctex_NO,&io_mode)

synctex_parser.c:2664:5: note: expected 'struct gzFile_s **' but argument is of type 'void **'
int _synctex_open(const char * output, const char * build_directory, char ** synctex_name_ref, gzFile * file_ref, synctex_bool_t add_quotes, synctex_io_mode_t * io_modeRef) {
     ^
synctex_parser.c:4099:3: warning: passing argument 4 of '_synctex_open' from incompatible pointer type [enabled by default]
 && _synctex_open(output,build_directory,&synctex,&SYNCTEX_FILE,synctex_YES,&io_mode)) {
  ^
synctex_parser.c:2664:5: note: expected 'struct gzFile_s **' but argument is of type 'void **'
int _synctex_open(const char * output, const char * build_directory, char ** synctex_name_ref, gzFile * file_ref, synctex_bool_t add_quotes, synctex_io_mode_t * io_modeRef) {

ev-document.c: In function 'ev_document_get_doc_mutex':
ev-document.c:164:3: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) [-Wdeprecated-declarations]
   ev_doc_mutex = g_mutex_new ();
   ^
ev-document.c: In function 'ev_document_get_fc_mutex':
ev-document.c:191:3: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) [-Wdeprecated-declarations]
 ev_fc_mutex = g_mutex_new ();
  ^
 ev-document.c: In function 'ev_document_info_free':
ev-document.c:757:48: warning: comparison between pointer and integer [enabled by default]
  if (info->linearized != 0 && info->linearized != 1)

ev-file-helpers.c: In function '_ev_tmp_dir':
ev-file-helpers.c:89:25: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
                prgname = g_get_prgname ();
                       ^
ev-mapping-list.c: In function 'ev_mapping_list_unref':
ev-mapping-list.c:139:2: warning: 'g_atomic_int_exchange_and_add' is deprecated (declared at /usr/include/glib-2.0/glib/gatomic.h:82): Use 'g_atomic_add' instead [-Wdeprecated-declarations]
if (g_atomic_int_exchange_and_add (&mapping_list->ref_count, -1) - 1 == 0) {

ev-poppler.cc: In function 'EvLink* ev_link_from_action(PdfDocument*, PopplerAction*)':
ev-poppler.cc:1096:9: warning: enumeration value 'POPPLER_ACTION_JAVASCRIPT' not handled in switch [-Wswitch]
 switch (action->type) {
         ^
ev-poppler.cc: In function 'gboolean pdf_document_text_get_text_layout(EvDocumentText*, EvPage*, EvRectangle**, guint*)':
ev-poppler.cc:2072:2: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
 g_return_val_if_fail (POPPLER_IS_PAGE (page->backend_page), NULL);
  ^

tiff2ps.c: In function 'PS_Lvl2page':
tiff2ps.c:1131:4: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'tsize_t' [-Wformat=]
  chunk_size, tiled_image ? "tiles" : "strips");

tfmfile.c: In function 'ofm1_load_file':
tfmfile.c:300:6: warning: variable 'lf' set but not used [-Wunused-but-set-variable]
  int lf, lh, bc, ec, nw, nh, nd;
      ^
tfmfile.c: In function 'ofm_load_file':
tfmfile.c:516:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
   fread(info->coding, 39, 1, in);
        ^
tfmfile.c:525:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
    fread(info->family, i, 1, in);
         ^
tfmfile.c: In function 'ofm1_load_file':
tfmfile.c:339:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
   fread(info->coding, 39, 1, in);
        ^
tfmfile.c:348:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
    fread(info->family, i, 1, in);
         ^
vf.c: In function 'vf_load_font':
vf.c:121:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
   fread(name, 1, n, p);

dvi-document.c: In function 'dvi_document_class_init':
dvi-document.c:260:2: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) [-Wdeprecated-declarations]
  dvi_context_mutex = g_mutex_new ();
  ^
dvi-document.c: In function 'dvi_document_do_color_special':
dvi-document.c:480:31: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
         *blue  = (guchar)floor(b * 255.0);
                               ^
dvi-document.c:436:36: note: 'b' was declared here
         float i, f, p, q, t, r, g, b;
                                    ^
dvi-document.c:479:31: warning: 'g' may be used uninitialized in this function [-Wmaybe-uninitialized]
         *green = (guchar)floor(g * 255.0);
                               ^
dvi-document.c:436:33: note: 'g' was declared here
         float i, f, p, q, t, r, g, b;
                                 ^
dvi-document.c:478:31: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
         *red   = (guchar)floor(r * 255.0);
                               ^
dvi-document.c:436:30: note: 'r' was declared here
         float i, f, p, q, t, r, g, b;
                              ^

ev-view.c: In function 'compute_scroll_increment':
ev-view.c:841:2: warning: passing argument 1 of 'cairo_region_create_rectangle' from incompatible pointer type [enabled by default]
 region = cairo_region_create_rectangle (&rect);

g-ir-scanner: warning: Option --strip-prefix has been deprecated;
see --identifier-prefix and --symbol-prefix.

Blurred barcodes when printing

I was printing a boarding pass and noticed that the barcode is blurred. Using the same pdf and printer on windows the barcode prints correctly. Printing with lpr also produces correct result.

Using Atril 1.6.0 on Linux Mint 15.

atril barcode blurring

build issue GTK2 with git snapshot from 2014.01.21

DEBUG: Making all in totem-screensaver
DEBUG: make[3]: Entering directory `/builddir/build/BUILD/atril-a3386c29ef7d0ee53e6504063a2c7385e3f111cd/cut-n-paste/totem-screensaver'
DEBUG: /bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..    -pthread -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include      -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -c -o libtotemscrsaver_la-totem-scrsaver.lo `test -f 'totem-scrsaver.c' || echo './'`totem-scrsaver.c
DEBUG: libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c totem-scrsaver.c  -fPIC -DPIC -o .libs/libtotemscrsaver_la-totem-scrsaver.o
DEBUG: /bin/sh ../../libtool  --tag=CC   --mode=link gcc -pthread -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include      -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic  -Wl,-z,relro  -o libtotemscrsaver.la  libtotemscrsaver_la-totem-scrsaver.lo  -lm 
DEBUG: libtool: link: ar cru .libs/libtotemscrsaver.a .libs/libtotemscrsaver_la-totem-scrsaver.o 
DEBUG: libtool: link: ranlib .libs/libtotemscrsaver.a
DEBUG: libtool: link: ( cd ".libs" && rm -f "libtotemscrsaver.la" && ln -s "../libtotemscrsaver.la" "libtotemscrsaver.la" )
DEBUG: make[3]: Leaving directory `/builddir/build/BUILD/atril-a3386c29ef7d0ee53e6504063a2c7385e3f111cd/cut-n-paste/totem-screensaver'
DEBUG: Making all in smclient
DEBUG: make[3]: Entering directory `/builddir/build/BUILD/atril-a3386c29ef7d0ee53e6504063a2c7385e3f111cd/cut-n-paste/smclient'
DEBUG: /bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -DG_LOG_DOMAIN=\""EggSMClient"\"   -DEGG_SM_CLIENT_BACKEND_XSMP  -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include    -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -c -o libsmclient_la-eggsmclient.lo `test -f 'eggsmclient.c' || echo './'`eggsmclient.c
DEBUG: /bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -DG_LOG_DOMAIN=\""EggSMClient"\"   -DEGG_SM_CLIENT_BACKEND_XSMP  -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include    -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -c -o libsmclient_la-eggdesktopfile.lo `test -f 'eggdesktopfile.c' || echo './'`eggdesktopfile.c
DEBUG: /bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -DG_LOG_DOMAIN=\""EggSMClient"\"   -DEGG_SM_CLIENT_BACKEND_XSMP  -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include    -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -c -o libsmclient_la-eggsmclient-xsmp.lo `test -f 'eggsmclient-xsmp.c' || echo './'`eggsmclient-xsmp.c
DEBUG: libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"EggSMClient\" -DEGG_SM_CLIENT_BACKEND_XSMP -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c eggsmclient-xsmp.c  -fPIC -DPIC -o .libs/libsmclient_la-eggsmclient-xsmp.o
DEBUG: libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"EggSMClient\" -DEGG_SM_CLIENT_BACKEND_XSMP -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c eggsmclient.c  -fPIC -DPIC -o .libs/libsmclient_la-eggsmclient.o
DEBUG: libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"EggSMClient\" -DEGG_SM_CLIENT_BACKEND_XSMP -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c eggdesktopfile.c  -fPIC -DPIC -o .libs/libsmclient_la-eggdesktopfile.o
DEBUG: eggsmclient.c: In function 'egg_sm_client_get':
DEBUG: eggsmclient.c:333:4: warning: implicit declaration of function 'egg_sm_client_xsmp_new' [-Wimplicit-function-declaration]
DEBUG:     global_client = egg_sm_client_xsmp_new ();
DEBUG:     ^
DEBUG: eggsmclient.c:333:18: warning: assignment makes pointer from integer without a cast [enabled by default]
DEBUG:     global_client = egg_sm_client_xsmp_new ();
DEBUG:                   ^
DEBUG: eggsmclient-xsmp.c: In function 'sm_client_xsmp_startup':
DEBUG: eggsmclient-xsmp.c:370:23: error: missing binary operator before token "("
DEBUG:  #if GTK_CHECK_VERSION (2, 24, 0)
DEBUG:                        ^
DEBUG: make[3]: *** [libsmclient_la-eggsmclient-xsmp.lo] Error 1
DEBUG: make[3]: Leaving directory `/builddir/build/BUILD/atril-a3386c29ef7d0ee53e6504063a2c7385e3f111cd/cut-n-paste/smclient'
DEBUG: make[2]: *** [all-recursive] Error 1
DEBUG: make[2]: Leaving directory `/builddir/build/BUILD/atril-a3386c29ef7d0ee53e6504063a2c7385e3f111cd/cut-n-paste'
DEBUG: make[1]: *** [all-recursive] Error 1
DEBUG: make[1]: Leaving directory `/builddir/build/BUILD/atril-a3386c29ef7d0ee53e6504063a2c7385e3f111cd'
DEBUG: make: *** [all] Error 2
DEBUG: Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.rqLM7m (%build)
DEBUG: Fehler beim Bauen des RPM:
DEBUG:     Fehler-Status beim Beenden von /var/tmp/rpm-tmp.rqLM7m (%build)
DEBUG: Child return code was: 1
INFO: EXCEPTION: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps  builddir/build/SPECS/atril.spec']
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 70, in trace
    result = func(*args, **kw)
  File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 376, in do
    raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps  builddir/build/SPECS/atril.spec']
INFO: LEAVE do --> EXCEPTION RAISED

complete build log: https://dl.dropboxusercontent.com/u/49862637/Mate-desktop/Bugs/atril-build-issue

Note, building with GTK3 works well with that snapshot.

Building from 1.7.0 release GTK2 fails too, but different issue.

DEBUG: -DATRIL_COMPILATION \
DEBUG: ev-document-model.h ev-jobs.h ev-job-scheduler.h ev-print-operation.h ev-stock-icons.h ev-view.h ev-view-presentation.h ev-view-type-builtins.h \
DEBUG: ev-annotation-window.c ev-document-model.c ev-loading-window.c ev-jobs.c ev-job-scheduler.c ev-page-cache.c ev-pixbuf-cache.c ev-print-operation.c ev-stock-icons.c ev-timeline.c ev-transition-animation.c ev-view.c ev-view-accessible.c ev-view-marshal.c ev-view-cursor.c ev-view-presentation.c ev-view-type-builtins.c
DEBUG: g-ir-scanner: warning: Option --strip-prefix has been deprecated;
DEBUG: see --identifier-prefix and --symbol-prefix.
DEBUG: g-ir-scanner: compile: gcc -Wall -Wno-deprecated-declarations -pthread -I/usr/include/atril/1.5.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/builddir/build/BUILD/atril-1.7.0 -I/builddir/build/BUILD/atril-1.7.0 -I/usr/include/atril/1.5.0 -I/usr/include/gio-unix-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o /builddir/build/BUILD/atril-1.7.0/libview/tmp-introspectGeLTfe/AtrilView-1.5.0.o /builddir/build/BUILD/atril-1.7.0/libview/tmp-introspectGeLTfe/AtrilView-1.5.0.c
DEBUG: g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC gcc -o /builddir/build/BUILD/atril-1.7.0/libview/tmp-introspectGeLTfe/AtrilView-1.5.0 -export-dynamic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro /builddir/build/BUILD/atril-1.7.0/libview/tmp-introspectGeLTfe/AtrilView-1.5.0.o -L. -latrilview -Wl,--export-dynamic -lgmodule-2.0 -pthread -latrilview -latrildocument -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgthread-2.0 -pthread -lglib-2.0
DEBUG: libtool: link: gcc -o /builddir/build/BUILD/atril-1.7.0/libview/tmp-introspectGeLTfe/.libs/AtrilView-1.5.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro /builddir/build/BUILD/atril-1.7.0/libview/tmp-introspectGeLTfe/AtrilView-1.5.0.o -Wl,--export-dynamic -pthread -pthread -Wl,--export-dynamic  -L. -lgmodule-2.0 /builddir/build/BUILD/atril-1.7.0/libview/.libs/libatrilview.so -latrildocument -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgthread-2.0 -lglib-2.0 -pthread -Wl,-rpath -Wl,/usr/lib64
DEBUG: /usr/bin/ld: cannot find -latrildocument
DEBUG: collect2: error: ld returned 1 exit status
DEBUG: linking of temporary binary failed: Command '['/bin/sh', '../libtool', '--mode=link', '--tag=CC', 'gcc', '-o', '/builddir/build/BUILD/atril-1.7.0/libview/tmp-introspectGeLTfe/AtrilView-1.5.0', '-export-dynamic', '-O2', '-g', '-pipe', '-Wall', '-Werror=format-security', '-Wp,-D_FORTIFY_SOURCE=2', '-fexceptions', '-fstack-protector-strong', '--param=ssp-buffer-size=4', '-grecord-gcc-switches', '-m64', '-mtune=generic', '-Wl,-z,relro', '/builddir/build/BUILD/atril-1.7.0/libview/tmp-introspectGeLTfe/AtrilView-1.5.0.o', '-L.', '-latrilview', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-latrilview', '-latrildocument', '-lgtk-x11-2.0', '-lgdk-x11-2.0', '-lpangocairo-1.0', '-latk-1.0', '-lcairo', '-lgdk_pixbuf-2.0', '-lgio-2.0', '-lpangoft2-1.0', '-lpango-1.0', '-lgobject-2.0', '-lfontconfig', '-lfreetype', '-lgthread-2.0', '-pthread', '-lglib-2.0']' returned non-zero exit status 1
DEBUG: make[3]: *** [AtrilView-1.5.0.gir] Error 1
DEBUG: make[3]: Leaving directory `/builddir/build/BUILD/atril-1.7.0/libview'
DEBUG: make[2]: *** [all] Error 2
DEBUG: make[2]: Leaving directory `/builddir/build/BUILD/atril-1.7.0/libview'
DEBUG: make[1]: Leaving directory `/builddir/build/BUILD/atril-1.7.0'
DEBUG: make[1]: *** [all-recursive] Error 1
DEBUG: make: *** [all] Error 2

i quess there is a missing -latrildocument in make file

Ignore fullscreen hint option

Most PDF viewers allow to ignore the fullscreen hint. I also find it very annoying when documents get opened fullscreen.

So the best way would be to add a menu entry (maybe under 'View') and one to the schema that makes you able to ignore full screen hints.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38277981-ignore-fullscreen-hint-option?utm_campaign=plugin&utm_content=tracker%2F1323318&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1323318&utm_medium=issues&utm_source=github).

Can't change default page scaling setting

The page scaling setting (Print --> Page Handling --> Page Scaling) is set to a default of "Shrink to Printable Area". When printing sheets of labels, the only way to get the labels to line up correctly is to set the page scaling to "none". I would like to be able to set "none" as the default, since we're using this application mainly for printing labels from pdfs, but I can't find anywhere to change it.

Save form fields

At evince 2.32.0 I could fill out form fields and save a copy of the pdf-document with the filled out form fields. This was a excellent function.

But atril 1.2.0 (@ Linux Mint 13 MATE Edition) and newer versions of evince have a problem with saving the filled out form fields correct. If I fill out a pdf with form fields and save a copy the data are saved but hidden.
If I open a document with saved form fields, form fields that are empty before seem to be furthermore empty but if I press a field I can see the data. Form fields that filled out with older versions (evince 2.30.0) show the old data, but if I press a field I can see the new data. So on the new data is saved but could not be uses because the form field date is saved hidden.

Thx for your help!

Improved keyboard interaction

a few things i would love to see in atril.

  • Correct handling CTRL+left/right when the search pane is active/in focus.
    Currently CTRL+left/right does change the orientation of the pages even if the cursor is in the search pane. I am not sure if this is the default behavior or if i have changed the default shortcuts. In any case i think the key presses should not be swallowed before the search pane gets the change to handle them. I have not looked at the code to see how difficult it is. If the CTRL+left/right keys are indeed the default and you don't want to change the key handling please think about changing the default shortcuts (maybe META/ALT+left/right?)
  • ESC should clear selection
    At the moment ESC works to move the focus from the sidepane to the mainpane and to close the in-document search pane (and that should not change), but if that is closed, it has nothing left to do and could be used to deselect any text selection. I guess this should be easy to implement by adding a key listener to the mainpane: if the key event is swallowed by the sidepane or the search pane it won't get activated, but if not it can easily clear the selection.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38277980-improved-keyboard-interaction?utm_campaign=plugin&utm_content=tracker%2F1323318&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1323318&utm_medium=issues&utm_source=github).

i18n: duplicated strings

/shell/ev-window.c:5522 "Expand Window to Fit"
/cut-n-paste/zoom-control/ephy-zoom.h:51 "Expand Window To Fit"
The difference is one letter.

GLib-GObject-WARNING: instance has no handler with id

Orginal report at fedora bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1005519

D. Wagner 2013-09-07 20:13:50 EDT

Description of problem:

When I run atril from the command line, I get the following warning messages on stderr:

(atril:27993): GLib-GObject-WARNING **: gsignal.c:2593: instance 0x26922d0' has no handler with id1022'

(atril:27993): GLib-GObject-WARNING **: gsignal.c:2593: instance 0x26922d0' has no handler with id1023'

Version-Release number of selected component (if applicable):

mate-document-viewer-1.6.1-5.fc19.x86_64

How reproducible:

100% - just run atril to view any pdf file

D. Wagner 2013-09-07 20:27:06 EDT

Oops, I should have mentioned: these warnings appear when you quit atril.

I tried downloading debug symbols, but I didn't get any additional information on stderr. On the other hand, when I ran "atril --g-fatal-warnings foo.pdf", I got a core dump. I'll attach the corresponding back trace (generated with gdb).

backtrace:
https://bugzilla.redhat.com/attachment.cgi?id=795268

1.7.2 release build issue

The build failed with

DEBUG: libtool: link: cc -o /builddir/build/BUILD/atril-1.7.2/libview/tmp-introspectIHb9vR/.libs/AtrilView-1.5.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro /builddir/build/BUILD/atril-1.7.2/libview/tmp-introspectIHb9vR/AtrilView-1.5.0.o -Wl,--export-dynamic -pthread -pthread -Wl,--export-dynamic  -L. -lgmodule-2.0 /builddir/build/BUILD/atril-1.7.2/libview/.libs/libatrilview.so -latrildocument -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgthread-2.0 -lglib-2.0 -pthread -Wl,-rpath -Wl,/usr/lib64
DEBUG: /usr/bin/ld: cannot find -latrildocument
DEBUG: collect2: error: ld returned 1 exit status

complete build log:
https://dl.dropboxusercontent.com/u/49862637/Mate-desktop/Bugs/atril-build-log

Note, using autoreconf as a workaround fixes the issue

Segmentation fault in Arch Linux

Trying to launch mate-document-viewer in ArchLinux (from the official repo) gives me the following error and consequently crashes:

[simon@towerAMD ~]$ mate-document-viewer

(mate-document-viewer:2270): GLib-GIO-CRITICAL **: Settings schema 'org.mate.Atril.Default' is not installed

(mate-document-viewer:2270): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
Segmentation fault

Package: mate-document-viewer-2011.11.09-2-x86_64.pkg.tar.xz

Title bar doesn't show file name of PDF document, shows [NONE] instead

Environment: Atril Document Viewer 1.6.0 Document Viewer. Using poppler/cairo (0.18.4)

Expected behaviour: After opening a PDF file, Atril shows the filename in its title bar. That's what http://git.mate-desktop.org/atril/tree/help/C/atril.md says it should do.

Actual behaviour: Atril shows in its title bar not the file name but the "Title" property of the PDF file. By default, this is often set to the string "NONE" by applications generating PDFs, and as a result, Atril's title bar shows "NONE", too. Which is particularly uninformative when more than one such document is open and one tries to distingiush their Atril instances in the window list - all of them will be titled "NONE"

GTK3: Crash when adding new button to the toolbar.

Steps:

  1. Open edit menu
  2. Select Toolbar in the menu.
    3: Drag new button into the toolbar
    4: Crash

Backtrace:

Program received signal SIGSEGV, Segmentation fault.
action_sensitive_cb (action=<optimized out>, pspec=<optimized out>, 
    item=0xa47c90) at egg-editable-toolbar.c:573
573 egg-editable-toolbar.c: No such file or directory.
#0  action_sensitive_cb (action=<optimized out>, pspec=<optimized out>, 
    item=0xa47c90) at egg-editable-toolbar.c:573
#1  0x00007ffff55eec98 in g_closure_invoke (closure=0xc8d760, return_value=0x0, 
    n_param_values=2, param_values=0x7fffffffc320, 
    invocation_hint=0x7fffffffc2c0)
    at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gobject/gclosure.c:777
#2  0x00007ffff55ffbad in signal_emit_unlocked_R (node=node@entry=0x675430, 
    detail=detail@entry=106, instance=instance@entry=0x9d8a20, 
    emission_return=emission_return@entry=0x0, 
    instance_and_params=instance_and_params@entry=0x7fffffffc320)
    at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gobject/gsignal.c:3584
#3  0x00007ffff5607842 in g_signal_emit_valist (instance=<optimized out>, 
    signal_id=<optimized out>, detail=<optimized out>, 
    var_args=var_args@entry=0x7fffffffc4a8)
    at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gobject/gsignal.c:3328
#4  0x00007ffff5607b02 in g_signal_emit (instance=<optimized out>, 
    signal_id=<optimized out>, detail=<optimized out>)
    at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gobject/gsignal.c:3384
#5  0x00007ffff55f2fb5 in g_object_dispatch_properties_changed (object=0x9d8a20, 
    n_pspecs=11295344, pspecs=0x6)
    at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gobject/gobject.c:1042
#6  0x00007ffff55f48ab in g_object_notify_by_spec_internal (
    pspec=<optimized out>, object=0x9d8a20)
    at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gobject/gobject.c:1136
#7  g_object_notify (object=0x9d8a20, 
    property_name=property_name@entry=0x44aa73 "sensitive")
    at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/gobject/gobject.c:1178
#8  0x000000000043e4d6 in configure_item_sensitivity (item=0xa47e20, 
    etoolbar=0xa3d4c0) at egg-editable-toolbar.c:412

Is the dependency on mate-file-manager necessary?

Upon running "sudo pacman -Qi mate-document-viewer", I found this information:

Depends On     : dbus  desktop-file-utils  djvulibre  glib2 gobject-introspection  gtk2  libgxps  libmatekeyring  libsm libspectre  libtiff  libx11  libxml2  mate-file-manager mate-icon-theme  poppler-glib  shared-mime-info  t1lib texlive-bin  zlib 

Is the dependency on mate-file-manager (and libmatekeyring) necessary?

I believe that it is unnecessary as it is a document viewer. Also, evince, amusingly enough, does not have a dependency on nautilus in the GNOME stack.

[RPMLint] no-manual-page-for-binary

no-manual-page-for-binary atril-previewer
no-manual-page-for-binary atril-thumbnailer
Each executable in standard binary directories should have a man page.

Ability to proccess pdf application forms

I would like to see this functionality implemented on atril. Up to now editing a pdf application on linux is not the easiest thing, whereas on proprietary applications is easy and fast. You grab the pdf, add some text on the corresponding fields, save it and that's it.

no more previews ...

I am using atril 1.6.0 and caja-1.6.1, on Debian Jessie, for quite some time all my png, jpeg, pdf etc, are not showing any previews.

Seems like something is broken, but what?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.