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 671010 - keybindings: add a panel keybinding definition for the screen recorder
keybindings: add a panel keybinding definition for the screen recorder
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
: 673059 684396 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-02-28 21:51 UTC by Cosimo Cecchi
Modified: 2013-05-13 21:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
keybindings: add a panel keybinding definition for the screen recorder (1.67 KB, patch)
2012-02-28 21:51 UTC, Cosimo Cecchi
needs-work Details | Review
display: Add API to set wm_name / wm_keybindings (3.56 KB, patch)
2012-09-13 15:24 UTC, Florian Müllner
committed Details | Review
build: Install keybinding files for control-center (4.72 KB, patch)
2012-09-13 15:25 UTC, Florian Müllner
committed Details | Review

Description Cosimo Cecchi 2012-02-28 21:51:55 UTC
This exposes the keybinding in System Settings and makes the recorder a bit more visible.
Comment 1 Cosimo Cecchi 2012-02-28 21:51:57 UTC
Created attachment 208639 [details] [review]
keybindings: add a panel keybinding definition for the screen recorder
Comment 2 Owen Taylor 2012-03-12 17:30:50 UTC
Review of attachment 208639 [details] [review]:

This keybinding was done in Mutter because we didn't used to have the ability to set up extra keybindings from GNOME Shell - since we have that capability now, I think the keybinding should be moved to GNOME Shell rather than fossilizing it in Mutter via exposed user configuration.
Comment 3 Florian Müllner 2012-09-13 15:24:21 UTC
Created attachment 224231 [details] [review]
display: Add API to set wm_name / wm_keybindings

As plugins can now define their own keyboard shortcuts via
meta_display_add_keybinding(), it makes sense for them to
expose those shortcuts to System Settings, so add some API
to set the properties gnome-control-center uses to pick up
wm keybinding settings.
Comment 4 Florian Müllner 2012-09-13 15:25:19 UTC
Created attachment 224232 [details] [review]
build: Install keybinding files for control-center

As some keybindings are now provided by gnome-shell rather than
mutter, it makes sense to expose those in System Settings.
Comment 5 Jasper St. Pierre (not reading bugmail) 2012-09-13 17:10:39 UTC
Review of attachment 224231 [details] [review]:

::: src/core/display.c
@@ +428,2 @@
 /**
+ * meta_set_wm_name: (skip)

Why (skip)?
Comment 6 Florian Müllner 2012-09-13 17:21:31 UTC
(In reply to comment #5)
> ::: src/core/display.c
> @@ +428,2 @@
>  /**
> + * meta_set_wm_name: (skip)
> 
> Why (skip)?

Because it is useless from introspection - as the comment says, it only has an effect when called before meta_init(), which we call before setting up introspection and passing control over to javascript.
Comment 7 Rui Matos 2012-09-18 10:08:02 UTC
*** Bug 673059 has been marked as a duplicate of this bug. ***
Comment 8 Jasper St. Pierre (not reading bugmail) 2012-09-18 10:10:47 UTC
Review of attachment 224231 [details] [review]:

Makes sense, then.
Comment 9 Jasper St. Pierre (not reading bugmail) 2012-09-18 10:10:52 UTC
Review of attachment 224232 [details] [review]:

Makes sense.
Comment 10 Jasper St. Pierre (not reading bugmail) 2012-09-18 10:13:20 UTC
(In reply to comment #2)
> Review of attachment 208639 [details] [review]:
> 
> This keybinding was done in Mutter because we didn't used to have the ability
> to set up extra keybindings from GNOME Shell - since we have that capability
> now, I think the keybinding should be moved to GNOME Shell rather than
> fossilizing it in Mutter via exposed user configuration.

This was done in https://bugzilla.gnome.org/show_bug.cgi?id=674377
Comment 11 Florian Müllner 2012-09-18 10:54:11 UTC
Comment on attachment 224231 [details] [review]
display: Add API to set wm_name / wm_keybindings

Attachment 224231 [details] pushed as 0593df8 - display: Add API to set wm_name / wm_keybindings
Comment 12 Florian Müllner 2012-09-19 10:08:16 UTC
Attachment 224232 [details] pushed as bafe346 - build: Install keybinding files for control-center

Got string freeze break approval, pushing.
Comment 13 Florian Müllner 2012-09-19 19:07:59 UTC
*** Bug 684396 has been marked as a duplicate of this bug. ***
Comment 14 Vanuan 2013-05-13 21:36:11 UTC
Does this mean that starting from Gnome 3.6, WM_NAME is changed from "Mutter" to "GNOME Shell"?

FYI: This change has broken apps that rely on WM_NAME, e.g. Chrome browser: https://code.google.com/p/chromium/issues/detail?id=239345