Re: Which function is called when an app is selected in AppDisplay by hitting the return key?
- From: Bazon Bloch <bazonbloch arcor de>
- To: gnome-shell-list gnome org
- Subject: Re: Which function is called when an app is selected in AppDisplay by hitting the return key?
- Date: Tue, 25 Sep 2012 20:24:37 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]