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 369053 - search / replace dialog update
search / replace dialog update
Status: RESOLVED OBSOLETE
Product: gedit
Classification: Applications
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks: 100821
 
 
Reported: 2006-11-01 20:27 UTC by Baptiste Mille-Mathias
Modified: 2011-05-27 11:16 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
the new glade file (14.16 KB, application/x-glade)
2006-11-01 20:34 UTC, Baptiste Mille-Mathias
  Details
the screenshot of the new dialog (16.83 KB, image/png)
2006-11-01 20:35 UTC, Baptiste Mille-Mathias
  Details
updated glade file (14.16 KB, application/x-glade)
2006-11-02 07:46 UTC, Baptiste Mille-Mathias
  Details
Try 3, with comments of Steve applied (14.70 KB, application/x-glade)
2006-11-02 22:52 UTC, Baptiste Mille-Mathias
  Details
Replace dialog in gedit (16.71 KB, image/png)
2006-11-02 22:53 UTC, Baptiste Mille-Mathias
  Details
Search dialog in gedit (12.87 KB, image/png)
2006-11-02 22:54 UTC, Baptiste Mille-Mathias
  Details
Updated glade again (14.51 KB, application/x-glade)
2006-11-02 23:28 UTC, Baptiste Mille-Mathias
  Details
updated (26.29 KB, patch)
2010-03-13 20:09 UTC, Garrett Regier
none Details | Review

Description Baptiste Mille-Mathias 2006-11-01 20:27:07 UTC
I updated the glade file of the search / replace dialog.
I used glade-3 to refresh it as glade-2 didn't seemed to be able to open it (!!??).
Weird thing is in glade the 12px border is displayed but in gedit the border is not respected; as I don't understand why, I assume there is something on the gedit code, so I let you correct that :).
Comment 1 Baptiste Mille-Mathias 2006-11-01 20:34:34 UTC
Created attachment 75793 [details]
the new glade file

I'm a nor an HIG specialist neither an hacker.
I just hope this is useful.
Comment 2 Baptiste Mille-Mathias 2006-11-01 20:35:16 UTC
Created attachment 75794 [details]
the screenshot of the new dialog
Comment 3 Paolo Borelli 2006-11-02 00:38:53 UTC
Can you give a rationale to back up the changes? I think I prefer the current cleaner interface since the added verbosity doesn't add much information and just makes the dialog bigger which in turn means covering more of textview.
Comment 4 Baptiste Mille-Mathias 2006-11-02 07:45:54 UTC
Hello Paolo,

I assume the rationale means I have to provide arguments to give a chance to my changes :)

Point 1, the rationale was to provide a consistent spacing between checkboxes with the GNOME desktop (6px), right the spacing doesn't respect the HIG recommandations.
point 2, the dialog is not always bigger:
- with the search dialog, the dialog is smaller (at least for me);
- with the replace dialog, the dialog is smaller too but is seems the spacing between the bottom the dialog action were to big in the glade / screenshot provided. I corrected that. 

Dividing the options in two blocks was an advice of Steve Frecineaux, it is of course possible to change that

I will post some screenshots with the before / after layout, and the new glade.
Comment 5 Baptiste Mille-Mathias 2006-11-02 07:46:53 UTC
Created attachment 75822 [details]
updated glade file
Comment 6 Steve Frécinaux 2006-11-02 17:06:25 UTC
Actually, my proposition was meant to allow to try and position both two-options blocks side to side, i order to diminish the dialog heigth (which is definitely too big):

+------------------------------------------------+
| Search for:   _______________________________  |
| Replace with: _______________________________  |
|                                                |
| Matching:                Cycling:              |
|  [] match case             [] wrap around      |
|  [] entire words only      [] search backward  |
+------------------------------------------------+
Comment 7 Baptiste Mille-Mathias 2006-11-02 22:52:36 UTC
Created attachment 75896 [details]
Try 3, with comments of Steve applied
Comment 8 Baptiste Mille-Mathias 2006-11-02 22:53:38 UTC
Created attachment 75897 [details]
Replace dialog in gedit
Comment 9 Baptiste Mille-Mathias 2006-11-02 22:54:06 UTC
Created attachment 75898 [details]
Search dialog in gedit
Comment 10 Baptiste Mille-Mathias 2006-11-02 23:28:03 UTC
Created attachment 75900 [details]
Updated glade again

After discussion with Steve it appears the distance between bottom gtEntry and labels option (cycling or match ...) was too small. I've updated the glade.
I won't update the screenshot right now, you just haev to doucle the space to figure out what the dialog looks like. :)
Comment 11 Reinout van Schouwen 2006-11-13 20:23:26 UTC
What do you think of a design similar to the mockup in http://bugzilla.gnome.org/show_bug.cgi?id=85606#c14 ?

The Find/Replace buttons are in a column on the right side and there is room for a Help button. This basic layout is also used in Abiword and OpenOffice.org Writer.

Personally, I would change the "search backwards" checkbox, (but keep the "wrap around" checkbox) and have a "Find previous" button as well as a "Find next" (cf. the Find bar in Epiphany and Evince). It's much quicker, navigation-wise.
Comment 12 Garrett Regier 2010-03-13 20:09:36 UTC
Created attachment 156071 [details] [review]
updated
Comment 13 Ignacio Casal Quinteiro (nacho) 2011-05-27 11:16:50 UTC
I'm marking this as obsolete. Feel free to reopen if you provide an updated patch.