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 167477 - Find bar doesn't need to have a close button
Find bar doesn't need to have a close button
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
0.1.x
Other Linux
: Normal enhancement
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-02-15 15:08 UTC by Reinout van Schouwen
Modified: 2005-04-03 00:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
port focus handling and removed close button from EphyFindBar (13.67 KB, patch)
2005-03-19 19:48 UTC, Christian Persch
none Details | Review

Description Reinout van Schouwen 2005-02-15 15:08:05 UTC
The Close button on the Find bar seems to be very out of place.
No other GTK toolbar has ever had its own close button, let's reserve them for
windows and tabs. 

Instead the Find toolbar extension of Epiphany is a nicer way to do it: simply
hide it whenever focus is lost.
Comment 1 Bryan W Clark 2005-02-16 18:17:14 UTC
Heh, funny timing.  This sounds good to me.

Here's my usability message which relates to this:
http://mail.gnome.org/archives/usability/2005-February/msg00134.html

And the evince list message which releates to this:
http://mail.gnome.org/archives/evince-list/2005-February/msg00018.html
Comment 2 Marco Pesenti Gritti 2005-02-28 09:36:25 UTC
Christian, how epiphany does this? Are you using the egg widget too? Should we
sync code? /me never looked at the code
Comment 3 Bryan W Clark 2005-03-04 21:47:51 UTC
It looks like we're using the same egg widget as ephy find.

http://cvs.gnome.org/viewcvs/epiphany-extensions/extensions/find/
Comment 4 Christian Persch 2005-03-04 21:56:56 UTC
Marco, yes, ephy find extension uses a slightly modified EggFindBar (I #ifdef'd
the close button away :), and EphyFindBar builds on that to provide the
close-on-focus-out behaviour. It does that by connecting to "set-focus" on the
toplevel in show, and checking in the callback if the focus is in a descendent
of the find bar; else it emits close on the find bar.
Comment 5 Marco Pesenti Gritti 2005-03-04 23:30:54 UTC
Should we integrate this directly in EggFindBar? It would be nice to have
consistent behavior in apps using it...
Comment 6 Bryan W Clark 2005-03-05 18:30:47 UTC
Yes, I believe the best thing to do is keep sync'd up in EggFind.  I think we
came to agreement on everything in the usability thread that Christian started.
Comment 7 Christian Persch 2005-03-19 19:48:44 UTC
Created attachment 38944 [details] [review]
port focus handling and removed close button from EphyFindBar
Comment 8 Jonathan Blandford 2005-04-03 00:05:59 UTC
Committed, thanks.