Bug#452790: gnucash: UI becomes unresponsive after a while when having unsaved accounts open

2007-11-25 Thread Heikki Hokkanen
Package: gnucash
Version: 2.2.1-1
Severity: important

I'm not sure of the exact circumstances needed to reproduce this, but
basically the UI becomes unresponsive to input (neither mouse nor
keyboard input is recognized) sometimes. This has occurred a couple of
times, this time with the following points:
- two accounts were open
- unsaved changes had been done
- the window was minimized for a while

This has never happened to me when only the Accounts tab was open. Not
sure if the unsaved changes or inactivity of the window are required
to trigger this.

The window still keeps redrawing properly, it just does not react to
input in any way. Also, when pressing the close window button (X) in
KDE, it usually brings up a popup asking whether to forcibly terminate
an unresponsive program, but this does not happen with gnucash -
pressing the close button simply does nothing.

When attaching to the process, gdb gives the following backtrace:

#0  0xb70fd52d in poll () from /lib/libc.so.6
#1  0xb74561d3 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x080e3d20 in ?? ()
#3  0x0007 in ?? ()
#4  0x0f37 in ?? ()
#5  0x080e3d20 in ?? ()
#6  0x0007 in ?? ()
#7  0xb7179140 in ?? () from /lib/libc.so.6
#8  0xb7e7a351 in pthread_mutex_lock () from /lib/libpthread.so.0
#9  0xb7456549 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#10 0xb78a0209 in gtk_dialog_run () from /usr/lib/libgtk-x11-2.0.so.0
#11 0xb7241403 in ?? () from
/usr/lib/gnucash/gnucash/libgncmod-gnome-utils.so
#12 0x084fc948 in ?? ()
#13 0x08596db8 in ?? ()
#14 0x0001 in ?? ()
#15 0xb72ac6b7 in ?? () from
/usr/lib/gnucash/gnucash/libgncmod-gnome-utils.so
#16 0x0002 in ?? ()
#17 0xb72ac6ac in ?? () from
/usr/lib/gnucash/gnucash/libgncmod-gnome-utils.so
#18 0x0003 in ?? ()
#19 0xb72ac699 in ?? () from
/usr/lib/gnucash/gnucash/libgncmod-gnome-utils.so
#20 0x0004 in ?? ()
#21 0x in ?? ()

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.23.1+20071013
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnucash depends on:
ii  gconf2  2.16.0-3 GNOME configuration database syste
ii  gnucash-common  2.2.1-1  A personal finance tracking progra
ii  guile-1.6-libs  1.6.8-6  Main Guile libraries
ii  guile-1.6-slib  1.6.8-6  Guile SLIB support
ii  libart-2.0-22.3.19-3 Library of functions for 2D graphi
ii  libatk1.0-0 1.20.0-1 The ATK accessibility toolkit
ii  libbonobo2-02.18.0-2 Bonobo CORBA interfaces library
ii  libbonoboui2-0  2.18.0-5 The Bonobo UI library
ii  libc6   2.6.1-6  GNU C Library: Shared libraries
ii  libcairo2   1.4.4-1  The Cairo 2D vector graphics libra
ii  libcrypt-ssleay-perl0.55-1   Support for https protocol in LWP
ii  libdate-manip-perl  5.46-1   a perl library for manipulating da
ii  libfinance-quote-perl   1.13-1   Perl module for retrieving stock q
ii  libfontconfig1  2.4.2-1.2generic font configuration library
ii  libgconf2-4 2.16.0-3 GNOME configuration database syste
ii  libglade2-0 1:2.6.1-1library to load .glade files at ru
ii  libglib2.0-02.14.0-2 The GLib library of C routines
ii  libgnome-keyring0   2.20.1-1 GNOME keyring services library
ii  libgnome2-0 2.18.0-4 The GNOME 2 library - runtime file
ii  libgnomecanvas2-0   2.14.0-2 A powerful object-oriented display
ii  libgnomeprint2.2-0  2.18.0-2 The GNOME 2.2 print architecture -
ii  libgnomeprintui2.2-02.18.0-2 GNOME 2.2 print architecture User
ii  libgnomeui-02.18.1-2 The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0  1:2.18.1-2   GNOME Virtual File System (runtime
ii  libgoffice-1-2  0.2.1-4  Document centric objects library -
ii  libgsf-1-1141.14.7-1 Structured File Library - runtime
ii  libgtk2.0-0 2.12.1-3 The GTK+ graphical user interface
ii  libgtkhtml3.8-153.12.3-2 HTML rendering/editing library - r
ii  libguile-ltdl-1 1.6.8-6  Guile's patched version of libtool
ii  libice6 2:1.0.3-3X11 Inter-Client Exchange library
ii  libofx3 1:0.8.2-3library to support Open Financial
ii  liborbit2   1:2.14.4-1   libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0   1.18.3-1 Layout and rendering of internatio
ii  libpopt01.10-3   lib for parsing cmdline parameters
ii  libqthreads-12  1.6.8-6  QuickThreads library for Guile
ii  libsm6  2:1.0.3-1X11 Session Management 

Bug#452790: gnucash: UI becomes unresponsive after a while when having unsaved accounts open

2007-11-25 Thread Neil Williams
On Sun, 25 Nov 2007 10:33:31 +0200
Heikki Hokkanen [EMAIL PROTECTED] wrote:

 Package: gnucash
 Version: 2.2.1-1
 Severity: important
 
 I'm not sure of the exact circumstances needed to reproduce this

Have you enabled auto-save for this file or as the default?

Could there be a dialog box asking about setting auto-save hidden behind the 
gnucash window? (Try resizing the gnucash window and moving it aside.)

-- 

Neil Williams
=
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/


pgp8qEioSc0et.pgp
Description: PGP signature


Bug#452790: gnucash: UI becomes unresponsive after a while when having unsaved accounts open

2007-11-25 Thread Heikki Hokkanen
retitle 452790 UI seems unresponsive when auto-save dialog is sent to
the background
thanks

On 11/25/07, Neil Williams [EMAIL PROTECTED] wrote:
 Have you enabled auto-save for this file or as the default?

 Could there be a dialog box asking about setting auto-save hidden behind the 
 gnucash window? (Try resizing the gnucash window and moving it aside.)

Yes and yes, long explanation:

Auto-save is turned on in Preferences-General:
[x] Show auto-save confirmation question
Auto-save time interval: [ 5] minutes

I minimized gnucash this time with changes and one account open, was twiddling
something on another workspace and got the auto-save popup (which worked fine).
First time I have actually seen it.

Then I tried activating another program on the same workspace as gnucash (which
was on the background, not minimized). After twiddling a while on the same
workspace I checked gnucash and indeed it had become unresponsive again - and I
never noticed an auto-save dialog. Resizing, moving and minimizing the gnucash
window had no effect... until I realized the damned dialog is hiding behind
another window (pop-under eh?).

[ So looks your evaluation is right on the spot... when gnucash is not
active the
popup seems to be actually pop-under, and it is *not* brought to the front when
gnucash window is activated/unminimized. Same seems to happen if you click on
another gnucash window (for example preferences) - the auto-save dialog is sent
to the background and not brought to the front like one would expect with modal
dialogs. (This is how it seems to work on KDE at least) ]

Thanks,

-- 
Heikki Hokkanen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]