After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 544068 - Missing signal when the image has been displayed
Missing signal when the image has been displayed
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: image viewer
git master
Other All
: Normal enhancement
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-07-21 22:30 UTC by Gernot Klimscha
Modified: 2011-06-04 19:44 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Patch that implements a displayed signal (1.71 KB, patch)
2008-07-21 22:32 UTC, Gernot Klimscha
needs-work Details | Review

Description Gernot Klimscha 2008-07-21 22:30:10 UTC
There is no way to get notified when the image has been displayed.
There should be a "displayed" signal that can be used to get informed about this.
Comment 1 Gernot Klimscha 2008-07-21 22:32:39 UTC
Created attachment 114961 [details] [review]
Patch that implements a displayed signal

New signal in eog window that gets emitted when the image has been displayed.
(Use it in my plugin to modify the pixbuf of the image after it has been loaded)
Comment 2 Claudio Saavedra 2008-09-02 20:26:13 UTC
I don't like having that signal in EogWindow. If it's about an image being displayed in a widget, then either should be in the image or in the widget that displays it (so, EogImage::displayed or EogImage::shown or EogScrollView::image-displayed, etc).
Comment 3 Felix Riemann 2011-06-04 19:44:52 UTC
I made the image a propery of the ScrollView. That makes it possible to watch it using "notify::image". We can still do a special signal if necessary.

commit 4c0b5c84dc4c5a6fce6285f492d5f3c1a8724f45
Author: Felix Riemann <>
Date:   Sat Jun 4 21:41:00 2011 +0200

    Make the displayed EogImage a property of EogScrollView
    
    Besides the more obvious object orientation it also allows watch the
    property for changes. Might be useful for plugins.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=544068

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.