{5} All tickets (verbose) (30 matches)

Ticket Summary Created
Description
#1 Test ticket 03/02/07

This is good


#2 Use G_DEFINE_TYPE 04/16/07

Using G_DEFINE_TYPE saves on sanity and a little memory. Attaching a patch.


#3 No copyright or license 04/16/07

None of the source or documentation states what the license is. Ideally there would be a COPYING for GPL, or COPYING.LIB for LGPL at the top level with the complete license in, and every file should state the copyright owner and license.


#4 Documentation fails to build 04/16/07

If I run make:

make[1]: *** No rule to make target `gallery.xml', needed by `html-build.stamp'. Stop.
make[1]: Leaving directory `/home/ross/Local/mess/16/gtkimageview/docs/reference'

I presume a file is missing from svn.


#5 Uses g_assert to check types 04/16/07

When checking the type of arguments it is conventional to use g_return_(val)_if_fail() not g_assert(). It's good to be strict, but not that strict. :)


#6 Ticket test 04/17/07

This ticket is a test to see who get emailed.


#7 Clean up headers 04/18/07

All headers are installed, but not all of them form the public API.

Attaching a patch to only install the public API, and clean up the includes.


#8 Use correct type for interpolation 04/19/07

GdkPixbuf provides an interpolation type, so use that instead of int.


#9 Use a private struct instead of expose implementation 04/19/07

Attaching a patch to make the private fields in GtkImageView actually private, instead of being exposed to the world.

If you apply this, apply it before the interpolation patch (#8) or the headers patch (#7) to reduce conflicts.


#10 Changing the image data of the pixbuf displayed doesn't work 05/03/07

Reported by Udi Fuchs: When you change the image data in the pixbuf the view does not get updated correctly. Although the GtkImageNav window is.


bjourne

Ticket Summary Created
Description
#11 Handling of motion-notify-event 05/03/07

The function mouse_handler_handle_motion_notify() returns a void, but should return a gboolean to report that it handled the event.

Udi


#12 EventBox for GtkImageView 05/05/07

Hi,

I need to put GtkImageView inside a GtkEventBox to implement rectangular selection. The problem is that this does not allow me to put it inside a GtkImageScrollWin. The following patch fixes that. The downside of this patch is that the call:

gtk_image_scroll_win_new(GTK_IMAGE_VIEW(event_box))

produces a runtime warning and therefore I need to use:

gtk_image_scroll_win_new((GtkImageView*)event_box);

A different option would be to add a function gtk_image_scroll_win_new_from_event_box(event_box)

What do you think of it?

Udi


Ticket Summary Created
Description
#13 Infinite loop occurs when a GtkImageScrollWin is placed inside a GtkAlignment 05/05/07

This bug can be reproduced using the source:/gtkimageview/tests/ex-alignment.c program. The infinite loop occurs when the GtkImageScrollWin tries to show the scrollbars. Press + twice to see the bug.


#14 Add object information to docs 05/12/07

Attaching a patch so that the API docs include more object information.


#15 printf in SVN 07/23/07

There is a debugging printf() in gtkimagetoolselector.c

Also on win32, gcc complains that there is a missing return in hotspot_list_find_hotspot() after g_assert_not_reached()


#16 gtk-image-viewer 08/22/07

Did you know gtk-image-viewer exists? moved from http://imagic.weizmann.ac.il/~dov/freesw/gtk/gtk-image-viewer/ to http://giv.sourceforge.net/gtk-image-viewer/


#17 build failure with gcc-Version 4.1.2 (Gentoo 4.1.2) 08/22/07

gtkimageview-1.4.0:

cc1: warnings being treated as errors
gtkimagetoolselector.c: In function 'gtk_image_tool_selector_set_selection':
gtkimagetoolselector.c:718: warning: 'wid_old.x' may be used uninitialized in this function
gtkimagetoolselector.c:718: warning: 'wid_old.y' may be used uninitialized in this function
gtkimagetoolselector.c:718: warning: 'wid_old.width' may be used uninitialized in this function
gtkimagetoolselector.c:718: warning: 'wid_old.height' may be used uninitialized in this function
gtkimagetoolselector.c:718: warning: 'wid_new.x' may be used uninitialized in this function
gtkimagetoolselector.c:718: warning: 'wid_new.y' may be used uninitialized in this function
gtkimagetoolselector.c:718: warning: 'wid_new.width' may be used uninitialized in this function
gtkimagetoolselector.c:718: warning: 'wid_new.height' may be used uninitialized in this function
make[2]: *** [gtkimagetoolselector.lo] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...

#18 make image_view_drawer.h c++ save 08/22/07

image_view_drawer.h :

...
DrawFlags        draw_settings_get_flags (DrawSettings *last,
                                          DrawSettings *new,
                                          GdkPixbuf    *last_pixbuf);
...

results in:

/usr/include/gtkimageview/image_view_drawer.h:56: error: expected ',' or '...' before 'new'

#19 gtkimageview-1.4.0 doesn't display image just after loading, but shows it after scrolling 08/27/07

Tested with ufraw-0.12.1. After image is being loaded, the gtkimageview shows black rectangle instead of it. This effect persists after window redraw (minimize and restore window), but when the image is scrolled, newly displayed image parts (which are shown as a result of scrolling) are displayed correctly. Gtkimageview-1.3.0 doesn't have this bug. I use gtk+-2.10.12.


#20 SpamFilter 12/15/07

Please use http://trac.edgewall.org/wiki/SpamFilter .

Thanks!

(See http://trac.bjourne.webfactional.com/ticket/18#comment:5 and any later comments.)


bjourne

Ticket Summary Created
Description
#21 Crash using horizontal mouse wheel 05/22/08

GtkImageView crashes with the following message when using the horizontal mouse wheel. This is reproducible on the 'interactive' test program.

** ERROR:(gtkimageview.c:897):gtk_image_view_scroll_event: assertion failed: (ev->direction == GDK_SCROLL_UP

ev->direction == GDK_SCROLL_DOWN) Aborted

If you do not have a mouse with an horizontal wheel then that can easily be simulated by remapping the vertical wheel events from 4/5 to 6/7 with something like this:

xmodmap -e "pointer = 1 2 3 6 7"


Ticket Summary Created
Description
#22 python bindings help() broken 07/08/08

When using help on gtkimageview the classes don't show up, only function do.

I'm using svn version of both the C library and the bindings.


#23 freeze if resized to 0 width 08/01/08

Using the following code, slide the separator all the way to the left. The program freezes.

import gtk
import gtkimageview

imageview = gtkimageview.ImageView()
imageview.set_pixbuf(gtk.gdk.pixbuf_new_from_file('foobar.png'))
scrolledimageview = gtkimageview.ImageScrollWin(imageview)

paned = gtk.HPaned()
paned.pack1(scrolledimageview)
paned.pack2(gtk.Label('Foo'))

window = gtk.Window(gtk.WINDOW_TOPLEVEL)
window.set_title('Test')
window.add(paned)
window.show_all()

gtk.main()

#24 no damage_pixels? 08/01/08

I am trying to load an image progressively, and I think I need to use damage_pixels for this.

But, using the SVN version, I get this: AttributeError: 'ImageView' object has no attribute 'damage_pixels'

grep damage pygtkimageview/src/* gives no results...


#25 some animated gifs play too fast 08/11/08

It appears that web browsers use black magic to figure out the actual delay between frames, and people have come to rely on this. This should probably be fixed in GTK+, but what I've done as a workaround is to replace (in gtkanimview.c) the two instances of:

aview->timer_id = g_timeout_add (aview->delay,

with

aview->timer_id = g_timeout_add (aview->delay < MIN_DELAY ? MIN_DELAY : aview->delay,

A minimum delay of 50 seems to work.


#26 smooth scrolling is broken 08/15/08

I have an AnimView in an ImageScrollWin. Dragging works, but if I try to scroll using the scrollbars, the image jumps all over the place (unless I scroll very slowly). Setting smooth = FALSE in gtk_image_view_scroll_to2 fixes the problem.


#27 downloading source is too hard 08/30/08

I am maintaining gtkimageview in pkgsrc, and normally one specifies an unchanging MASTER_SITE, and a DISTNAME, and has a default suffix (.tar.gz). But the URL for each tarball changes with version. It would be really nice to put them in a directory on the web server where they can be fetched normally, without interacting with trac, and just link to that, instead of using trac attachments.


#28 release tarballs don't have NEWS or Changelog 08/31/08

pkgsrc asks maintainers to include a summary of important changes when upgrading. I upgraded pkgsrc from 1.3.0. to 1.6.1, and was not able to find a summary of what had changed. It would be nice to include a NEWS file following the GNU conventions.


#29 initial animation frame doesn't display 09/01/08

Your progressive loading example now confirms that this is a bug and not just me using your code incorrectly. The initial frame of a gif animation isn't displayed (it should load progressively like a static image). This workaround shows the desired operation:

def on_area_prepared(l):
        view.set_anim(None)
        view.set_is_playing(False)
        pixbuf = l.get_pixbuf()
        pixbuf.fill(0)
        view.set_pixbuf(pixbuf)
loader.connect('area-prepared', on_area_prepared)
def on_area_updated(l, x, y, w, h):
        anim = l.get_animation()
        if anim.is_static_image(): view.damage_pixels((x, y, w, h))
        else:
                view.set_anim(anim)
                l.disconnect(area_updated_connection)
area_updated_connection = loader.connect('area-updated', on_area_updated)

Also, you should probably use gdk_pixbuf_animation_iter_on_currently_loading_frame to pause on the currently loading frame.

Finally, try pressing J while a static image is being displayed (the program freezes).


#30 gtkimageview-1.6.2 seems to be missing testlib.h 10/29/08

Building gtkimageview 1.6.2 results in the following error:

%< snip >%

x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"gtkimageview\" -DPACKAGE_TARNAME=\"gtkimageview\" -DPACKAGE_VERSION=\"1.6.2\" "-DPACKAGE_STRING=\"gtkimageview 1.6.2\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"gtkimageview\" -DVERSION=\"1.6.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -O2 -march=nocona -pipe -fomit-frame-pointer -Wall -Werror -std=c99 -Wmissing-prototypes -MT testlib.lo -MD -MP -MF .deps/testlib.Tpo -c testlib.c -fPIC -DPIC -o .libs/testlib.o

testlib.c:1:21: error: testlib.h: No such file or directory testlib.c:10: error: expected ')' before '*' token testlib.c:47: error: expected '=', ',', ';', 'asm' or 'attribute' before 'g_main_context_wait_for_event' make[2]: *** [testlib.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/x11-libs/gtkimageview-1.6.2/work/gtkimageview-1.6.2/tests/testlib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-libs/gtkimageview-1.6.2/work/gtkimageview-1.6.2/tests' make: *** [all-recursive] Error 1

Version 1.6.1 builds fine.


Note: See TracReports for help on using and creating reports.