-
Notifications
You must be signed in to change notification settings - Fork 757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System Tray applet problem: cannot right click on certain tray icons #4946
Comments
left click to use program options |
This is the thing: certain programs do not respond to left click, and |
Now I have to deploy the program in 2 clicks, first left-click on the icon then I show the window. But if the program has no menu item to show the window, it is not possible to deploy from the system tray. The only way to get it back is disabling the support for the indicators in the “System Settings” -> “General” -> “Enable support for indicators”. |
@repsac-by Ok, I will test that, but what are the downsides of disabling that option? Sorry but I am not familiar with it. |
It works perfectly well, now |
@gilbertohasnofb indicator new type of tray icons. Drawing and processing takes desktop environment. When disabled, the indicators of each application doing it yourself. |
The Indicators are really configurables instead of the old behaviours, and then is possible use the indicators with right click and left click as an option. I know could be a little complex for some people if we have the indicators in the unity desktop way, and as is the unity way and not the cinnamon way, i think this thing need to be configurable, because would affect the custom of the users of cinnamon. There are some improved to the indicators here: Especially, please pay attention to this commit: There are an issue related with open the associate main window when you perform a left click inside the indicator icon, for some indicators. I will try to implement this ability in a better different way, but i can't promise anything yet. Regards. |
@lestcape Thank you, I'm using your improvements. I had a problem with qbittorrent, if you select monochrome icon, it does not appear, although the color icon is displayed. |
@repsac-by yes, probably there are an issue about select the correct icon, but well, I really don't know if what you say is applicable, because one thing is the application-icon and another is the indicator-icon. Are you sure that the icon need to change? |
@lestcape |
I see, but sorry i can not reproduced this issue: |
I rebuilt qbittorrent using qt4 and now all is well. The problem occurs on qt5, which qbittorrent is now the default. |
I don't know where is the correct place to report the issue then. Qt, qbittorrent...? The indicator code can not have a reference to the Qt version, i think. I discover some bugs about tooltips when i test the qBittorrent, so thanks. |
But without your improvements icons are displayed in conjunction with qt5 |
@repsac-by ok, that's probably this: Can you remove this last condition and test it again? |
I removed
restart cinnamon Nothing has changed, no monochrome icon |
I found that the problem in the last commit 233d07f I did git revert and fix it. |
Ok thanks. The last condition is an error anyway. Can you tell me if you see something in your logs files? ~/.xsession-errors and ~/.cinnamon/glass.log |
Only this error. When hover is on indicators.
|
This is causing the problem lestcape@233d07f?diff=unified#diff-05db65ea5625e393ffab82cc7a763e9cR1198 I removed line 1198
and monochrome icon is visible |
@repsac-by yes i see the same. I will need to get an St.Icon instead of a Clutter.Actor here: lestcape@233d07f?diff=unified#diff-05db65ea5625e393ffab82cc7a763e9cR1197 |
You can test if now is working. I really not test this, any way thanks. |
Tested, works fine. Thanks. |
sry i have the same problem with my skype qt icon in the cinnamon systray applet, on right click i get "about" and "remove this applet" what can i do to change this? |
@ikuria you need to merge master and lestcape-patch-1 |
hmm sadly i dont know how to do that xD |
Strange, my Skype has always worked with the new Systray applet, both before and after disabling the support for the indicators. |
gilbertohasnofb do you use skype with sni-qt or without? without i have no problems too, but for the qt tray icons we have no right click, - but now we have with this patch i dont know to install xD |
@ikuria Oh sorry, my bad, I didn't understand you were using sni-qt. No, I don't use it. |
@ikuria an easy way without need to know several things is: 1- Create a backup of this files (just in case):
2- sudo gedit /usr/share/cinnamon/js/ui/dbusMenu.js and replace all the file contents for this:
if you want the left click behaviour by this:
or if you want the right click behaviour by this:
4- sudo gedit /usr/share/cinnamon/js/ui/main.js and replace all the file contents for this: 5- sudo gedit /usr/share/cinnamon/applets/[email protected]/applet.js and replace all the file contents for this: 6- Restart cinnamon. If you have some problems and you can not come back, then reinstall cinnamon. Regards. |
thanks for the xmas-gift, worked well |
I update my comment, you need to set:
Also see: The real reason is there: See this: "Activate VOID org.freedesktop.StatusNotifierItem.Activate (INT x, INT y); Asks the status notifier item for activation, this is typically a consequence of user input, such as mouse left click over the graphical representation of the item. The application will perform any task is considered appropriate as an activation request. the x and y parameters are in screen coordinates and is to be considered an hint to the item where to show eventual windows (if any)." As you can read in the reference: "The application will perform any task is considered appropriate as an activation request". What occurs in unity is that they apply a patch in this function to always do what they want. So, this is the reason of this can work ok in unity and not in cinnamon. Any way is working ok with the version of skype that i have. |
Sorry, with skype, there are a focus problem, but the signal is received. I don't know if this is a problem of muffin, or an skype devs decision. |
Also see that same occurs if we used the equivalent option inside the Skype indicator menu. If the Skype windows don't have the focus then nothing happen. |
This title is not saying anything about the issue. Please give a precise and concise description of the problem. Please think of the users that are searching a potential duplicate of the issue they want to report and have to open and read all those "I have a problem" issues. |
Also, I think this issue can be closed, as it was solved for me long time ago (and apparently for other people in this discussion as well). |
I just upgraded from Linux Mint 17.1 to 17.3 today and while the updated OS looks fantastic, I am experiencing a small but annoying problem with the System Tray applet. Now, when I right click on certain tray icons, I am shown a menu list with "About..." and "Remove this applet" instead of the program options. The main affected program for me is Qjackctl, which is a GUI for the audio driver JACK: basically, if I minimize it, I can't really reopen it since you'd normally do that by right clicking.
The text was updated successfully, but these errors were encountered: