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 661484 - [dock] Popup menus don't display
[dock] Popup menus don't display
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: extensions
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-10-11 18:49 UTC by Stefan "psYchotic" Zwanenburg
Modified: 2011-10-12 01:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix dockitem menus (1.03 KB, patch)
2011-10-12 00:35 UTC, Stefan "psYchotic" Zwanenburg
none Details | Review
Fix dockitem menus (1.37 KB, patch)
2011-10-12 01:21 UTC, Stefan "psYchotic" Zwanenburg
none Details | Review
Fix dockitem menus (1.38 KB, patch)
2011-10-12 01:33 UTC, Stefan "psYchotic" Zwanenburg
none Details | Review
Fix dockitem menus (1.45 KB, patch)
2011-10-12 01:47 UTC, Stefan "psYchotic" Zwanenburg
committed Details | Review

Description Stefan "psYchotic" Zwanenburg 2011-10-11 18:49:41 UTC
I have (thanks to information in bug #660952) been able to make the dock visible, however, the menus for each button in the dock doesn't exactly work.

Steps to reproduce:
 1. Apply the patch found in #660952 to get the dock to be visible in gnome-shell-3.2.0
 2. Right click on any button in the dock.

Expected outcome:
A popup menu should appear, with menu items to launch a new window (among others). I'm not sure this ever worked, as 3.2.0 is the first version of gnome-shell I've ever run, but from looking at the extension source, it *should* work.

Actual outcome:
No popup menu appears. And what's more: if the "autohide" function is enabled, upon right-clicking any button in the dock, this feature gets disabled (and rightly so, since we wouldn't want the dock to disappear while we were mucking about in one of the menus it spawned, would we?). Because of this, the dock now won't autohide anymore. The only two workarounds are: update the org.gnome.shell.extensions.dock.autohide dconf key or restart gnome-shell.

If there is any missing information I can possibly provide, let me know!
Comment 1 Stefan "psYchotic" Zwanenburg 2011-10-12 00:35:00 UTC
Created attachment 198828 [details] [review]
Fix dockitem menus

After quite a bit of messing with the source, I was able to figure out what was going on. Please find attached a patch (against current git head of gnome-shell-extensions) to make menus in the dock work again.
Comment 2 Florian Müllner 2011-10-12 00:54:46 UTC
The change looks right, but could you attach a git-format patch[0] instead, please?


[0] https://live.gnome.org/GnomeShell/Development/WorkingWithPatches
Comment 3 Stefan "psYchotic" Zwanenburg 2011-10-12 01:21:51 UTC
Created attachment 198830 [details] [review]
Fix dockitem menus

Is this better?
Comment 4 Stefan "psYchotic" Zwanenburg 2011-10-12 01:33:17 UTC
Created attachment 198831 [details] [review]
Fix dockitem menus
Comment 5 Stefan "psYchotic" Zwanenburg 2011-10-12 01:47:41 UTC
Created attachment 198832 [details] [review]
Fix dockitem menus
Comment 6 Florian Müllner 2011-10-12 01:51:02 UTC
Review of attachment 198832 [details] [review]:

Minor nitpicks:
 - git likes to strip '[foo]' prefixes, so we changed our style to 'foo:'
 - no full stop in subject
Those can be fixed before pushing though, no need to attach another patch version. Thanks again for the patch!