That's because it's a search result. It doesn't activate the button in that case, it calls activateResult on the search provider.
On Tue, Sep 25, 2012 at 2:24 PM, Bazon Bloch <bazonbl...@arcor.de> wrote: > Am 25.09.2012 18:01, schrieb Florian Müllner: > >> The 'button-press' event is only used for the context menu, activation >> is handled in response to the 'clicked' event; that event is emitted >> when clicking the StButton (click == button-press + button-release >> using the same mouse button). Typing Return/Enter while the StButton >> has keyboard focus will emulate a click with the left mouse button. >> > The strange thing is: > There is a difference between left click with mouse and hitting the return > key! Just as the user calebtom87 reported here > https://extensions.gnome.org/extension/440/workspace-separation-on-dash/ ... > > If you are interested: Steps to reproduce: > > 1. Install > https://extensions.gnome.org/extension/440/workspace-separation-on-dash/ (if > you're not running Gnome-Shell 3.4 you can try this version with increased > compatibility in metadata.json: > https://dl.dropbox.com/u/12168886/gnome-shell/workspace_separation_on_dash%40bazonbloch.arcor.de.zip > ) > > 2. Open e.g. gedit on first workspace > > 3. Change to second or any other workspace > > 4. Hit super and start typing "gedit" > > 5. (a) Click gedit with your mouse. Result: A new instance of gedit is > opened on your current workspace, just as overwritten by the "workspace > separation on dash" extension. (in function _onActivate(event)) > > 5. (b) Hit Return while gedit is focussed. Result: You are taken back to the > opened instance of gedit on the first workspace, so the overwritten function > in "workspace separation on dash" isn't used. > > So my question, in order to fulfill the user request: > What can I do to make case 5(b) like case 5(a).... > > > thanks > Bazon > > _______________________________________________ > gnome-shell-list mailing list > gnome-shell-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gnome-shell-list -- Jasper _______________________________________________ gnome-shell-list mailing list gnome-shell-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-shell-list