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 334866 - implement menu sensitivity
implement menu sensitivity
Status: RESOLVED OBSOLETE
Product: gnome-dictionary
Classification: Core
Component: general
git master
Other Linux
: Normal enhancement
: ---
Assigned To: gnome-dictionary-maint
gnome-dictionary-maint
Depends on:
Blocks:
 
 
Reported: 2006-03-17 12:15 UTC by Paolo Borelli
Modified: 2021-06-10 11:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add ::selection-changed signal to GdictDefbox (4.67 KB, patch)
2015-03-13 23:55 UTC, Juan R. Garcia Blanco
none Details | Review
Improve sensitivity: find* and copy (2.06 KB, patch)
2015-03-13 23:58 UTC, Juan R. Garcia Blanco
none Details | Review
Improve sensitivity: find* and copy (2.08 KB, patch)
2015-03-14 00:13 UTC, Juan R. Garcia Blanco
none Details | Review
Proposal of new UI (44.53 KB, image/png)
2015-03-20 23:12 UTC, Juan R. Garcia Blanco
  Details

Description Paolo Borelli 2006-03-17 12:15:16 UTC
all menu items are always sensitive.

For instance save as and print should be insensitive when no word has been looked up. Find next should not be sensitive when no match was found. Etc.
Comment 1 Juan R. Garcia Blanco 2015-03-13 21:28:00 UTC
As of today, sensitivity is switched for some menu items. But it remains unhandled for others, e.g. copy and find.
Comment 2 Juan R. Garcia Blanco 2015-03-13 23:55:47 UTC
Created attachment 299368 [details] [review]
Add ::selection-changed signal to GdictDefbox
Comment 3 Juan R. Garcia Blanco 2015-03-13 23:58:42 UTC
Created attachment 299369 [details] [review]
Improve sensitivity: find* and copy
Comment 4 Juan R. Garcia Blanco 2015-03-14 00:13:51 UTC
Created attachment 299372 [details] [review]
Improve sensitivity: find* and copy
Comment 5 Emmanuele Bassi (:ebassi) 2015-03-20 21:08:38 UTC
I think it's okay for 3.16.1, but honestly I think the whole menu bar should just go away after that.

The look up entry should go in an headerbar, and there should be a gear menu for the couple of actions that are still available, like showing the side bar or printing and saving to file.
Comment 6 Juan R. Garcia Blanco 2015-03-20 21:15:57 UTC
Challenge accepted :)

However, I thought no changes to UI can be made during a cycle.
Comment 7 Emmanuele Bassi (:ebassi) 2015-03-20 21:19:46 UTC
(In reply to Juan R. Garcia Blanco from comment #6)
> Challenge accepted :)

Make sure to involve #gnome-design — but basically, my idea is to kill most of the UI.

> However, I thought no changes to UI can be made during a cycle.

That's true for 3.16, but not for 3.17.
Comment 8 Juan R. Garcia Blanco 2015-03-20 23:12:18 UTC
Created attachment 300009 [details]
Proposal of new UI

Very tentative design.
Comment 9 Juan R. Garcia Blanco 2015-03-29 10:17:07 UTC
I will commit this patch then, so it can get into 3.16.1; and start working on the new UI.
Comment 10 Allan Day 2015-03-30 13:26:18 UTC
(In reply to Juan R. Garcia Blanco from comment #8)
> Created attachment 300009 [details]
> Proposal of new UI
> 
> Very tentative design.

This looks excellent. The search bar in the middle is great, and the button menu is in the correct position. Some small suggestions:

 * Follow the standard design pattern for search - use GtkSearchEntry, and don't include a "Look up" button - see how other apps handle this, like Maps.

 * Removing the padding around the white box with reduce the amount of unnecessary visual noise - the box within a box isn't needed.
Comment 11 Hapoofesgeli 2015-04-04 15:41:40 UTC
(In reply to Juan R. Garcia Blanco from comment #8)
> Created attachment 300009 [details]
> Proposal of new UI
> 
> Very tentative design.

We could also have a button with starred-symbolic icon if we want to have favorite words, and i think a bit more width for the GtkSearchEntry could be nice too.

For presenting similar words i would suggest a similar approach done by Builder and Maps which use a GtkPopover but i think in a dictionary application, accessing similar words after the look up is finished is also important. so my suggestion is having a sidebar which gets updated whenever search entry changes, this way it could help in both the look up process and also after it's done.

Another idea could be having a history button(which shows the history via a GtkPopover) at the left side of the GtkHeaderBar instead of back/forward buttons which is pointed out in report #550937, to provide a better usability and also avoid the look of a web browser.
Comment 12 Juan R. Garcia Blanco 2015-04-04 19:44:19 UTC
I have just created wip/ui-redesign, where I have committed all changes done so far, and where development will continue.
Comment 13 André Klapper 2021-06-10 11:22:57 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of gnome-dictionary, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a ticket at
  https://gitlab.gnome.org/GNOME/gnome-dictionary/-/issues/

Thank you for your understanding and your help.