I have committed a fix to the evince branch for the current development
release (precise). It should be uploaded sometime in the next week.

** Changed in: evince (Ubuntu)
   Importance: Undecided => Medium

** Changed in: evince (Ubuntu)
       Status: Confirmed => Fix Committed

** Description changed:

- When I open a pdf file, the terminal displays the following warning:
+ The --disable-gestures flag does not work due to two issues:
  
+ 1. The enable-gestures gobject class property of the EvView object is created 
with the G_PARAM_CONSTRUCT_ONLY flag.
+ 2. The property value is not checked before registering for gestures.
  
- (evince:23456): GLib-GObject-WARNING **: g_object_set_valist: construct 
property "enable-gestures" for object `EvView' can't be set after construction
+ The first issue causes the following warning in the console:
  
- (evince:23456): Gdk-CRITICAL **: gdk_window_get_pointer: assertion
- `GDK_IS_WINDOW (window)' failed
- 
- (evince:23456): Gdk-CRITICAL **: gdk_window_get_pointer: assertion
- `GDK_IS_WINDOW (window)' failed
- 
- (evince:23456): Gdk-CRITICAL **: gdk_window_get_pointer: assertion
- `GDK_IS_WINDOW (window)' failed
- 
- (evince:23456): Gdk-CRITICAL **: gdk_window_get_pointer: assertion
- `GDK_IS_WINDOW (window)' failed
- 
- (evince:23456): Gdk-CRITICAL **: gdk_window_get_pointer: assertion
- `GDK_IS_WINDOW (window)' failed
- 
- (evince:23456): Gdk-CRITICAL **: gdk_window_get_pointer: assertion
- `GDK_IS_WINDOW (window)' failed
- 
- (evince:23456): Gdk-CRITICAL **: gdk_window_get_pointer: assertion
- `GDK_IS_WINDOW (window)' failed
- 
- (evince:23456): Gdk-CRITICAL **: gdk_window_get_pointer: assertion
- `GDK_IS_WINDOW (window)' failed
- 
- (evince:23456): Gdk-CRITICAL **: gdk_window_get_pointer: assertion
- `GDK_IS_WINDOW (window)' failed
- 
- (evince:23456): Gdk-CRITICAL **: gdk_window_get_pointer: assertion
- `GDK_IS_WINDOW (window)' failed
- 
- (evince:23456): Gdk-CRITICAL **: gdk_window_get_pointer: assertion
- `GDK_IS_WINDOW (window)' failed
- 
- (evince:23456): Gdk-CRITICAL **: gdk_window_get_pointer: assertion
- `GDK_IS_WINDOW (window)' failed
- 
- (evince:23456): Gdk-CRITICAL **: gdk_window_get_pointer: assertion
- `GDK_IS_WINDOW (window)' failed
- 
- (evince:23456): Gdk-CRITICAL **: gdk_window_get_pointer: assertion 
`GDK_IS_WINDOW (window)' failed
- --------------------------------------------------
- 
- It is really annoying and I just need to know what is causing the warning and 
how do I fix it. Thanks!
- BTW, I just dist-updated to 11.10 Ocelot.
+ (evince:23456): GLib-GObject-WARNING **: g_object_set_valist: construct
+ property "enable-gestures" for object `EvView' can't be set after
+ construction
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: evince 3.2.0-0ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  ApportVersion: 1.23-0ubuntu3
  Architecture: amd64
  Date: Fri Oct 14 02:10:49 2011
  ExecutablePath: /usr/bin/evince
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  ProcEnviron:
-  SHELL=/bin/bash
-  PATH=(custom, no user)
-  LANG=en_CA.UTF-8
-  LANGUAGE=en_CA:en
+  SHELL=/bin/bash
+  PATH=(custom, no user)
+  LANG=en_CA.UTF-8
+  LANGUAGE=en_CA:en
  SourcePackage: evince
  UpgradeStatus: Upgraded to oneiric on 2011-10-13 (0 days ago)

** Also affects: evince (Ubuntu Oneiric)
   Importance: Undecided
       Status: New

** Changed in: evince (Ubuntu Oneiric)
       Status: New => Triaged

** Changed in: evince (Ubuntu Oneiric)
   Importance: Undecided => Medium

** Changed in: evince (Ubuntu Oneiric)
    Milestone: None => oneiric-updates

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/873866

Title:
  --disable-gestures does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/873866/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to