Dash-to-panel: Missing right-click actions

Created on 15 Mar 2017  路  11Comments  路  Source: home-sweet-gnome/dash-to-panel

Since version 7, some specific actions are missing when right-clicking on application icons in the taskbar. There usually a Show details action when gnome-software is installed, to show the app in gnome-software. And the other actions are custom ones introduced with an extension I'm maintaining, gnome-optirun, which adds actions to launch applications using the discrete graphics card on optimus-enabled laptops. (EDIT: actually the screenshot I am using for this extension even features dash-to-panel in it)

I think this commit probably introduced this, at least its title sounds like it could have something to do with it. How exactly do you manage application actions in the extension now ? It looks like it's somehow overriding existing app actions completely.

I'd be willing to patch my extension to fix this if there was a way, but that could still pose a problem if another extension did the same...

bug

All 11 comments

It was this commit: b0bf33021918a252ba6dd6783b53d63ad166706a

I added the items from the application menu of native gnome apps into the menu. I removed Show Details because it seems like a waste of space. I didn't account for other extensions possibly adding new menu items in.

In my override of _redisplay() I can call super method and add/remove/move items afterward so your extension will work again.

Show details didn't seem like a waste of space to me... Would it be possible to add an option to show/hide it ?

@LaurentTreguier It's still available from the full apps list. It just opens the app in gnome software. Is there any reason to do that after the app is installed?

@jderose9 I just like having a shortcut to quickly see info about an app. I can totally do without it, but you can't always know when someone wants a feature or not, this is why I thought cutting it out was weird.

Show details in the menu was a bit silly imho. Better off without it.

I do use it now and then to see which version of some software I have... A simple switch that is turned off by default would probably do the job

I agree, actually tried using it for that purpose myself recently.

@LaurentTreguier I'll add the config option for Show Details soon, but can you see if your extension is working properly now? Thanks!

@jderose9 just tried out master. I have no idea how you did it exactly, but everything works perfectly regardless of which extension is enabled first, and everything falls back to normal regardless of which extension is disabled first. Great work ! 馃帀

The new customization option is there in a submenu under the Fine-tune tab. Do you mind to test? Thanks!

It's working perfectly. I'll update the French translation for these as well

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  5Comments

alex285 picture alex285  路  6Comments

RomanShumikhin picture RomanShumikhin  路  3Comments

ErwinBaeyens picture ErwinBaeyens  路  5Comments

jamesiri picture jamesiri  路  4Comments