[Python-apps-team] Bug#796677: [ocrfeeder] Drag'n'drop image addition broken, right-click on image in left image bar no longer works

OmegaPhil OmegaPhil at startmail.com
Sun Aug 23 13:37:36 UTC 2015


Package: ocrfeeder
Version: 0.8.1-2
Severity: normal

Looks like GTK3 is bringing more damage.

After the recent upgrade I've noticed that I can no longer drag an image
and drop in the left bar to add to a project, and when I do add an
image, the right-click menu for the image is not available (this is how
I usually delete an image. stdout/err:

=======================================================================

/usr/lib/python2.7/dist-packages/ocrfeeder/studio/widgetPresenter.py:161: Warning:
The property GtkSettings:gtk-menu-images is deprecated and shouldn't be
used anymore. It will be removed in a future version.
  menu_bar = ui_manager.get_widget('/MenuBar/')
/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:567: Warning: The
property GtkButton:use-stock is deprecated and shouldn't be used
anymore. It will be removed in a future version.
  self.add_button(text, response)
/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:567: Warning: The
property GtkSettings:gtk-button-images is deprecated and shouldn't be
used anymore. It will be removed in a future version.
  self.add_button(text, response)

(ocrfeeder:1634): Gtk-CRITICAL **: gtk_widget_realize: assertion
'widget->priv->anchored || GTK_IS_INVISIBLE (widget)' failed
/usr/lib/python2.7/dist-packages/ocrfeeder/studio/widgetPresenter.py:507: Warning:
The property GtkAlignment:xalign is deprecated and shouldn't be used
anymore. It will be removed in a future version.
  new_radio_button.set_image(Gtk.Image.new_from_icon_name(icon_name,
Gtk.IconSize.SMALL_TOOLBAR))
/usr/lib/python2.7/dist-packages/ocrfeeder/studio/widgetPresenter.py:507: Warning:
The property GtkAlignment:yalign is deprecated and shouldn't be used
anymore. It will be removed in a future version.
  new_radio_button.set_image(Gtk.Image.new_from_icon_name(icon_name,
Gtk.IconSize.SMALL_TOOLBAR))

=======================================================================

Most of these are just threats of GTK3 to further break the UI, and so
irrelevant (but the Gtk-CRITICAL is interesting). Dragging and dropping
or right-clicking doesn't actually cause any further messages to appear,
so I can't really point a finger at anything.

Thanks


--- System information. ---
Architecture: amd64
Kernel:       Linux 4.1.0-1-amd64

Debian Release: stretch/sid
  990 testing         www.deb-multimedia.org
  990 testing         10.1.0.3
  500 unstable        10.1.0.3
  500 quodlibet-unstable 10.1.0.3
    1 experimental    10.1.0.3

--- Package information. ---
Depends                  (Version) | Installed
==================================-+-===========
python-gtk2                        | 2.24.0-4
python-imaging-sane                |
python-enchant                     | 1.6.6-2
python-pygoocanvas                 |
python-lxml                        | 3.4.4-1
python-reportlab                   | 3.2.0-1
ghostscript                        | 9.16~dfsg-2
python                    (>= 2.7) | 2.7.9-1
python                    (<< 2.8) | 2.7.9-1
tesseract-ocr                      | 3.04.00-5
 OR ocrad                          |
 OR gocr                           |
 OR cuneiform                      |


Recommends      (Version) | Installed
=========================-+-===========
unpaper                   | 0.4.2-1
yelp                      | 3.16.1-1


Package's Suggests field is empty.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20150823/65991022/attachment.sig>


More information about the Python-apps-team mailing list