Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Git Version | Version Git GMenu: search box: new design
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Git Version | Version Git

Subjects Author Language Messages Last message
[Locked] GMenu: search box: new design
matttbe English 19 matttbe [Read]
25 September 2013 à 09:46

matttbe, Tuesday 17 September 2013 à 23:39


Subscription date : 24 January 2009
Messages : 12573
Hey!

As already discussed on another topic (and on IRC), I think that the current design of the new GMenu feature (a search entry) is not really nice.

http://download.tuxfamily.org/glxdock/communication/images/3.3/gmenu-fr.png


Here is a new proposition:



What do you think about that?
I can share the code but I just have to check the code (but I'm a bit too tired to do that now ).

lylambda, Wednesday 18 September 2013 à 00:46


Subscription date : 06 September 2009
Messages : 1635
Woo ! Nice work
It's a baby with the old GMenu and Synapse for parents ?

taiebot65, Wednesday 18 September 2013 à 19:17


Subscription date : 26 October 2008
Messages : 1904
Very very nice.

matttbe, Wednesday 18 September 2013 à 20:48


Subscription date : 24 January 2009
Messages : 12573
Thank you

It's a baby with the old GMenu and Synapse for parents ?
It's different than Synapse and the new design is not exceptional but I think it's just better to use the current menu

matttbe, Thursday 19 September 2013 à 22:10


Subscription date : 24 January 2009
Messages : 12573
This feature is now in our BZR repo (and available in our Weekly ppa), please test it and report bugs here (before the release)

PS: you can now also launch commands (e.g.: 'nautilus /')

lylambda, Thursday 19 September 2013 à 23:26


Subscription date : 06 September 2009
Messages : 1635
Very very nice !!
I like it

I have a suggestion : I suspect this applet use "gnome-applications.menu" in etc/xdg/menus. Is it possible to add an option for select an other menu in this folder (as "xfce-applications.menu" or an other personal). That could upgrade the integration in alternative environment than Gnome.

http://img19.imageshack.us/img19/4344/nsg8.png

matttbe, Thursday 19 September 2013 à 23:50


Subscription date : 24 January 2009
Messages : 12573


I have a suggestion : I suspect this applet use "gnome-applications.menu" in etc/xdg/menus. Is it possible to add an option for select an other menu in this folder (as "xfce-applications.menu" or an other personal). That could upgrade the integration in alternative environment than Gnome.
The dock now respect the specifications
It will load this file: $XDG_CONFIG_DIRS/menus/${XDG_MENU_PREFIX}applications.menu

Yes, we could add an option to load a specific file but I don't know if it's really useful (should not be needed) and we can also launch the dock with this command:
env XDG_MENU_PREFIX="xfce-" cairo-dock

lylambda, Friday 20 September 2013 à 14:48


Subscription date : 06 September 2009
Messages : 1635
C'est bizarre, quelques soit l'option de démarrage, le menu affiché par le dock n'a pas la même apparence ni le même contenu que celui du panel de xfce (certaine entrées manques) :

http://img824.imageshack.us/img824/3793/qnig.png

http://img268.imageshack.us/img268/4167/99sv.png http://img22.imageshack.us/img22/8490/783u.png

matttbe, Friday 20 September 2013 à 17:24


Subscription date : 24 January 2009
Messages : 12573
indeed
@Fabounet: any idea?

fabounet, Friday 20 September 2013 à 17:43


Subscription date : 30 November 2007
Messages : 17118
C'est bizarre, quelques soit l'option de démarrage, le menu affiché par le dock n'a pas la même apparence ni le même contenu que celui du panel de xfce (certaine entrées manques) :

yep, because XFCE uses <Layout> tags, and libgnomemenu doesn't handle them
it's maybe an optional part of the standard ...
we could request that to the devs of libgnomemenu

matttbe, Sunday 22 September 2013 à 12:45


Subscription date : 24 January 2009
Messages : 12573
I guess it's time to stop improving it but here is the last feature



What do you think about that? Is it maybe too much information? Is the menu not too big? Should we limit the number of items? (e.g. when I press 'g', there are many apps in the list)
Note that it's possible to disable this new feature from the config panel.

lylambda, Monday 23 September 2013 à 13:12


Subscription date : 06 September 2009
Messages : 1635
I think this last feature is a good idea : when we don't remember a software name, use a key-word is useful in the search mode .

matttbe, Monday 23 September 2013 à 14:46


Subscription date : 24 January 2009
Messages : 12573
when we don't remember a software name, use a key-word is useful in the search mode
I just add the short description in the menu but the dock was already looking in this description to add items in this menu

lylambda, Monday 23 September 2013 à 19:02


Subscription date : 06 September 2009
Messages : 1635
Oops ! My mistake… I prefer with the description. Maybe other one have a different opinion.

taiebot65, Monday 23 September 2013 à 21:42


Subscription date : 26 October 2008
Messages : 1904
Is it a bug if i type browser it does not show me neither chromium or firefox?

Brow shows me firefox but never chromium.

Strange

matttbe, Monday 23 September 2013 à 23:02


Subscription date : 24 January 2009
Messages : 12573
It depends of the descriptions and the titles (and if your system is in French, you'll have to search 'Navigateur', 'browser' will not work)

taiebot65, Tuesday 24 September 2013 à 00:08


Subscription date : 26 October 2008
Messages : 1904
I am in full english no french so a browser is what i should expect for browsing the internet. The names given are firefox web browser and chromium web browser. I would expect browser to work but it does not show me those results.

The same for Pidgin internet messenger, If i type messenger the results is not showed?
Is it because in the name there is three words and the search is done on two words?

Its not a major bug anyway. Like it.

fabounet, Tuesday 24 September 2013 à 16:13


Subscription date : 30 November 2007
Messages : 17118
Splendid !

I was afraid we would have some glitches and bad resizing/placement of the GTK menu, but it's just perfect (and displaying the info is a good idea)

no problem for me when searching "navigateur" or "message"

matttbe, Tuesday 24 September 2013 à 18:56


Subscription date : 24 January 2009
Messages : 12573
Is it because in the name there is three words and the search is done on two words?
No, it's because the we only compared only the start of the strings
It should be fixed now (rev 2959).
So what we do now:
  • command: we compare the first chars ('transmission')
  • name: idem ('Transmission')
  • display name: if there is one or two chars, we compare the first chars ('BiTorrent Client Transmission') else, we look inside the string ('BiTorrent Client Transmission')
  • description: if there is more than two chars, we look inside the string ('Download and share files over BiTorrent')


Splendid !

I was afraid we would have some glitches and bad resizing/placement of the GTK menu, but it's just perfect (and displaying the info is a good idea)
Thank you
(now in the search results, the 'display name' is displayed instead of the 'name' but most of the time it's the same but not all the time. e.g. with Transmission (BiTorrent Client Tranmission), Rhythmbox (Rhythmbox Music Player), etc.)

matttbe, Wednesday 25 September 2013 à 09:46


Subscription date : 24 January 2009
Messages : 12573
@lylambda: About your problem with XFCE, I just added a new comment there: bg_topic.php?t=7193&pos=0#mess_81001

Git Version | Version Git

Subjects Author Language Messages Last message
[Locked] GMenu: search box: new design
matttbe English 19 matttbe [Read]
25 September 2013 à 09:46


Glx-Dock / Cairo-Dock List of forums Git Version | Version Git GMenu: search box: new design Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.