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 467776 - Find Transaction dialog disappears immediately + possible fix
Find Transaction dialog disappears immediately + possible fix
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other FreeBSD
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-08-17 19:47 UTC by p-fbsd-bugs
Modified: 2011-04-29 13:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
small test program (872 bytes, text/plain)
2007-08-17 22:06 UTC, Andreas Köhler
Details

Description p-fbsd-bugs 2007-08-17 19:47:17 UTC
OS: FreeBSD 6.2-STABLE #0: Sun Jun  3 19:55:09 PDT 2007
GTK: gtk-2.10.12_2

In moving from gnucash-2.0.5 to 2.2.0, I found that the "find" dialog disappears immediately after it is created (i.e., it flashes on the screen for only an instant).

I commented out this part of changeset 16078 in src/gnome-search/dialog-search.c:

//    gtk_widget_hide (sw->dialog);

and that prevented the find dialog from disappearing. I do not know why the subsequent call to gtk_widget_show() (also part of changeset 16978) does not cause the dialog window to stay visible.

Since I'm unfamiliar with the windows issues that prompted changeset 16978,
I'm hoping someone else can identify the best way to fix it.
Comment 1 Andreas Köhler 2007-08-17 22:06:07 UTC
Created attachment 93875 [details]
small test program

What do you see if you compile this attachment via
gcc -o test test.c `pkg-config --cflags --libs gtk+-2.0`
and execute test?

I do not understand why that happens what you describe, maybe it is a GTK+
bug.  BTW, what window manager do you use?

I assume you applied the change to the glade file as in r16078, right?
Comment 2 p-fbsd-bugs 2007-08-26 07:38:36 UTC
I compiled your test program as specified and ran it. There is a brief appearance of a window - it vanishes as soon as it appears so I have to watch closely. The test program does not exit on its own.

My window manager is fvwm-2.5.21.

I left the search.glade and tax.glade files as they were in gnucash-2.2.0 (that is, I did not undo change 16078 for those files).
Comment 3 Andreas Köhler 2007-08-26 10:09:53 UTC
What do the gtk+ devs think about that?
Comment 4 p-fbsd-bugs 2007-08-29 18:26:03 UTC
I tried the test program also with gtk-2.10.14 on FreeBSD as above: problem still exists.
Comment 5 Viktor Griph 2007-12-03 22:27:06 UTC
This issue has been fixed in fvwm cvs. Fvwm <= 2.5.24 does not like windows being requested to be moved to the withdrawn state between the map request and the time they actually are mapped. It is perfectly legal according to ICCCM2, so this was a bug in fvwm.
Comment 6 Geert Janssens 2011-03-05 08:24:58 UTC
p-fbsd-bugs@treehouse.napa.ca.us;

Can you confirm this bug is fixed for you, so this bug can be closed ?
Comment 7 G. Paul Ziemba 2011-03-05 19:44:06 UTC
Test program works for me now on FreeBSD 8.2-PRERELEASE (Jan 11, 2011) with gtk-2.22.1_1 and fvwm-2.5.31. gnucash-2.2.9_10 does not seem to have the line of code in question anymore (as far as I can tell) and the "Find" dialog comes up normally. Thanks!
Comment 8 G. Paul Ziemba 2011-03-05 19:46:34 UTC
By the way, I am the same person as p-fbsd-bugs.
Comment 9 Tobias Mueller 2011-04-29 13:22:41 UTC
Marking as OBSOLETE. Thanks!