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 627258 - Find dialog cosmetics
Find dialog cosmetics
Status: RESOLVED OBSOLETE
Product: gnome-terminal
Classification: Core
Component: general
2.31.x
Other Linux
: Normal minor
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
[design]
Depends on:
Blocks:
 
 
Reported: 2010-08-18 13:00 UTC by Tobias Wolf
Modified: 2015-09-27 19:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Before/After Screenshot (110.39 KB, image/png)
2010-08-18 13:02 UTC, Tobias Wolf
  Details
my dilettantic patch for find-dialog.ui (14.02 KB, patch)
2010-08-18 13:03 UTC, Tobias Wolf
none Details | Review
find popup (15.76 KB, image/png)
2012-03-13 20:21 UTC, Christian Persch
  Details

Description Tobias Wolf 2010-08-18 13:00:36 UTC
Love the new search feature!

Dunno if you agree, but I played with the .ui file to make the dialog a bit more HIGgy (12px) and compact. I guess other locales may have longer strings and all, but at least it would only expand if needed.

BTW, the search behaves oddly when there’s only one match. Upon »Search Next« it just unhighlights the one match. I think it should keep the highlight.
Comment 1 Tobias Wolf 2010-08-18 13:02:00 UTC
Created attachment 168198 [details]
Before/After Screenshot
Comment 2 Tobias Wolf 2010-08-18 13:03:39 UTC
Created attachment 168199 [details] [review]
my dilettantic patch for find-dialog.ui
Comment 3 Christian Persch 2010-08-18 13:05:51 UTC
Looks better, yes. However making the last checkbox span both columns doesn't seem right, given that this decision is based on the length of the *english* strings, while the string lengths may be completely different in other languages.

Also unfortunately we're in UI freeze, so this needs to be postponed to 2.33.
Comment 4 Christian Persch 2010-08-18 13:25:34 UTC
Actually I decided that UI freeze didn't apply to at least HIGifying the spacings etc, so I made some adjustments.
Comment 5 Behdad Esfahbod 2010-08-18 22:48:33 UTC
- "Match as word" doesn't make sense to me.

- I made the dialog match gedit.  I think being consistent is important.

- A wide dialog is not such a bad thing, given that you can type regex too.

- Maybe these don't really matter since we'll eventually move to a search bar.

- Currently search is very, very naive and broken.  However, if there's only one result, I do like hitting a "not-found" result if you repeat the search instead of doing nothing silently.
Comment 6 Tobias Wolf 2010-08-18 23:21:13 UTC
(In reply to comment #5)
> - "Match as word" doesn't make sense to me.

I know. I wanted two columns. Proof of concept only.
 
> - I made the dialog match gedit.  I think being consistent is important.

I looked at it as well. Not 100% HIG and too big. It pops up in the center and obscures the text. Not the best model.

> - A wide dialog is not such a bad thing, given that you can type regex too.

Maybe, I like to use regex too, but beautiful apps like gnome-terminal deserve beautiful dialogs. Gedit’s looks sloppy.

> - Maybe these don't really matter since we'll eventually move to a search bar.

Much better model, but how to fit four toggles?
 
> - Currently search is very, very naive and broken.  However, if there's only
> one result, I do like hitting a "not-found" result if you repeat the search
> instead of doing nothing silently.

Ok. But that’s inconsistent with all other apps. Try it.
Comment 7 Christian Persch 2010-08-19 07:38:32 UTC
(In reply to comment #5)
> - Currently search is very, very naive and broken.

If it's broken, shouldn't we disable this for stable 2.32 ?
Comment 8 Behdad Esfahbod 2010-08-24 20:23:02 UTC
(In reply to comment #7)
> (In reply to comment #5)
> > - Currently search is very, very naive and broken.
> 
> If it's broken, shouldn't we disable this for stable 2.32 ?

Well, not broken in that sense.  It works.  It's useful.  It just can be improved in a thousand ways before I can say I'm very happy with it.  Filed those as bug 627886.
Comment 9 Christian Persch 2012-03-13 19:16:18 UTC
Replacing the find dialogue with a find popup like gedit:

http://git.gnome.org/browse/gnome-terminal/commit/?h=wip/newsearch&id=c123ede0c9dbbf72a6814e03d55ecb1cb47ee4ec
Comment 10 Behdad Esfahbod 2012-03-13 20:18:07 UTC
Screenshot please!
Comment 11 Christian Persch 2012-03-13 20:21:37 UTC
Created attachment 209645 [details]
find popup
Comment 12 Tobias Wolf 2012-03-13 20:35:51 UTC
+1 

(but what about the options? I’m in barely contained anticipation of the day where we’ll have highlighting of all matches. in combination with regex this will be super-f’ing-nifty)
Comment 13 Tobias Wolf 2012-03-13 20:42:15 UTC
Just occured to me that hits in the scrollback when searching backwards are highlighted on the bottom line. Wouldn’t it make sense to give it a bit of scrolloff (vim terminology) or something similar to less -j.5?
Comment 14 Matthias Clasen 2013-02-07 03:30:01 UTC
this looks very nice ! any thoughts on merging it ?
Comment 15 Christian Persch 2015-09-27 19:28:17 UTC
Find has been redesigned as a popover in master (one remaining issue is being tracken in bug 755653).