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 513088 - "Find" immediately unmaps window
"Find" immediately unmaps window
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: General
2.2.x
Other All
: Normal normal
: ---
Assigned To: Andreas Köhler
Andreas Köhler
Depends on:
Blocks: backport
 
 
Reported: 2008-01-30 11:46 UTC by radian
Modified: 2018-06-29 22:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description radian 2008-01-30 11:46:17 UTC
Find function is unusable

When I select Edit/Find or hit ^F the find window appears and then immediately vanishes.  


Distribution: Debian lenny/sid
Gnome Release: 2.18.3 2007-07-03 (Debian)
BugBuddy Version: 2.18.1
Comment 1 Josh Sled 2008-01-30 16:25:46 UTC
With what window manager?

AIUI, the general idea of the issue behind this bug is that gnucash does something weird but "legal" in mapping and unmapping the window, which some window managers don't support.
Comment 2 radian 2008-01-30 22:23:44 UTC
Window manager is fvwm: 2.5.21-1+b1 (debian)

It used to work, but I'm not sure what's been updated since then.  
Comment 3 Andreas Köhler 2008-02-03 01:08:17 UTC
Strictly speaking this is a bug in your window manager, as Josh already said.

I tried to resolve this nonetheless, so r16914 on trunk should help you.  It would be great if you could confirm that by applying http://svn.gnucash.org/trac/changeset/16914?format=diff&new=16914 to your source tarball (assuming that fvwm2 users know how to compile stuff)---it should apply cleanly.
Thanks.
Comment 4 radian 2008-02-04 11:58:10 UTC
I originally installed gnucash from a binary distribution (debian).  I got gnucash source (which is version 2.2.2) and have been trying to get all the dependencies installed---I don't have the development files installed. I managed to fix nine of these missing dependencies so far, but I'm stuck on this one.  I have a libcairo2 package installed, including the development files.  What's missing?  


checking GTKHTML_LIBS... -pthread -lgtkhtml-3.14 -lgnomeui-2 -lSM -lICE -lglade-2.0 -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lart_lgpl_2 -lgconf-2 -lORBit-2 -lgthread-2.0 -lrt -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
configure: Found libgtkhtml-3.14, but goffice lacks a cairo renderer
checking for libgtkhtml-3.8 ... no
checking for libgtkhtml-3.6 ... no
checking for libgtkhtml-3.2 ... no
checking for libgtkhtml-3.1 ... no
configure: error: Could not find a working gtkhtml version (need 3.1, 3.2, 3.6, 3.8 or 3.14)
Comment 5 Andreas Köhler 2008-02-05 07:39:07 UTC
Simply run `sudo apt-get build-dep gnucash` or take a look at http://wiki.gnucash.org/wiki/Building. It seems that you need a newer version of GOffice.
Comment 6 radian 2008-02-06 11:47:02 UTC
I was able to compile gnucash 2.2.2.  I checked that the version I compiled exhibited the disappearing find window.  Then I applied the patch and recompiled and the find window works now.  

Should I file a bug against my window manager?  If so, what exactly should I say that the bug is? 
Comment 7 Andreas Köhler 2008-02-08 19:35:06 UTC
Yes, please do that and link to http://code.google.com/p/xmonad/issues/detail?id=96 .

Meanwhile, I mark this bug as waiting for backport to branches/2.2.
Comment 8 Andreas Köhler 2008-03-01 14:56:58 UTC
Applied to branches/2.2 as r16979 for GnuCash 2.2.4.
Comment 9 John Ralls 2018-06-29 22:00:27 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=513088. Please update any external references or bookmarks.